Skip to content
Cursor

matplotlibnet for Cursor

io.github.xkqg/matplotlibnet

Renders MatPlotLibNet charts to PNG, SVG or PDF from a JSON spec an AI agent writes.

client:Cursor transport:stdio runtime:nuget

Install matplotlibnet in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "matplotlibnet": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "MatPlotLibNet.Mcp",
        "--yes"
      ],
      "env": {
        "MATPLOTLIBNET_MCP_OUTPUT_ROOT": "<MATPLOTLIBNET_MCP_OUTPUT_ROOT>",
        "MATPLOTLIBNET_FONTS": "<MATPLOTLIBNET_FONTS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

matplotlibnet in other clients