
webexsamples/webex-messaging-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to Cisco Webex messaging capabilities.
개요
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to Cisco Webex messaging capabilities. This MCP server enables AI assistants to interact with Webex messaging through 52 different tools covering: - : Send, edit, delete, and retrieve messages - : Create and manage Webex spaces - : Team creation and membership management - : User management and directory operations - : Event notifications and integrations - : ECM folders, room tabs, and attachments - ✅ : 52 tools covering all major messaging operations - ✅ : Production-ready containerization - ✅ : Both STDIO and HTTP (StreamableHTTP) modes - ✅ : Supports Cisco enterprise authentication - ✅ : Full TypeScript/JavaScript implementation with proper error handling - ✅ : Easy token and endpoint management - Node.js 18+ (20+ recommended). Warning: if you run with a lower version of Node, fetch won't be present. Tools use fetch to make HTTP calls.
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"
}
}
}
}