The gateway endpoint
Each gateway is served at:x-api-key header. The endpoint speaks stateless Streamable HTTP (JSON responses, no sessions, no SSE). Example MCP client configuration for Claude Code:
gateways servers auth; static authentication headers are not yet supported.
gateways ls
List gateways, sorted by name.gateways get
Show gateway details, or a single server’s details. Each server is live-probed and theAuth column shows two independent facts — whether OAuth credentials are stored, and whether the upstream is reachable:
| Auth value | Meaning |
|---|---|
authorized | OAuth credentials stored and accepted by the upstream |
authorized (unreachable) | credentials stored, but the upstream is currently down |
unauthenticated | the upstream requires OAuth — run gateways servers auth |
unreachable | the upstream did not respond |
-- | no authentication required (or server disabled) |
gateways new
Create a new, empty gateway. Fails if the name is already taken.gateways rm
Delete a gateway. Clients using its endpoint stop working immediately.gateways servers add
Add an HTTP MCP server to a gateway.gateways servers auth
Authenticate an OAuth-protected upstream server. Opens your browser for the provider’s consent screen; once you approve, the CLI reports success and the gateway starts attaching the credentials to that server’s requests. Tokens are stored encrypted and refreshed automatically.auth after a URL change.
gateways servers deauth
Remove a server’s stored OAuth credentials (log out). The server shows asunauthenticated again until you re-run auth.
gateways servers remove
Remove a server from a gateway by name.gateways servers update
Update a server’s attributes with repeatable-a key=value flags.
tools.* attribute replaces the whole tools config — for example, setting tools.prefix clears a previously set tools.include.
Without a server name, update changes the gateway itself:
gateways registry ls
List the curated MCP server registry — vetted remote MCP servers you can add to a gateway. Shows each entry’s endpoint URL, authentication method, and tool count.gateways registry get
Show a registry entry’s details, including its full tool list (with the date the list was last verified).gateways servers add, then authenticate:
gateways servers auth uses OAuth dynamic client registration, which Linear and Sentry support but Slack does not (Slack requires a pre-registered Slack app). Check an entry’s readme (gateways registry readme <entryName>) for per-server auth caveats.