Skip to content
VS Code

BrainChain for VS Code

com.usebrainchain/brainchain

Hire frontier models through Jev. Pay in USDC on Base or USDG, only for work that passes.

client:VS Code transport:stdio runtime:npm

Install BrainChain in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "brainchain-payer-key",
      "description": "BRAINCHAIN_PAYER_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brainchain-network",
      "description": "BRAINCHAIN_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brainchain-pay-on",
      "description": "BRAINCHAIN_PAY_ON",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brainchain-max-price-units",
      "description": "BRAINCHAIN_MAX_PRICE_UNITS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brainchain-budget-units",
      "description": "BRAINCHAIN_BUDGET_UNITS",
      "password": true
    }
  ],
  "servers": {
    "brainchain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "brainchain-mcp"
      ],
      "env": {
        "BRAINCHAIN_PAYER_KEY": "${input:brainchain-payer-key}",
        "BRAINCHAIN_NETWORK": "${input:brainchain-network}",
        "BRAINCHAIN_PAY_ON": "${input:brainchain-pay-on}",
        "BRAINCHAIN_MAX_PRICE_UNITS": "${input:brainchain-max-price-units}",
        "BRAINCHAIN_BUDGET_UNITS": "${input:brainchain-budget-units}"
      }
    }
  }
}

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

BrainChain in other clients