
一个模式上下文协议(MCP)服务器,为AI助手提供综合访问Cisco Webex通讯能力.
概览
一个模式上下文协议(MCP)服务器,为AI助手提供综合访问Cisco Webex通讯能力. 这个MCP服务器使AI助手能够通过52个不同的工具与Webex消息交互,覆盖: - :发送、编辑、删除并检索消息 - :创建和管理Webex空间 - :团队创建和成员管理 - :用户管理和目录操作 - :事件通知和集成 - :企业内容管理文件夹、房间标签和附件 - QQ:52个工具,涵盖所有主要信息传输操作 - : 生产准备容器 - : STDIO和HTTP(StreamableHTTP)模式 - : : 支持思科企业认证 - : : 完全 TypeScript/JavaScript 执行,并妥善处理出错 - : 简单符号和端点管理 - Node.js 18+(建议20+)。 警告: 如果您用更低的节点运行, 抓取将不会存在 。 工具使用抓取让 HTTP 呼叫 .
概述(AI 翻译)
一个模式上下文协议(MCP)服务器,为AI助手提供综合访问Cisco Webex通讯能力.
□ 概览
这个MCP服务器使AI助手能够通过52个不同的工具与Webex消息交互,覆盖:
- ** 信件**:发送、编辑、删除并检索信件
- 房间:创建和管理Webex空间
- 小组: 团队的创建和成员管理
- ** 人员**:用户管理和目录操作
- Webhooks: 事件通知和合并
- 企业特征:企业内容管理系统文件夹、房间标签和附件
□ 特性
- ** 完成Webex API覆盖**:52个工具,涵盖所有主要信息传送业务
- ** Docker Support**:生产准备集装箱化
- 双向运输:STIO和HTTP(StreamableHTTP)两种模式
- 企业准备:支持思科企业认证
- ** 类型安全**:完整类型脚本/Java脚本执行,并妥善处理出错
- ** 中央化配置**: 简单标志和端点管理
□ 快开始
· 先决条件
- Node.js 18+(建议20+)。 警告:如果用更低的节点运行,
fetch就不会出现.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Webex MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to Cisco Webex messaging capabilities.
Overview
This MCP server enables AI assistants to interact with Webex messaging through 52 different tools covering:
- Messages: Send, edit, delete, and retrieve messages
- Rooms: Create and manage Webex spaces
- Teams: Team creation and membership management
- People: User management and directory operations
- Webhooks: Event notifications and integrations
- Enterprise Features: ECM folders, room tabs, and attachments
Features
- ✅ Complete Webex API Coverage: 52 tools covering all major messaging operations
- ✅ Docker Support: Production-ready containerization
- ✅ Dual Transport: Both STDIO and HTTP (StreamableHTTP) modes
- ✅ Enterprise Ready: Supports Cisco enterprise authentication
- ✅ Type Safe: Full TypeScript/JavaScript implementation with proper error handling
- ✅ Centralized Configuration: Easy token and endpoint management
Quick Start
Prerequisites
- Node.js 18+ (20+ recommended). Warning: if you run with a lower version of Node,
fetchwon’t be present. Tools usefetchto make HTTP calls. To work around this, you can modify the tools to usenode-fetchinstead. Make sure thatnode-fetchis installed as a dependency and then import it asfetchinto each tool file. - Docker (optional, for containerized deployment)
- Webex API token from developer.webex.com
Token Renewal
Webex Bearer tokens are short-lived. Your current token expires in 12 hours. To renew:
- Visit: https://developer.webex.com/messaging/docs/api/v1/rooms/list-rooms
- Login with your email
- Copy the new bearer token from your profile
- Update environment variable “WEBEX_PUBLIC_WORKSPACE_API_KEY” with new token (remove "Bearer " prefix)
Installation
-
Clone and install dependencies:
git clone cd webex-messaging-mcp-server npm install -
Configure environment:
cp .env.example .env # Edit .env with your Webex API token -
Test the server:
# List available tools node index.js tools # Discover tools with detailed analysis npm run discover-tools # Start MCP server (STDIO mode - default) node mcpServer.js # Start MCP server (HTTP mode) npm run start:http
🔍 Tool Discovery
The server includes comprehensive tool discovery capabilities:
Tool Discovery Commands
# Human-readable tool analysis
npm run discover-tools
# JSON output for programmatic use
npm run discover-tools -- --json
# Filter tools by category
ENABLED_TOOLS=create_message,list_rooms npm run discover-tools
# Get help
npm run discover-tools -- --help
Tool Manifest
The tools-manifest.json file provides:
- Tool Categories: Messages, Rooms, Teams, Memberships, People, Webhooks, Enterprise
安装
docker run -i --rm -e WEBEX_PUBLIC_WORKSPACE_API_KEY -e WEBEX_USER_EMAIL -e WEBEX_API_BASE_URL webex-mcp-server配置
{
"mcpServers": {
"webex-messaging": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"WEBEX_PUBLIC_WORKSPACE_API_KEY",
"-e",
"WEBEX_USER_EMAIL",
"-e",
"WEBEX_API_BASE_URL",
"webex-mcp-server"
],
"env": {
"WEBEX_USER_EMAIL": "[email protected]",
"WEBEX_API_BASE_URL": "https://webexapis.com/v1",
"WEBEX_PUBLIC_WORKSPACE_API_KEY": "your_token_here"
}
}
}
}