v3.9.0 β Remote MCP servers (HTTP)
Connect hosted MCP servers, not just local ones.
Added
- Remote MCP over Streamable HTTP β point
/mcp addat a URL:Handles JSON and SSE responses and reuses the server's session id across calls./mcp add linear https://mcp.linear.app/mcp --bearer env:LINEAR_TOKEN /mcp add api https://example.com/mcp --header "X-Api-Key:abc123" - Token / header auth:
--bearer/--tokenand repeatable--header K:V; values supportenv:VARandfile:PATHso secrets aren't typed inline. /mcp listshows each server's transport ([http]/[stdio]). Remote tools work with lazy mode too.
Notes
- Interactive OAuth login (browser PKCE) is the next increment; this release covers the static-token auth most hosted MCP servers use today.
Tests
- A real in-process HTTP MCP server end-to-end (start, tool call, session reuse, routing) plus SSE/error/auth tests. 397 total; ruff + CI green.