pico-casper-mcp

v1.0.1
io.github.Gomathi1806/pico-casper-mcp Checked 1 day ago Published 1 day ago

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

Values you need

VariableWhat it is
PICO_BASE_URLoptional Pico store to buy from. Defaults to the hosted testnet store.
CASPER_AGENT_KEY_PATHoptional Path to the agent's Casper key. Defaults to ~/.pico-casper/agent-secret.pem.
MCP_MAX_SPEND_CSPRoptional Per-item spend ceiling in CSPR, enforced before signing. Defaults to 25.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add pico-casper-mcp -- npx -y pico-casper-mcp@1.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "pico-casper-mcp": {
      "args": [
        "-y",
        "pico-casper-mcp@1.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pico-casper-mcp": {
      "args": [
        "-y",
        "pico-casper-mcp@1.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "pico-casper-mcp": {
      "args": [
        "-y",
        "pico-casper-mcp@1.0.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pico-casper-mcp]
command = "npx"
args = ["-y", "pico-casper-mcp@1.0.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: wallet_status, discover_content, get_quote, pay_and_unlock.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json