Skip to main content
Glama
tekgourou
by tekgourou

Webex Teams MCP Server

A Model Context Protocol (MCP) server that enables Claude Desktop to interact with Cisco Webex Teams. Send messages, manage spaces, and automate team collaboration directly from Claude.

License Python

✨ Features

  • πŸš€ 11 Powerful Tools for complete Webex Teams integration

  • πŸ’¬ Messaging: Send, retrieve, and delete messages with Markdown support

  • πŸ‘₯ Space Management: Create, search, and manage team spaces

  • 🀝 People Management: Add members, list participants, and get user details

  • πŸ”’ Secure: Uses official Webex Teams API with bot tokens

  • ⚑ Async: Built with async/await for optimal performance

Related MCP server: Webex Messaging MCP Server

πŸ“‹ Prerequisites

  • Python 3.10+ installed

  • Webex Teams Account (free at https://www.webex.com/)

  • Webex Bot Token or Personal Access Token

  • Claude Desktop installed

πŸš€ Quick Start

1. Get a Webex Bot Token

Option A: Create a Bot (Recommended for production)

  1. Go to https://developer.webex.com/my-apps/new/bot

  2. Fill in bot details and create the bot

  3. Copy the Bot Access Token immediately (you won't see it again!)

  4. Add the bot to your Webex spaces

Option B: Personal Access Token (For testing only)

  1. Go to https://developer.webex.com/docs/getting-started

  2. Your token is displayed after logging in

  3. ⚠️ Warning: Personal tokens expire after 12 hours

2. Install

# Clone the repository
git clone https://github.com/YOUR_USERNAME/webex-mcp-server.git
cd webex-mcp-server

# Create and activate virtual environment (recommended)
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

3. Configure Claude Desktop

Edit your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this configuration:

{
  "mcpServers": {
    "webex": {
      "command": "/FULL/PATH/TO/venv/bin/python",
      "args": [
        "/FULL/PATH/TO/webex-mcp-server/src/webex_mcp_server.py"
      ],
      "env": {
        "WEBEX_ACCESS_TOKEN": "YOUR_WEBEX_BOT_TOKEN_HERE"
      }
    }
  }
}

Important Notes:

  • Replace /FULL/PATH/TO/ with your actual absolute path

  • Replace YOUR_WEBEX_BOT_TOKEN_HERE with your actual token

  • On macOS, use /venv/bin/python

  • On Windows, use \venv\Scripts\python.exe

4. Restart Claude Desktop

Completely quit and restart Claude Desktop to load the MCP server.

5. Test It!

In Claude Desktop, try:

Can you list my Webex spaces?

You should see your Webex spaces listed! πŸŽ‰

πŸ› οΈ Available Tools

Messaging

  • send_message - Send text or Markdown messages to spaces

  • get_messages - Retrieve conversation history

  • delete_message - Remove messages (with permissions)

Space Management

  • list_spaces - List all accessible spaces

  • get_space_details - Get detailed space information

  • create_space - Create new team spaces

  • search_spaces - Find spaces by name

People Management

  • add_person_to_space - Add members to spaces

  • list_space_members - List all space participants

  • get_person_details - Get user information

  • get_my_details - Get bot/user account info

πŸ’‘ Usage Examples

Send a Message

Send a message to my "Project Alpha" space saying "Meeting starts in 5 minutes!"

Create a Space

Create a new Webex space called "Q1 Planning" and add john@company.com as a member.

Get Space Messages

Show me the last 10 messages from my "Engineering Team" space.

Search for Spaces

Find all my Webex spaces that contain "customer" in the name.

πŸ”§ Advanced Configuration

Multiple MCP Servers

If you have other MCP servers (like Splunk), combine them:

{
  "mcpServers": {
    "webex": {
      "command": "/path/to/venv/bin/python",
      "args": ["/path/to/webex_mcp_server.py"],
      "env": {
        "WEBEX_ACCESS_TOKEN": "YOUR_TOKEN"
      }
    },
    "splunk": {
      "command": "node",
      "args": ["splunk-server.js"]
    }
  }
}

Environment Variables

Instead of putting the token in the config, use environment variables:

{
  "mcpServers": {
    "webex": {
      "command": "/path/to/venv/bin/python",
      "args": ["/path/to/webex_mcp_server.py"],
      "env": {
        "WEBEX_ACCESS_TOKEN": "${WEBEX_TOKEN}"
      }
    }
  }
}

Then set WEBEX_TOKEN in your system environment.

πŸ› Troubleshooting

"Server not found" in Claude Desktop

  1. Check that paths in claude_desktop_config.json are absolute (not relative)

  2. Verify the Python virtual environment path is correct

  3. Restart Claude Desktop completely (quit, don't just close window)

"Authentication failed" errors

  1. Verify your WEBEX_ACCESS_TOKEN is correct

  2. Check that the token hasn't expired (personal tokens expire in 12 hours)

  3. Ensure the bot has been added to spaces you're trying to access

"Permission denied" errors

  1. Bot tokens need to be added to spaces before they can interact

  2. Some operations require moderator permissions

  3. Check bot has necessary scopes in the Webex Developer portal

Connection test

Create a test script:

import os
from webexteamssdk import WebexTeamsAPI

token = os.getenv("WEBEX_ACCESS_TOKEN")
api = WebexTeamsAPI(access_token=token)

# Test connection
me = api.people.me()
print(f"βœ… Connected as: {me.displayName}")

# List spaces
rooms = list(api.rooms.list(max=5))
print(f"βœ… Found {len(rooms)} spaces")

πŸ—οΈ Development

Project Structure

webex-mcp-server/
|── webex_mcp_server.py         # Main MCP server
β”œβ”€β”€ requirements.txt            # Python dependencies
β”œβ”€β”€ README.md                   # This file
β”œβ”€β”€ LICENSE                     # MIT License

Running in Development

# Activate virtual environment
source venv/bin/activate

# Set token
export WEBEX_ACCESS_TOKEN="your_token_here"

# Run server directly
python src/webex_mcp_server.py

Adding New Tools

  1. Define the tool in list_tools()

  2. Create a handler function handle_your_tool(args)

  3. Add the handler to call_tool()

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/AmazingFeature)

  3. Commit your changes (git commit -m 'Add some AmazingFeature')

  4. Push to the branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Resources

πŸ™ Acknowledgments

πŸ“§ Support


Made with ❀️ for the Cisco community

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to interact with Cisco Webex messaging through 52 comprehensive tools covering messages, rooms, teams, people management, webhooks, and enterprise features. Supports both personal and enterprise Webex environments with complete API coverage for messaging operations.
    4
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Enables Claude to interact with DingTalk workspaces to search for users, retrieve detailed employee information, and send private messages. It bridges the Model Context Protocol with DingTalk's internal enterprise APIs for seamless workspace communication.
    8
    5
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables Claude to interact with WhatsApp on macOS through the Model Context Protocol. It allows reading messages, searching contacts, listing chats, and sending replies via natural conversation.
    8
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Drive your real WhatsApp inbox from Claude β€” send, reply, label, assign, and triage via TimelinesAI.

  • Persistent context for Claude. Your AI always knows your projects and next actions across sessions.

  • Connect Claude to Fathom meeting recordings, transcripts, and summaries

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tekgourou/webex_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server