Header Forwarding
Available since Router 0.260.0
headers.SkippedHeaders). This allows you to:
- Leverage all authentication and authorization capabilities of your Cosmo Router
- Pass custom headers for tracing, debugging, or application-specific purposes
- Maintain consistent security and observability across all API consumers
Headers are forwarded through the chain: MCP Client -> MCP Server -> Router -> Subgraphs. The router’s
header forwarding rules determine what ultimately
reaches your subgraphs.
IDE Setup Guides
Cursor
Requires Cursor v0.48.0+ for Streamable HTTP support.
mcp.json file:
headers fields are optional - include only what your setup requires.
Claude Desktop
Requires the latest version of Claude Desktop. Go to Settings > Developer and click on Edit Config. Add the following to theclaude_desktop_config.json file:
Windsurf
Windsurf supports Streamable HTTP servers with aserverUrl field:
VS Code
Click View > Command Palette > MCP: Add Server and use the URLhttp://localhost:5025/mcp to complete the configuration.
For more information, see the VS Code MCP Servers documentation.