返回市场
webex-MCP服务器

webex-MCP服务器

作者:bharath0632 星标更新:2025-04-23

项目介绍

Webex MCP 服务器

这是一个与 Webex API 集成的 Model Context Protocol (MCP) 服务器的 TypeScript 实现。

预备条件

  • Node.js 16.x 或更高版本
  • NPM 或 yarn
  • Webex 访问令牌

安装

  1. 从 GitHub 克隆仓库
git clone https://github.com/bharath063/webex-mcp
  1. 安装依赖项
npm install
  1. 构建项目
npm run build

构建完成后,会生成一个 dist/index.js 文件。然后可以将此文件配置到 Claude Desktop 和其他应用程序中。有关详细的配置说明,请参阅“使用”部分。 4. (可选)使用 MCP Inspector 测试服务器: 首先,在项目根目录下创建一个 .env 文件,并添加你的 WEBEX_ACCESS_TOKEN:

WEBEX_ACCESS_TOKEN=your_webex_access_token

然后运行以下命令启动 MCP Inspector:

npm run inspect

运行命令后,MCP Inspector 将在 http://localhost:5173(默认端口:5173)可用。在浏览器中打开此 URL 开始测试。

使用

连接到 Claude Desktop 在你的 Claude Desktop 配置文件中添加以下内容(macOS 上位于 ~/Library/Application Support/Claude/claude_desktop_config.json,Windows 上位于 %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "webex": {
      "command": "{{PATH_TO_NODE}}", // 运行 `which node` 并在此处放置输出结果
      "args": ["/absolute/path/to/webex-mcp/dist/index.js"], // 进入仓库,运行 'pwd'
      "env": {
        "WEBEX_ACCESS_TOKEN": "your_webex_access_token"
      }
    }
  }
}

更新配置文件后,需要重启 Claude Desktop。重启后,你应该会在输入框右下角看到一个锤子图标。更多详细信息,请访问 官方 MCP 文档

开发

项目结构

webex-mcp/
├── src/
│   ├── index.ts        # 主服务器入口点
├── package.json
├── tsconfig.json
└── .env.example

许可证

本项目采用 MIT 许可证。详情见 LICENSE 文件。