Skip to content
VS Code

pico casper mcp for VS Code

io.github.gomathi1806/pico-casper-mcp

Let an AI agent buy content and API calls on Casper, paying per call in CSPR over x402.

client:VS Code transport:stdio runtime:npm

Install pico casper mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pico-base-url",
      "description": "PICO_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "casper-agent-key-path",
      "description": "CASPER_AGENT_KEY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-max-spend-cspr",
      "description": "MCP_MAX_SPEND_CSPR",
      "password": true
    }
  ],
  "servers": {
    "pico-casper-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pico-casper-mcp"
      ],
      "env": {
        "PICO_BASE_URL": "${input:pico-base-url}",
        "CASPER_AGENT_KEY_PATH": "${input:casper-agent-key-path}",
        "MCP_MAX_SPEND_CSPR": "${input:mcp-max-spend-cspr}"
      }
    }
  }
}

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

pico casper mcp in other clients