CTX vs mcp-server-chart
并排对比,帮你在这两个 MCP server 之间做选择。
CTX by Alegau03 | mcp-server-chart by antvis | |
|---|---|---|
| Stars | ★ 122 | ★ 4,068 |
| 30天用量 | — | 10,239 |
| 综合分 | 47 | 84 |
| 官方 | — | — |
| 分类 | 开发者工具AI / LLM 工具效率工具 | AI / LLM 工具开发者工具效率工具 |
| 实现语言 | Rust | TypeScript |
| 最近提交 | 本月 | 本月 |
CTX · 概述
CTX是一个上下文运行时引擎,通过图记忆、紧凑任务包和缓存机制优化AI编码工作流程,减少token浪费。
mcp-server-chart · 概述
使用 AntV 生成 26+ 种图表的 TypeScript MCP 服务器,支持多种图表类型和部署方式。
CTX · 使用场景
- 通过上下文压缩优化OpenCode工作流程,减少token使用
- 在图记忆中管理可重用的代码规则和模式,提高检索效率
- 创建紧凑的任务特定上下文包,减少发送给AI模型的不必要信息
mcp-server-chart · 使用场景
- 数据分析师从数据集中创建可视化报告
- AI 助手根据用户请求生成自定义图表
- Web 应用通过 HTTP API 嵌入可视化功能
CTX · 安装
使用以下方法之一安装CTX:
# 通过Cargo安装
cargo install ctx-cli
# 一行安装器
curl -fsSL https://raw.githubusercontent.com/Alegau03/CTX/main/scripts/install.sh | sh
# 通过npm安装
npm i -g @alegau/ctx-bin
# 通过Homebrew安装
brew tap Alegau03/ctx && brew install ctx要与OpenCode集成:
cd /path/to/your/project
ctx init
ctx index
ctx opencode install
opencode对于Claude Desktop集成,添加到claude_desktop_config.json:
{
"mcpServers": {
"ctx": {
"command": "ctx",
"args": ["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"]
}
}
}