Skip to content
VS Code

Nirium for VS Code

io.github.nirium-protocol/nirium-mcp

Verifiable receipts for AI agent payments on Stellar: anchor, verify, x402 paid endpoints

client:VS Code transport:stdio runtime:npm

Install Nirium in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agent-api-url",
      "description": "AGENT_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "stellar-secret-key",
      "description": "STELLAR_SECRET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nirium-api-key",
      "description": "NIRIUM_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "stellar-network",
      "description": "STELLAR_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "soroban-rpc-url",
      "description": "SOROBAN_RPC_URL",
      "password": true
    }
  ],
  "servers": {
    "nirium-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nirium-mcp"
      ],
      "env": {
        "AGENT_API_URL": "${input:agent-api-url}",
        "STELLAR_SECRET_KEY": "${input:stellar-secret-key}",
        "NIRIUM_API_KEY": "${input:nirium-api-key}",
        "STELLAR_NETWORK": "${input:stellar-network}",
        "SOROBAN_RPC_URL": "${input:soroban-rpc-url}"
      }
    }
  }
}

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

Nirium in other clients