CreateBlogSupport
Log inSign up
Home
Create
  • Authentication
  • Login with Webex
  • AI Assistant for Developers
  • Agentic Apps
  • Bots
  • Embedded Apps
  • Integrations
  • Service Apps
  • Instant Connect
  • Workspace Integrations
  • Bring Your Own Datasource
  • Webex MCP Server
  • Suite Sandbox
  • Contact Center Sandbox
  • Guest to Guest Sandbox
  • Submit Your App
  • Tutorials

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

anchor
MCP_CLIENT_SECRET=your-secret claude mcp add --transport http \
  --client-id your-client-id --client-secret --callback-port 8080 \
  my-server https://mcp.example.com/mcp

The --client-secret flag will prompt you to enter the client secret securely.

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.

Replace with values from your Webex OAuth 2.0 Integration:

  • <server-name> with a descriptive name (e.g., webex)
  • <MCP_SERVER_URL> with the Webex MCP server endpoint URL
  • YOUR_CLIENT_ID with the Client ID
  • PORT with the port matching your registered redirect URI

anchorAuthenticate

anchor

After adding the server, run /mcp inside Claude Code. The server will show as failed with not authenticated status.

  1. Select the server from the list
  2. Choose Authenticate
  3. A browser window will open for you to sign in and grant access
  4. Once authenticated, the server status will update to connected
In This Article
  • OAuth 2.0
  • Authenticate

Connect

Support

Developer Community

Developer Events

Contact Sales

Handy Links

Webex Ambassadors

Webex App Hub

Resources

Open Source Bot Starter Kits

Download Webex

DevNet Learning Labs

Terms of Service

Privacy Policy

Cookie Policy

Trademarks

© 2026 Cisco and/or its affiliates. All rights reserved.