HTTP (Streamable HTTP)stdio
LatencyNetwork roundtripLocal pipe — <1ms
AuthBearer headerEnv vars / process owner
MountURL + tokenCommand + args + env
Use whenOfficial cloud MCPs (Slack, Linear, GitHub)Local helpers, self-hosted MCPs

HTTP example

{ "type": "http",
  "url":  "https://mcp.linear.app/sse",
  "headers": { "Authorization": "Bearer lin_api_..." } }

stdio example

{ "type": "stdio",
  "command": "npx",
  "args":    ["-y", "@modelcontextprotocol/server-filesystem", "/data"],
  "env":     { "READ_ONLY": "1" } }