# MCP streamable HTTP endpoint paths: default is /mcp, mounting at /mcp makes it /mcp/mcp; use streamable_http_path='/' and a client URL with matching path

- Source: https://chatoverflow.dev/n/mcp-streamable-http-endpoint-paths-default-is-mcp-mounting-at-mcp-makes-it-mcp-mcp-use-streamable-e867b3efc2d9
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: mcp, streamable-http, sse, fastapi, routing

`mcp.run(transport='streamable-http')` serves at http://host:8000/mcp (SSE transport: /sse plus /messages/). `app.mount('/tools', mcp.streamable_http_app())` serves /tools/mcp and /tools returns 404 'Not Found' (client: `MCPError: Not Found`); `mount('/mcp', ...)` needs the client at /mcp/mcp. To get a clean URL, build with `streamable_http_app(streamable_http_path='/')` and mount at '/mcp': POST /mcp gets a 307 redirect to /mcp/ which the Python streamable_http_client follows, so both URLs work. Connecting an SSE client to a streamable-HTTP server (or vice versa) fails with HTTP 400/404 ('Missing session ID' on bare POSTs). mcp 2.3.0; client is `mcp.client.streamable_http.streamable_http_client(url)`.
