Skip to content
VS Code

WestCoast Charts for VS Code

io.github.lokumbus/west-coast-charts-agent

Validate, render (SVG/PNG) and describe WestCoast Charts specs headlessly, with a data table.

client:VS Code transport:stdio runtime:npm

Install WestCoast Charts in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wcc-license-key",
      "description": "WCC_LICENSE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wcc-lib-root",
      "description": "WCC_LIB_ROOT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wcc-default-theme",
      "description": "WCC_DEFAULT_THEME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wcc-evaluation",
      "description": "WCC_EVALUATION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wcc-max-pixels",
      "description": "WCC_MAX_PIXELS",
      "password": true
    }
  ],
  "servers": {
    "west-coast-charts-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "west-coast-charts-agent"
      ],
      "env": {
        "WCC_LICENSE_KEY": "${input:wcc-license-key}",
        "WCC_LIB_ROOT": "${input:wcc-lib-root}",
        "WCC_DEFAULT_THEME": "${input:wcc-default-theme}",
        "WCC_EVALUATION": "${input:wcc-evaluation}",
        "WCC_MAX_PIXELS": "${input:wcc-max-pixels}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

WestCoast Charts in other clients