Skip to content
VS Code

Bitcoin MCP for VS Code

io.github.bortlesboat/bitcoin-mcp

49 Bitcoin tools for AI agents: fees, mempool, blocks, mining, price. Zero config.

client:VS Code transport:stdio runtime:pypi

Install Bitcoin MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "bitcoin-rpc-host",
      "description": "BITCOIN_RPC_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bitcoin-rpc-port",
      "description": "BITCOIN_RPC_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bitcoin-network",
      "description": "BITCOIN_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "satoshi-api-url",
      "description": "SATOSHI_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "satoshi-api-key",
      "description": "SATOSHI_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "bitcoin-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "bitcoin-mcp"
      ],
      "env": {
        "BITCOIN_RPC_HOST": "${input:bitcoin-rpc-host}",
        "BITCOIN_RPC_PORT": "${input:bitcoin-rpc-port}",
        "BITCOIN_NETWORK": "${input:bitcoin-network}",
        "SATOSHI_API_URL": "${input:satoshi-api-url}",
        "SATOSHI_API_KEY": "${input:satoshi-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

Bitcoin MCP in other clients