Skip to content
VS Code

blockrun mcp for VS Code

io.github.blockrunai/blockrun-mcp

Web search, deep research, prediction markets & crypto data for AI agents. Pay per call via x402.

client:VS Code transport:stdio runtime:npm

Install blockrun mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "blockrun-wallet-key",
      "description": "BLOCKRUN_WALLET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-wallet-key",
      "description": "SOLANA_WALLET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "blockrun-api-key",
      "description": "BLOCKRUN_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "blockrun-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@blockrun/mcp"
      ],
      "env": {
        "BLOCKRUN_WALLET_KEY": "${input:blockrun-wallet-key}",
        "SOLANA_WALLET_KEY": "${input:solana-wallet-key}",
        "BLOCKRUN_API_KEY": "${input:blockrun-api-key}"
      }
    }
  }
}

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

blockrun mcp in other clients