GPT-Vis MCP HTTP Server

Local chart generation service compatible with GPT-Vis-SSR API

POST /generate

Generate a chart from the provided data

{
  "type": "line",
  "data": [
    { "time": "2025-05", "value": 512 },
    { "time": "2025-06", "value": 1024 }
  ]
}

Response:

{
  "success": true,
  "resultObj": "/charts/chart_1640000000000_abc12345.png"
}

GET /charts/:filename

Serve generated chart images

GET /health

Health check endpoint

Environment Variables