MCP Catalogs
首页

mcp-server-chart vs hasmcp-ce

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

mcp-server-chart
by antvis
hasmcp-ce
by hasmcp
Stars★ 4,068★ 27
30天用量10,239
综合分8440
官方
分类
AI / LLM 工具开发者工具效率工具
开发者工具api-integration运维基建
实现语言TypeScriptGo
最近提交本月4 个月前

mcp-server-chart · 概述

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

hasmcp-ce · 概述

HasMCP-CE 无需编写代码即可将 API 端点转换为 MCP 服务器。

mcp-server-chart · 使用场景

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

hasmcp-ce · 使用场景

  • 将现有的 REST API 端点转换为 MCP 服务器,以便与 AI 模型集成
  • 为内部 API 创建 MCP 服务器,而无需编写自定义 MCP 实现
  • 管理多个作为 MCP 工具的 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"]
    }
  }
}

hasmcp-ce · 安装

安装

使用 Docker(推荐)

  1. 创建目录:
mkdir hasmcp
cd hasmcp
mkdir -p _certs _storage
chmod 0777 _certs _storage
  1. 下载环境文件:
wget https://github.com/hasmcp/hasmcp-ce/blob/main/backend/cmd/server/.env.example -O .env
  1. 使用 Docker 运行:
docker stop hasmcp-ce || true; \
  docker rm hasmcp-ce || true; \
  docker image prune -f; \
  docker pull hasmcp/hasmcp-ce:latest; \
  docker run --env-file .env -p 80:80 -p 443:443 --name hasmcp-ce \
    -v ./_certs:/_certs \
    -v ./_storage:/_storage \
    -d --restart always hasmcp/hasmcp-ce:latest

Claude Desktop 配置

添加到 Claude Desktop config.json:

{
  "mcpServers": {
    "hasmcp": {
      "command": "docker",
      "args": ["run", "--rm", "hasmcp/hasmcp-ce:latest"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。