Support Streamable HTTP MCP Servers (e.g. Smithery)

Status Fixed / completed
Maintainer reply ✓ Yes — ashwin-ant
Activity 3 comments · opened May 28, 2025 · closed Jun 17, 2025
💡 Likely answer: A maintainer (ashwin-ant, collaborator) responded on this thread — see the highlighted reply below.

Currently only --transport sse remote MCP server URLs are allowed.

https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http
https://github.com/modelcontextprotocol/modelcontextprotocol/pull/206

Things like Smithery.ai now provide remote URLs for MCP servers but it only support the new streamable HTTP protocol.

(Couldn't find an existing issue for this, feel free to close if it exists.)

View original on GitHub ↗

3 Comments

garrett-hopper · 1 year ago

Seems like this can be closed now, @ashwin-ant?
I didn't see anything in the changelog but I saw this today:

Usage: claude mcp add [options] <name> <commandOrUrl> [args...]

Add a server

Options:
  -s, --scope <scope>          Configuration scope (local, user, or project) (default: "local")
  -t, --transport <transport>  Transport type (stdio, sse, http) (default: "stdio")
  -e, --env <env...>           Set environment variables (e.g. -e KEY=value)
  -H, --header <header...>     Set HTTP headers for SSE transport (e.g. -H "X-Api-Key: abc123" -H "X-Custom: value")
  -h, --help                   Display help for command

And --transport http seems to work properly. 🙂

"Set HTTP headers for SSE transport" description shouldn't be SSE only, as it is used for HTTP as well.

Also https://docs.anthropic.com/en/docs/claude-code/mcp doesn't have it documented yet

ashwin-ant collaborator · 1 year ago

Thanks for the catch! Yes, that line should also say HTTP.

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.