mcp-server-chart

v1.0.0
io.github.antvis/mcp-server-chart Checked 3 hours ago Published 1 year ago

A Model Context Protocol server for generating charts using AntV.

Values you need

VariableWhat it is
VIS_REQUEST_SERVERoptional Custom chart generation service URL for private deployment Default: https://antv-studio.alipay.com/api/gpt-vis
SERVICE_IDoptional secret Service identifier for chart generation records
DISABLED_TOOLSoptional 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.1
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. 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, ….
  4. 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