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