Claude Code
Add SealGate to Claude Code with one `claude mcp add` command.
Claude Code connects to SealGate as a remote MCP server over streamable HTTP. You add it once with Claude Code's own claude mcp add command.
The SealGate desktop client configures Claude Code for you. Use this page if you don't run the desktop client, or want to set it up by hand.
Prerequisites
- Claude Code installed (
claude --versionworks in your terminal). - A SealGate account at dashboard.sealgate.ai.
1. Get Your Connection URL
In the dashboard, open Settings, find Api key / MCP URL, click Get MCP URL and pick Claude Code. You get a URL with your API key and the ?client=claude-code tag:
https://mcp.sealgate.ai/mcp/<your-api-key>/?client=claude-codeTreat this URL like a password. The host differs per environment, so always copy it from your own dashboard.
2. Add SealGate
claude mcp add --transport http --scope user sealgate 'https://mcp.sealgate.ai/mcp/<your-api-key>/?client=claude-code'--scope user makes SealGate available in every project. This is the same command the desktop client runs.
Use the keyless URL, so no credential lands in your config:
claude mcp add --transport http --scope user sealgate https://mcp.sealgate.ai/mcpThen start claude, run /mcp, select sealgate and authenticate in the browser. SealGate recognizes Claude Code from its sign-in, so no ?client= tag is needed.
3. Verify
Run claude mcp list and check that sealgate shows as connected. Then ask Claude Code:
Call the sealgate builtin_whoami tool to confirm your connection to the SealGate gateway.The call appears under Sessions in the dashboard.
Troubleshooting
sealgatealready exists: runclaude mcp remove sealgate --scope user, then add it again.- 401 Unauthorized: the API key was rotated or mistyped. Copy a fresh URL from Settings.
- Tools missing in an open session: restart
claudeafter adding the server.