Skip to content
MCP & Plugins Intermediate

MCP with SSE Transport

Connect to a remote MCP server using Server-Sent Events over HTTP

Command

"color:#9CA3AF;font-style:italic"># mcp-config.json
$ {
    "mcpServers": {
      "remote-tools": {
        "url": "http://internal-tools.company.com:3000/sse"
      },
      "modern-api": {
        "url": "http://localhost:3000/mcp",
        "type": "streamable-http"
      }
    }
  }

Response

// SSE: url field instead of command/args
// streamable-http: add type: "streamable-http" for modern transport
// Both for remote/long-running servers

Parsing Code

059669">">// Use SSE/streamable-http when:
059669">">// - Server is already running somewhere (not started by Claude)
059669">">// - Shared team tool server
059669">">// - Remote database proxy
059669">">// Use stdio when:
// - Local tools (filesystem, git, etc.)

Gotchas

! Use SSE for remote servers already running somewhere — stdio for local tools
! streamable-http is the emerging replacement for SSE with better connection handling

Related Recipes