Skip to content
VS Code

mcp server for VS Code

io.github.xcp/mcp-server

Interact with Counterparty — the token protocol on Bitcoin. Query, compose, sign.

client:VS Code transport:stdio runtime:npm

Install mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "counterparty-node",
      "description": "COUNTERPARTY_NODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "signer-private-key",
      "description": "SIGNER_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "signer-address",
      "description": "SIGNER_ADDRESS",
      "password": true
    }
  ],
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@21e14/mcp-server"
      ],
      "env": {
        "COUNTERPARTY_NODE": "${input:counterparty-node}",
        "SIGNER_PRIVATE_KEY": "${input:signer-private-key}",
        "SIGNER_ADDRESS": "${input:signer-address}"
      }
    }
  }
}

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

mcp server in other clients