MCP Catalogs
首页

mcp-server-chart vs mcp-api-gateway

并排对比,帮你在这两个 MCP server 之间做选择。

mcp-server-chart
by antvis
mcp-api-gateway
by rflpazini
Stars★ 4,068★ 40
30天用量10,239
综合分8445
官方
分类
AI / LLM 工具开发者工具效率工具
开发者工具api-integrationAI / LLM 工具
实现语言TypeScriptJavaScript
最近提交本月2 个月前

mcp-server-chart · 概述

使用 AntV 生成 26+ 种图表的 TypeScript MCP 服务器,支持多种图表类型和部署方式。

mcp-api-gateway · 概述

通用MCP服务器,可将任何带Swagger/OpenAPI规范的API通过Docker转换为Claude Desktop工具。

mcp-server-chart · 使用场景

  • 数据分析师从数据集中创建可视化报告
  • AI 助手根据用户请求生成自定义图表
  • Web 应用通过 HTTP API 嵌入可视化功能

mcp-api-gateway · 使用场景

  • 将企业API集成到Claude Desktop,无需自定义工具开发
  • 使Claude能够在单个会话中与多个API服务交互
  • 通过Claude中的自然语言提示自动化API交互

mcp-server-chart · 安装

安装

全局安装:

npm install -g @antv/mcp-server-chart

对于桌面应用(如 Claude Desktop、VSCode):

{
  "mcpServers": {
    "mcp-server-chart": {
      "command": "npx",
      "args": ["-y", "@antv/mcp-server-chart"]
    }
  }
}

Windows 系统:

{
  "mcpServers": {
    "mcp-server-chart": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@antv/mcp-server-chart"]
    }
  }
}

mcp-api-gateway · 安装

使用Docker MCP工具包(推荐)

  1. 安装Docker Desktop
  2. 从Docker MCP工具包获取MCP服务器
  3. 添加到你的claude_desktop_config.json中:
{
  "mcpServers": {
    "my-api": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i", "--pull", "always",
        "-e", "API_1_NAME=my-api",
        "-e", "API_1_SWAGGER_URL=https://api.example.com/swagger.json",
        "-e", "API_1_BASE_URL=https://api.example.com/v1",
        "-e", "API_1_HEADER_AUTHORIZATION=Bearer YOUR_TOKEN",
        "rflpazini/mcp-api-gateway:latest"
      ]
    }
  }
}

使用npx

API_1_NAME=my-api \
API_1_SWAGGER_URL=https://api.example.com/swagger.json \
API_1_BASE_URL=https://api.example.com/v1 \
npx mcp-api-gateway
对比内容由 README + GitHub 公开数据自动生成,定期更新。