mcp-server-chart
v1.0.0A Model Context Protocol server for generating charts using AntV.
Values you need
| Variable | What it is | |
|---|---|---|
VIS_REQUEST_SERVER | optional | Custom chart generation service URL for private deployment Default: https://antv-studio.alipay.com/api/gpt-vis |
SERVICE_ID | optional secret | Service identifier for chart generation records |
DISABLED_TOOLS | optional | Comma-separated list of tool names to disable |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-server-chart -- npx -y @antv/mcp-server-chart@0.9.0-beta.1Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-server-chart": {
"args": [
"-y",
"@antv/mcp-server-chart@0.9.0-beta.1"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-server-chart": {
"args": [
"-y",
"@antv/mcp-server-chart@0.9.0-beta.1"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp-server-chart": {
"args": [
"-y",
"@antv/mcp-server-chart@0.9.0-beta.1"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-server-chart]
command = "npx"
args = ["-y", "@antv/mcp-server-chart@0.9.0-beta.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: generate_area_chart, generate_bar_chart, generate_boxplot_chart, generate_column_chart, generate_district_map, generate_dual_axes_chart, generate_fishbone_diagram, generate_flow_diagram, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json