Kill switch + spend guard for AI agents that spend money, across every wallet vendor at once.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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>"
}
}
}
}需要的环境变量
COUNTERSIGN_URLCOUNTERSIGN_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。