Comment by nilslice
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.