Replies: 4 comments 3 replies
-
Totally understand where you're coming from. Unfortunately, SSE has its own problems, like opening a socket that is then exposed to the internet. Even if bound to Instead, perhaps we could consider transports implementing other types of IPC. Streaming to/from files would probably be the most cross-platform thing, but there are other, platform-specific options too. Would be happy to review contributions if anyone wants to take a stab at adding transports like this into the SDKs! |
Beta Was this translation helpful? Give feedback.
-
Sorry, not sure if this is the best place to ask about SSE - I'm wondering if there's a way of making a tool that streams back tokens? |
Beta Was this translation helpful? Give feedback.
-
But does Claude Desktop suppse SSE? I understand the concer over security. Could be leverage with an Auth token added in config + https, and it's the MCP server side. So, the quest is how to hook Claude Desktop with SSE? As Stdio indeed secure the exchange but makes it 1:1 relation between client:server, while SSE could allow access to central MCP server, wit authentification, that can leverage more data/capabilities. Thanks for your clarification. |
Beta Was this translation helpful? Give feedback.
-
Just discovered https://github.com/supercorp-ai/supergateway it wraps an SSE layer over stdio transport. For sandboxed apps users can use sse servers that they launch on their own (that runs through the gateway). |
Beta Was this translation helpful? Give feedback.
-
I'm looking at integrating MCP with a desktop app. The spec mentions "Clients SHOULD support stdio whenever possible.". The server examples seem to be mostly stdio as well. In the context of a sandboxed desktop app, it's often not practical to launch a server as subprocess because:
Would it be reasonable to relax this restriction and provide both SSE/stdio for the default server examples?
Beta Was this translation helpful? Give feedback.
All reactions