mcp-server-chart vs mcp-streamable-http
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-server-chart by antvis | mcp-streamable-http by invariantlabs-ai | |
|---|---|---|
| Stars | ★ 4,068 | ★ 129 |
| 30天用量 | 10,239 | — |
| 综合分 | 84 | 42 |
| 官方 | — | — |
| 分类 | AI / LLM 工具开发者工具效率工具 | 开发者工具AI / LLM 工具沟通协作 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 12 个月前 |
mcp-server-chart · 概述
使用 AntV 生成 26+ 种图表的 TypeScript MCP 服务器,支持多种图表类型和部署方式。
mcp-streamable-http · 概述
Python 和 TypeScript MCP 服务器示例,实现 Streamable HTTP 协议进行跨语言通信。
mcp-server-chart · 使用场景
- 数据分析师从数据集中创建可视化报告
- AI 助手根据用户请求生成自定义图表
- Web 应用通过 HTTP API 嵌入可视化功能
mcp-streamable-http · 使用场景
- 构建跨语言 MCP 服务器实现
- 创建基于 HTTP 的 MCP 传输层
- 开发天气信息 MCP 服务
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-streamable-http · 安装
安装
Python 示例
git clone https://github.com/invariantlabs-ai/mcp-streamable-http.git
cd python-example/server
pip install .
python weather.pyTypeScript 示例
cd typescript-example/server
npm install && npm run build
node build/index.jsClaude Desktop 集成
添加到 Claude Desktop config.json:
"mcpServers": {
"streamable-http": {
"command": "node",
"args": ["/path/to/build/index.js"],
"env": {
"PORT": "8123"
}
}
}