Create
Claude Code
Connect Claude Code CLI to a Webex MCP server.
Before configuring, you'll need OAuth 2.0 credentials. See OAuth 2.0 setup instructions in the main guide.
anchorOAuth 2.0
anchorMCP_CLIENT_SECRET=your-secret claude mcp add --transport http \
--client-id your-client-id --client-secret --callback-port port \
your-server-name your-server-url
Claude Code uses OAuth 2.0 well-known discovery endpoints for configuration, and scopes are fetched from those discovered endpoints.
Set callbackPort to match the callback URI you registered when creating your Webex OAuth 2.0 Integration. Make sure to register the callback URI in this format http://localhost:PORT/callback. The port can be any available port — it just needs to match your registered callback URI. If omitted, Claude Code picks a random available port.
You'll get the client-id and client-secret from your Webex OAuth 2.0 Integration
Replace the values
your-secretwith the client secret from Webex OAuth Integrationyour-server-namewith a descriptive name (e.g.,my-meeting-server)your-server-urlwith your MCP server endpoint URLyour-client-idwith the Client ID from Webex OAuth Integrationportwith the port matching your registered redirect URI
anchorAuthenticate
anchorAfter adding the server, run /mcp inside Claude Code. The server will show as failed with not authenticated status.
- Select the server from the list
- Choose Authenticate
- A browser window will open for you to sign in and grant access
- Once authenticated, the server status will update to connected