WW

webexsamples/webex-messaging-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

5 stars 10 forks 品質 64 トレンド 13MIT

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, fetch won’t be present. Tools use fetch to make HTTP calls. To work around this, you can modify the tools to use node-fetch instead. Make sure that node-fetch is installed as a dependency and then import it as fetch into 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:

  1. Visit: https://developer.webex.com/messaging/docs/api/v1/rooms/list-rooms
  2. Login with your email
  3. Copy the new bearer token from your profile
  4. Update environment variable “WEBEX_PUBLIC_WORKSPACE_API_KEY” with new token (remove "Bearer " prefix)

Installation

  1. Clone and install dependencies:

    git clone 
    cd webex-messaging-mcp-server
    npm install
    
  2. Configure environment:

    cp .env.example .env
    # Edit .env with your Webex API token
    
  3. 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
GitHub で README 全文を見る

インストール

docker run -i --rm -e WEBEX_PUBLIC_WORKSPACE_API_KEY -e WEBEX_USER_EMAIL -e WEBEX_API_BASE_URL webex-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "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" } } } }