annotation

MCP::Transport

Choose the transport for YourServer.run.

  • type: :stdio, :sse, or :streamable
  • endpoint: the HTTP path for SSE / Streamable (default /sse, /mcp)
  • port: the TCP port (default 8080)