Skip to content
VS Code

Archipelago on Arc for VS Code

io.github.runtimeadmin/archipelago-x402-mcp

Buy Archipelago's Arc token reports, exit costs and wallet balances over x402, within caps you set.

client:VS Code transport:stdio runtime:npm

Install Archipelago on Arc in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "buyer-private-key-file",
      "description": "BUYER_PRIVATE_KEY_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "buyer-private-key",
      "description": "BUYER_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "archipelago-x402-max-per-call",
      "description": "ARCHIPELAGO_X402_MAX_PER_CALL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "archipelago-x402-budget",
      "description": "ARCHIPELAGO_X402_BUDGET",
      "password": true
    }
  ],
  "servers": {
    "archipelago-x402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@archipelagodex/archipelago-x402-mcp"
      ],
      "env": {
        "BUYER_PRIVATE_KEY_FILE": "${input:buyer-private-key-file}",
        "BUYER_PRIVATE_KEY": "${input:buyer-private-key}",
        "ARCHIPELAGO_X402_MAX_PER_CALL": "${input:archipelago-x402-max-per-call}",
        "ARCHIPELAGO_X402_BUDGET": "${input:archipelago-x402-budget}"
      }
    }
  }
}

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

Archipelago on Arc in other clients