Connect an MCP client
Switchboard exposes its own Streamable HTTP MCP server at your instance URL plus /mcp. You need a running Switchboard, a working GitHub connection and an MCP client that can reach your instance.
Add your instance
For Claude Code, use this maintained HTTP recipe, substituting your instance URL:
claude mcp add --transport http switchboard http://127.0.0.1:8770/mcp
Open Claude Code’s /mcp menu, select Switchboard and authenticate. Sign in to your Switchboard account in the browser. On the consent page, share only github-demo for this walkthrough. For a remote client, use your server’s reachable HTTPS URL; loopback refers to the machine running the client.
The public documentation domain is not an MCP server. Use your own instance’s URL.
If your client uses a bearer token, create a connection-limited token under API tokens, allow only the demo connection, and set it privately in your local shell:
claude mcp add --transport http switchboard \
http://127.0.0.1:8770/mcp \
--header "Authorization: Bearer $SWITCHBOARD_TOKEN"
Use a dedicated token for each client. Revoke it under API tokens when no longer needed. OAuth tokens issued for MCP are bound to the MCP endpoint; they cannot be used as general proxy API tokens.
Verify a read
- Ask the client to run
list_connections. Expectgithub-demowith an ID and service information. Connections you did not grant should be absent. - Ask: “Using Switchboard, make a GET request to
/userongithub-demo. Do not modify anything.” The client can usecall, passing the connection ID or name, method GET and URL/user. - Confirm the returned GitHub login matches your earlier console result.
- In Switchboard Activity, find the request with source MCP, the demo connection, method GET and a successful status. Credentials should be masked.
Tools also include search_operations, get_operation, call_operation and saved-call tools. Use API discovery for unfamiliar operations rather than inventing arguments.
Troubleshoot the connection
If initialization fails, check /mcp is present at the end of the URL and that the client can reach the server. For a client on another computer, 127.0.0.1 points to that computer. Check your HTTPS reverse proxy supports Streamable HTTP.
If list_connections is empty, repeat sign-in and consent with the intended connection, or review the API token’s allowed connections. A successful MCP connection alone does not grant GitHub access. For a 401 or 403 from GitHub, verify the service connection in Console first.
Maintained Switchboard MCP guide · Claude Code MCP documentation