Webex MCP Server
Cisco Webex MCP server for messages, spaces, teams, people, webhooks and attachments.
Webex MCP scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 40 tools. Filed under Uncategorized. GitHub shows 2 stars. Package registries report about 181 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: 19 of 40 tools barely described, short summary.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "yuryev89-webexmcp": { "command": "npx", "args": [ "-y", "@yuryev89/webex-mcp@0.4.0" ], "env": { "WEBEX_ACCESS_TOKEN": "YOUR_WEBEX_ACCESS_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
WEBEX_ACCESS_TOKENSecret | Optional | Webex bot token. Alternatively, authenticate via Webex OAuth as documented in the README. |
Tools40Tool docs quality grade D
All capabilitiesInvite a person to a space
Add a person to a team
Submit an attachment card action
Send text and/or file attachments to a space or DM
Create a new space
Create a team
Create a webhook
Delete a message
Delete a space
Delete a team
Read a file (max 10 MB): images inline, text paged with offset/maxChars, ZIP/JAR as an entry list
Get attachment action details
About
webex-mcp
Maintainers: see Publishing a release for GitHub Releases and npm setup.
MCP server for Cisco Webex Messaging — connect AI assistants to Webex spaces, messages, and people.
Minimal MCP server that exposes Webex messaging tools over stdio. Works with Cursor, Claude Desktop, Codex, Claude Code, OpenCode, and other MCP clients.
Features
- Full core Webex Messaging API coverage: spaces, messages, memberships, people, teams, webhooks, attachment actions, and file downloads
- Received attachments for agents: images inline, text paged inline, ZIP/JAR listings, and saving any file to local disk
- Search spaces and messages by keyword (client-side scan)
- Direct calls to the Webex REST API over
fetch(no Webex SDK), with rate-limit retries and pagination - OAuth 2.0 Integration login with automatic token refresh
Requirements
- Node.js >= 22
- Webex Bot access token or Webex Integration (OAuth) — developer.webex.com
Quick start
Option A — Bot token
# Run via npx (recommended)
npx -y @yuryev89/webex-mcp@latest --token YOUR_ACCESS_TOKEN
# Or install globally
npm install -g @yuryev89/webex-mcp
webex-mcp --token YOUR_ACCESS_TOKEN
Option B — OAuth Integration
# 1. Set credentials (or use a .env file in your working directory)
export WEBEX_CLIENT_ID="your-client-id"
export WEBEX_CLIENT_SECRET="your-client-secret"
# 2. Authenticate once (opens browser)
npx -y @yuryev89/webex-mcp@latest login
# 3. Start MCP server (reads saved tokens, auto-refreshes)
npx -y @yuryev89/webex-mcp@latest
Cursor configuration
Bot token
{
"mcpServers": {
"webex": {
"command": "bash",
"args": [
"-lc",
"npx -y @yuryev89/webex-mcp@latest --token \"$WEBEX_ACCESS_TOKEN\""
],
"env": {
"WEBEX_ACCESS_TOKEN": "YOUR_BOT_ACCESS_TOKEN"
}
}
}
}
OAuth Integration
{
"mcpServers": {
"webex": {
"command": "npx",
"args": ["-y", "@yuryev89/webex-mcp@latest"],
"env": {
"WEBEX_CLIENT_ID": "YOUR_CLIENT_ID",
"WEBEX_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
}
}
}
}
Run npx -y @yuryev89/webex-mcp@latest login once before starting Cursor (with WEBEX_CLIENT_ID and WEBEX_CLIENT_SECRET set).
Codex configuration
Add one of the following configurations to ~/.codex/config.toml (merge it with any existing configuration).
Bot token
[mcp_servers.webex]
command = "npx"
args = ["-y", "@yuryev89/webex-mcp@latest"]
[mcp_servers.webex.env]
WEBEX_ACCESS_TOKEN = "YOUR_BOT_ACCESS_TOKEN"
OAuth Integration
Complete Option B — OAuth Integration first, then use:
[mcp_servers.webex]
command = "npx"
args = ["-y", "@yuryev89/webex-mcp@latest"]
[mcp_servers.webex.env]
WEBEX_CLIENT_ID = "YOUR_CLIENT_ID"
WEBEX_CLIENT_SECRET = "YOUR_CLIENT_SECRET"
Alternatively, keep credentials in your shell environment and replace the [mcp_servers.webex.env] table with env_vars = ["WEBEX_ACCESS_TOKEN"] inside [mcp_servers.webex] (or ["WEBEX_CLIENT_ID", "WEBEX_CLIENT_SECRET"] for OAuth). Start Codex from that shell.
Run codex mcp list to verify registration, then use /mcp in Codex to inspect the active server.
Reference: Codex MCP documentation.
Claude Code configuration
The following commands register Webex for your user account across projects. Choose one authentication mode.
Bot token
claude mcp add --scope user \
--env WEBEX_ACCESS_TOKEN=YOUR_BOT_ACCESS_TOKEN \
--transport stdio webex -- npx -y @yuryev89/webex-mcp@latest
OAuth Integration
Complete Option B — OAuth Integration first, then register:
claude mcp add --scope user \
--env WEBEX_CLIENT_ID=YOUR_CLIENT_ID \
--env WEBEX_CLIENT_SECRET=YOUR_CLIENT_SECRET \
--transport stdio webex -- npx -y @yuryev89/webex-mcp@latest
Run claude mcp list or claude mcp get webex to check the connection. Inside Claude Code, use /mcp to inspect status and tools. To switch modes, remove the existing entry with claude mcp remove --scope user webex, then register it again.
Reference: Claude Code MCP documentation.
OpenCode configuration
Merge one of these examples into opencode.json in your project, or ~/.config/opencode/opencode.json for all projects.
Bot token
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"webex": {
"type": "local",
"command": ["npx", "-y", "@yuryev89/webex-mcp@latest"],
"enabled": true,
"environment": {
"WEBEX_ACCESS_TOKEN": "{env:WEBEX_ACCESS_TOKEN}"
}
}
}
}
Set WEBEX_ACCESS_TOKEN in your environment before launching OpenCode; {env:...} reads that variable.
OAuth Integration
Complete Option B — OAuth Integration first, then use:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"webex": {
"type": "local",
"command": ["npx", "-y", "@yuryev89/webex-mcp@latest"],
"enabled": true,
"environment": {
"WEBEX_CLIENT_ID": "{env:WEBEX_CLIENT_ID}",
"WEBEX_CLIENT_SECRET": "{env:WEBEX_CLIENT_SECRET}"
}
}
}
}
Keep WEBEX_CLIENT_ID and WEBEX_CLIENT_SECRET exported when launching OpenCode. Run opencode mcp list to check the server.
References: OpenCode MCP documentation and configuration.
Client setup notes
- Each client starts the server as a local stdio process; no separate server terminal or HTTP URL is needed.
- OAuth login is handled by
npx -y @yuryev89/webex-mcp@latest login. Run it under the same OS user and token-store configuration as the client. Client-native MCP OAuth login commands do not replace this step. - For OAuth, remove
WEBEX_ACCESS_TOKENfrom the client configuration, inherited environment, and any loaded.env: a static token takes precedence over saved OAuth tokens. - Replace credential placeholders locally. Keep real credentials out of version control; CLI arguments may also be retained in shell history.
- Ensure Node.js and
npxare available to the client, then restart it after configuration changes. - Try: "Use Webex to list my spaces." For a message search, identify a space first;
webex_search_messagessearches one space at a time.
CLI options
| Option / Command | Description | Default |
|---|---|---|
--token | Webex access token (Bot mode) | $WEBEX_ACCESS_TOKEN |
--fedramp | Use FedRAMP endpoint | false |
--debug | Log startup to stderr | false |
login | OAuth browser login, save tokens | — |
logout | Remove stored OAuth tokens | — |
auth-status | Show OAuth expiry metadata | — |
Tools
Spaces
| Tool | Description |
|---|---|
webex_list_spaces | List spaces (rooms) for the authenticated user |
webex_search_spaces | Search spaces by title/name (case-insensitive) |
webex_get_space | Get space details by ID |
webex_create_space | Create a new space |
webex_update_space | Update a space |
webex_delete_space | Delete a space |
webex_get_space_meeting_info | Get meeting details for a space |
Messages
| Tool | Description |
|---|---|
webex_get_messages | List messages in a space or get one by ID (includeFileDetails adds attachment names/types/sizes); optional compact output |
webex_search_messages | Keyword search within a single space; optional compact output |
webex_get_thread_context | Get a thread root plus up to 500 replies using a root or reply ID |
webex_create_message | Send text and/or file attachments to a space or DM |
webex_update_message | Update an existing message |
webex_delete_message | Delete a message |
webex_list_direct_messages | List messages in a 1:1 direct room (includeFileDetails as above) |
webex_create_attachment_action | Submit an attachment card action |
webex_get_attachment_action | Get attachment action details |
Compact responses and thread context
For webex_get_messages, webex_search_messages, webex_list_direct_messages,
and webex_get_thread_context, set outputMode: "compact" to minimize JSON
and return one message text representation instead of both text and markdown.
The default outputMode: "full" preserves existing output for current clients.
maxTextChars (100–10,000, default 1,200) bounds text per message when
compact. Truncated text is flagged with textTruncated and originalChars.
Compact output replaces attachment URLs with counts and, when
includeFileDetails is enabled, attachment metadata. Use full mode for
download URLs or unabridged text.
webex_get_thread_context accepts roomId, messageId (root or reply),
and maxReplies (default 100, max 500). It resolves the root, collects
thread replies over multiple Webex pages and returns hasMore if the
result was capped. Thread access is restricted to the supplied space.
Sending file attachments
Use webex_create_message with files for publicly accessible HTTP(S) URLs:
{
"roomId": "SPACE_ID",
"text": "Here is the report",
"files": ["https://example.com/report.pdf"]
}
For a local file, use filePath instead. The server uploads its contents using
multipart; the file must be on the machine running the MCP server, with an
absolute path and a size of at most 100 MB:
{
"toPersonEmail": "colleague@example.com",
"filePath": "/absolute/path/to/report.pdf"
}
On Windows, use an absolute Windows path such as C:\\Reports\\report.pdf.
Text and markdown are optional when attaching a file. files must be nonempty
and cannot be combined with filePath. Recipient fields (roomId, toPersonId,
toPersonEmail) and parentId for thread replies work as with text messages.
URL downloads and attachment limits are enforced by Webex; private URLs requiring
additional credentials cannot be used as public file URLs. See the
Webex attachment guide.
Files
| Tool | Description |
|---|---|
webex_get_file_details | Metadata (filename, type, size) for a message files[] URL |
webex_download_file | Read a file (max 10 MB): images inline, text paged with offset/maxChars, ZIP/JAR as an entry list |
webex_get_message_images | Download all image attachments on a message for LLM vision |
webex_save_file | Save one file to local disk (max 100 MB) and return its path |
webex_save_message_files | Save every file of a message to local disk |
Reading received attachments
What webex_download_file returns depends on the file:
| File | Result |
|---|---|
| PNG, JPEG, GIF, WebP | Inline ImageContent |
Text: text/*, JSON, XML, SQL, diff/patch, source code | JSON summary (totalChars, nextOffset, …) + the text, maxChars per call (default 50 000) |
| ZIP, JAR, WAR, EAR | List of entries (name, size, encrypted); nothing is extracted |
| Anything else (PDF, docx, xlsx, …) | Metadata and a hint to use webex_save_file |
For PDF and Office documents, save the file and open it with the client's own tools
(many agents read PDFs and images directly; use a script for docx/xlsx). Saved files go to
<download dir>/<message-uuid>/<filename>, where the download dir is WEBEX_DOWNLOAD_DIR
or ~/.cache/webex-mcp/downloads. Names are taken from Webex, decoded and made safe for
the file system; saving again replaces the file, and webex_save_message_files adds
(1) to same-named files of one message. The body streams to <name>.part and is renamed
only when complete. Treat saved files as untrusted input: open or list them, never run them.
If Webex is still virus-scanning a file it answers 423 Locked; downloads wait for
Retry-After (up to 10 s) and retry three times before failing.
Memberships
| Tool | Description |
|---|---|
webex_list_memberships | List space memberships |
webex_get_membership | Get membership details |
webex_add_membership | Invite a person to a space |
webex_update_membership | Update membership (e.g. moderator) |
webex_remove_membership | Remove a person from a space |
People
| Tool | Description |
|---|---|
webex_get_people | Search people by email, name, or ID |
webex_get_person | Get a person by ID (use me for yourself) |
Teams
| Tool | Description |
|---|---|
webex_list_teams | List teams |
webex_create_team | Create a team |
webex_get_team | Get team details |
webex_update_team | Update a team |
webex_delete_team | Delete a team |
webex_list_team_memberships | List team memberships |
webex_add_team_membership | Add a person to a team |
webex_get_team_membership | Get team membership details |
webex_update_team_membership | Update team membership |
webex_remove_team_membership | Remove a person from a team |
Webhooks
| Tool | Description |
|---|---|
webex_list_webhooks | List webhooks |
webex_create_webhook | Create a webhook |
webex_get_webhook | Get webhook details |
webex_update_webhook | Update a webhook |
webex_delete_webhook | Delete a webhook |
Limitations
webex_search_messagesworks within a single space only (Webex REST API has no global search)- Search scans message history page by page — may be slow in large spaces
- Bot must be a member of a space to read or post messages
- OAuth uses user-delegated tokens; Bot mode uses a long-lived Bot token
- Message
files[]URLs require the access token; usewebex_get_message_images/webex_download_file/webex_save_fileinstead of fetching the URL directly - Inline vision images are limited to PNG, JPEG, GIF, and WebP, max 10 MB each; inline text and archive listings are also limited to 10 MB
- PDF and Office documents are not parsed by the server; save them and open them locally
- ZIP64 archives cannot be listed inline; save them instead
Authentication modes
| Mode | Setup | Best for |
|---|---|---|
| Bot token | Copy token from developer portal | Simple Cursor setup, bot identity |
| OAuth Integration | webex-mcp login + client ID/secret | User-delegated access with auto-refresh |
Full guide
See docs/HOWTO.md for step-by-step setup: bot creation, scopes, Cursor config, example prompts, and troubleshooting.
Local development
git clone https://github.com/yuryev89/webexmcp
cd webexmcp
npm install
cp .env.example .env
npm run dev -- --token "$WEBEX_ACCESS_TOKEN"
npm test
License
MIT
Frequently asked questions
What is Webex MCP Server?
Cisco Webex MCP server for messages, spaces, teams, people, webhooks and attachments.
How do I install Webex MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Webex MCP Server runs locally from the npm package @yuryev89/webex-mcp with the command npx -y @yuryev89/webex-mcp@0.4.0.
Is Webex MCP Server free and open source?
Yes. Webex MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Webex MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Webex MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Webex MCP Server provide?
Webex MCP Server provides 40 tools, including webex_add_membership, webex_add_team_membership, webex_create_attachment_action, and webex_create_message. See the full tool list for descriptions and parameters.
How is Webex MCP Server's trust score calculated?
Webex MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.