Skip to content
VS Code

Countersign for VS Code

io.github.countersign-network/countersign

Kill switch + spend guard for AI agents that spend money, across every wallet vendor at once.

client:VS Code transport:stdio runtime:npm

Install Countersign in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "countersign-url",
      "description": "COUNTERSIGN_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "countersign-api-key",
      "description": "COUNTERSIGN_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "countersign": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@countersign/mcp"
      ],
      "env": {
        "COUNTERSIGN_URL": "${input:countersign-url}",
        "COUNTERSIGN_API_KEY": "${input:countersign-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

Countersign in other clients