Countersign
v0.2.2Kill switch + spend guard for AI agents that spend money, across every wallet vendor at once.
Values you need
| Variable | What it is | |
|---|---|---|
COUNTERSIGN_URL | required | Base URL of the Countersign Core to govern (hosted or self-hosted). Default: https://app.countersign.network |
COUNTERSIGN_API_KEY | required secret | API key for the Core (self-serve one at https://app.countersign.network/start or POST /signup). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add countersign -e 'COUNTERSIGN_API_KEY=<COUNTERSIGN_API_KEY>' -e COUNTERSIGN_URL=https://app.countersign.network -- npx -y --package=@countersign/mcp@0.2.2 countersign-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"countersign": {
"args": [
"-y",
"--package=@countersign/mcp@0.2.2",
"countersign-mcp"
],
"command": "npx",
"env": {
"COUNTERSIGN_API_KEY": "<COUNTERSIGN_API_KEY>",
"COUNTERSIGN_URL": "https://app.countersign.network"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"countersign": {
"args": [
"-y",
"--package=@countersign/mcp@0.2.2",
"countersign-mcp"
],
"command": "npx",
"env": {
"COUNTERSIGN_API_KEY": "<COUNTERSIGN_API_KEY>",
"COUNTERSIGN_URL": "https://app.countersign.network"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "COUNTERSIGN_API_KEY",
"id": "countersign-api-key",
"password": true,
"type": "promptString"
},
{
"description": "COUNTERSIGN_URL",
"id": "countersign-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"countersign": {
"args": [
"-y",
"--package=@countersign/mcp@0.2.2",
"countersign-mcp"
],
"command": "npx",
"env": {
"COUNTERSIGN_API_KEY": "${input:countersign-api-key}",
"COUNTERSIGN_URL": "${input:countersign-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.countersign]
command = "npx"
args = ["-y", "--package=@countersign/mcp@0.2.2", "countersign-mcp"]
env = { "COUNTERSIGN_API_KEY" = "<COUNTERSIGN_API_KEY>", "COUNTERSIGN_URL" = "https://app.countersign.network" }For AI agents
- Ask the user for: COUNTERSIGN_URL, COUNTERSIGN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: countersign_health, countersign_list_agents, countersign_apply_policy, countersign_request_spend, countersign_list_approved_venues, countersign_guard_x402, countersign_guard_ap2, countersign_list_approvals, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json