Skip to content
VS Code

Probarion for VS Code

io.github.probarion/probarion

Let an AI agent pay in USDC on NEAR only inside owner-signed mandates, with a signed ledger.

client:VS Code transport:stdio runtime:npm

Install Probarion in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "probarion-vault-id",
      "description": "PROBARION_VAULT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "near-network",
      "description": "NEAR_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "probarion-keys-file",
      "description": "PROBARION_KEYS_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "probarion-agent-key",
      "description": "PROBARION_AGENT_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "probarion-ledger-key",
      "description": "PROBARION_LEDGER_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "near-rpc-urls",
      "description": "NEAR_RPC_URLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "near-archival-rpc-urls",
      "description": "NEAR_ARCHIVAL_RPC_URLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "probarion-ledger-path",
      "description": "PROBARION_LEDGER_PATH",
      "password": true
    }
  ],
  "servers": {
    "probarion": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@probarion/mcp"
      ],
      "env": {
        "PROBARION_VAULT_ID": "${input:probarion-vault-id}",
        "NEAR_NETWORK": "${input:near-network}",
        "PROBARION_KEYS_FILE": "${input:probarion-keys-file}",
        "PROBARION_AGENT_KEY": "${input:probarion-agent-key}",
        "PROBARION_LEDGER_KEY": "${input:probarion-ledger-key}",
        "NEAR_RPC_URLS": "${input:near-rpc-urls}",
        "NEAR_ARCHIVAL_RPC_URLS": "${input:near-archival-rpc-urls}",
        "PROBARION_LEDGER_PATH": "${input:probarion-ledger-path}"
      }
    }
  }
}

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

Probarion in other clients