
Webex MCP
io.github.yuryev89由 GitHub 账号 yuryev89 发布v0.3.0更新于 Nov 6, 2026
Cisco Webex MCP server for messages, spaces, teams, people, webhooks and attachments.
概览
本地 MCP 服务器,将 AI 助手接入 Cisco Webex Messaging,用于管理空间、消息、成员、团队、人员、Webhook 和附件。
- 可以做什么
- 列出、搜索、创建、更新和删除空间,并查看空间会议信息
- 读取、搜索、发送、更新和删除消息,包括单聊、线程回复和附件卡片操作
- 列出、添加、更新和移除空间与团队成员;列出、创建、更新和删除团队
- 按邮箱、姓名或 ID 查询人员
- 列出、创建、更新和删除 Webhook
- 查看、下载、保存和读取收到的附件:图片内联显示、文本分页读取、ZIP/JAR 条目列表、文件保存到本地磁盘
- 适用场景
- 适合希望助手直接在 Webex 中工作的场景:汇总或搜索某个空间的消息、起草并发送回复、管理空间成员与团队,或提取消息中的附件进行查看。
- 运行要求
- 通过 npm 包 @yuryev89/webex-mcp 以 stdio 在本地运行,需要 Node.js 18 或更高版本及 npx。需要 Webex 机器人访问令牌(WEBEX_ACCESS_TOKEN 或 --token 参数),或使用 Webex Integration 的 WEBEX_CLIENT_ID 与 WEBEX_CLIENT_SECRET 并完成一次浏览器登录。需要访问 Webex 的网络;机器人必须是空间成员才能读取或发送消息。
安装
在 SourceWeft 中
- 打开 控制台中的 Webex MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
webex-mcp
Maintainers: see Publishing a release for GitHub Releases and npm setup.
[npm version] [npm downloads] [license]
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)
- Bearer token authentication via
webex-nodeSDK with REST fallback for select endpoints - OAuth 2.0 Integration login with automatic token refresh
Requirements
- Node.js >= 18
- Webex Bot access token or Webex Integration (OAuth) — developer.webex.com
Quick start
Option A — Bot token
Option B — OAuth Integration
Cursor configuration
Bot token
OAuth Integration
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
OAuth Integration
Complete Option B — OAuth Integration first, then use:
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
OAuth Integration
Complete Option B — OAuth Integration first, then register:
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
Set WEBEX_ACCESS_TOKEN in your environment before launching OpenCode; {env:...} reads that variable.
OAuth Integration
Complete Option B — OAuth Integration first, then use:
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
Tools
Spaces
Messages
Sending file attachments
Use webex_create_message with files for publicly accessible HTTP(S) URLs:
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:
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
Reading received attachments
What webex_download_file returns depends on the 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
People
Teams
Webhooks
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
Full guide
See docs/HOWTO.md for step-by-step setup: bot creation, scopes, Cursor config, example prompts, and troubleshooting.
Local development
License
MIT
来源:README.md,提交 3da990a
工具
0版本历史
1- v0.3.0最新Nov 6, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分