Kill switch + spend guard for AI agents that spend money, across every wallet vendor at once.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add countersign --env COUNTERSIGN_URL='<COUNTERSIGN_URL>' --env COUNTERSIGN_API_KEY='<COUNTERSIGN_API_KEY>' -- npx -y @countersign/mcp~/.codex/config.toml
[mcp_servers.countersign]
command = "npx"
args = ["-y", "@countersign/mcp"]
env = { COUNTERSIGN_URL = "<COUNTERSIGN_URL>", COUNTERSIGN_API_KEY = "<COUNTERSIGN_API_KEY>" }
# codex mcp add countersign --env COUNTERSIGN_URL='<COUNTERSIGN_URL>' --env COUNTERSIGN_API_KEY='<COUNTERSIGN_API_KEY>' -- npx -y @countersign/mcp~/.cursor/mcp.json
{
"mcpServers": {
"countersign": {
"command": "npx",
"args": [
"-y",
"@countersign/mcp"
],
"env": {
"COUNTERSIGN_URL": "<COUNTERSIGN_URL>",
"COUNTERSIGN_API_KEY": "<COUNTERSIGN_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"countersign": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@countersign/mcp"
],
"env": {
"COUNTERSIGN_URL": "<COUNTERSIGN_URL>",
"COUNTERSIGN_API_KEY": "<COUNTERSIGN_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"countersign": {
"command": "npx",
"args": [
"-y",
"@countersign/mcp"
],
"env": {
"COUNTERSIGN_URL": "<COUNTERSIGN_URL>",
"COUNTERSIGN_API_KEY": "<COUNTERSIGN_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"countersign": {
"command": "npx",
"args": [
"-y",
"@countersign/mcp"
],
"env": {
"COUNTERSIGN_URL": "<COUNTERSIGN_URL>",
"COUNTERSIGN_API_KEY": "<COUNTERSIGN_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"countersign": {
"command": "npx",
"args": [
"-y",
"@countersign/mcp"
],
"env": {
"COUNTERSIGN_URL": "<COUNTERSIGN_URL>",
"COUNTERSIGN_API_KEY": "<COUNTERSIGN_API_KEY>"
}
}
}
}Environment variables
COUNTERSIGN_URLCOUNTERSIGN_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.