Skip to content

Add transport_security settings to FastMCP instance - #184

Open
francoricci wants to merge 1 commit into
crystaldba:mainfrom
francoricci:main
Open

Add transport_security settings to FastMCP instance#184
francoricci wants to merge 1 commit into
crystaldba:mainfrom
francoricci:main

Conversation

@francoricci

Copy link
Copy Markdown

When the transport type is sse or streamable-http, you must include sse_host:sse_port and streamable_http_host:streamable_http_port, respectively, in the allowed_hosts and allowed_origins lists.
This allows the MCP server to configure the published remote endpoint using a canonical hostname.

…rigin headers to sse_host and sse_port

or streamable_http_host and streamable_http_port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant