logoalt Hacker News

joshstrangelast Wednesday at 6:55 PM3 repliesview on HN

This looks awesome! Quick question, are there plans to support SSE MCP servers? I see Stdio [0] are supported and I can always run a proxy but SSE would be awesome.

[0] https://mastra.ai/docs/reference/tools/client


Replies

nilslicelast Wednesday at 7:49 PM

we have a tutorial that covers this!

https://docs.mcp.run/tutorials/mcpx-mastra-ts

you don't even need to use SSE, as mcp.run brings the tools directly to your agent, in-process, as secure wasm modules.

mcp.run does have SSE support for all its servlet tools in the registry though too.

tybaalast Wednesday at 10:24 PM

Added support in this PR https://github.com/mastra-ai/mastra/pull/1957! Isn't shipped just yet but will be soon

tybaalast Wednesday at 7:17 PM

Hey! Glad to hear you're excited about it! Yes, we're currently working on improving our MCP support in general - we'll have more to share soon, but part of that is supporting SSE servers directly

show 1 reply