MCP SSE Support?

Status Fixed / completed
Maintainer reply ✓ Yes — igorkofman
Activity 10 comments · opened Mar 7, 2025 · closed Mar 26, 2025
💡 Likely answer: A maintainer (igorkofman, collaborator) responded on this thread — see the highlighted reply below.

The current implementation doesn't seem to support SSE servers (or servers with custom transport protocols). Am I missing something, or is this an upcoming update?

View original on GitHub ↗

10 Comments

igorkofman collaborator · 1 year ago

You should be able to claude mcp add-sse

$ claude mcp
Usage: claude mcp [options] [command]

Configure and manage MCP servers

Options:
-h, --help display help for command

Commands:
serve Start the Claude Code MCP server
add-sse [options] <name> <url> Add an SSE server
add [options] [name] [command] [args...] Add a stdio server (run without arguments for interactive
wizard)
remove [options] <name> Remove an MCP server
list List configured MCP servers
get <name> Get details about an MCP server
add-json [options] <name> <json> Add a stdio server with a JSON string
reset-mcprc-choices Reset all approved and rejected .mcprc servers for this
project
help [command] display help for command

theodormarcu · 1 year ago

I tried that, but it looks to be gated to process.env.USER_TYPE === 'ant' (based on de-obfuscated code I've seen) which I can't overwrite myself:

➜  ~ claude -v
0.2.32 (Claude Code)
➜  ~ claude mcp add-sse
error: unknown command 'add-sse'

!Image

@igorkofman

igorkofman collaborator · 1 year ago

My mistake! This is coming soon.

jesselumarie · 1 year ago

Also super interested in this — trying to expose app internals via stdio isn't very ergonomic in my case.

tarasyarema · 1 year ago

+1 on this

ashwin-ant collaborator · 1 year ago

We just rolled out SSE support in 0.2.54. You'll see this in the MCP interactive wizard (claude mcp add) or as a command line option (claude mcp add <server_name> --transport sse <url>). Try that and see if it works for you!

(edited comment to fix the command, thanks @greg-niemeyer)

gswangg · 1 year ago
We just rolled out SSE support in 0.2.54. You'll see this in the MCP interactive wizard (claude mcp add) or as a command line option (claude mcp add --transport sse <url>). Try that and see if it works for you!

nit (for posterity): claude mcp add <server_name> --transport sse <url>

works great, thanks!

also, @ashwin-ant the mcp project just merged https://github.com/modelcontextprotocol/specification/pull/206 which generalizes the SSE transport to streamable HTTP with support for stateless connections. while i realize this is a recent update to the draft spec, i was wondering -- is there any line of sight on your end as to when we might see this in downstream clients like claude code?

ashwin-ant collaborator · 1 year ago

Yep, we're well aware of the MCP updates 😄 we're coordinating on how best to support this, no timeline we can commit to just yet.

mattgodbolt · 1 year ago

Just came here to say I have been going around in circles trying to implement MCP: all the tools I can find give me dire warnings about SSE being deprecated, but claude code only seems to support SSE, right?

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.