Skip to content
Agent ChartingDevelopers
Documentation Connect with MCP

Connect with MCP

Connect an assistant to chart rendering and analysis through Model Context Protocol.

Connect a local assistant

The stdio adapter exposes the same image and job operations as REST. Supply your API base URL and a scoped key through your MCP client’s server environment.

MCP server configuration
{
  "mcpServers": {
    "agent-charting": {
      "command": "node",
      "args": [
        "/absolute/path/to/AgentChartingSUper/server/mcp-server.mjs"
      ],
      "env": {
        "AGENT_CHARTING_API_URL": "http://127.0.0.1:8789",
        "AGENT_CHARTING_API_KEY": "YOUR_KEY"
      }
    }
  }
}
render_chart_imageno managed inference
Request a current/historical PNG, optionally with your own chart commands. Returns an actual MCP image block.
analyze_chart_imagemanaged inference
Start an asynchronous vision-first analysis job.
get_chart_analysisread
Read progress/results, including the final chart image when complete.
continue_chart_analysismanaged inference
Ask a follow-up or revise the prior chart within the owned session.

Remote connections

The existing Streamable HTTP adapter supports authenticated remote use. A reachable HTTPS server, OAuth issuer configuration, approved client, validated resource audience and scoped access are required. Publishing documentation does not provision those accounts automatically.