Token Verdict

v0.1.2
io.github.QuincyGB/token-verdict-mcp Checked 1 day ago Published 1 month ago

MCP server for Token Verdict — pay-per-call token risk verdicts over x402 ($0.02 USDC on Base)

Values you need

VariableWhat it is
AGENT_PRIVATE_KEYoptional secret EVM private key (0x...) of a wallet holding USDC on Base. Used locally to sign the x402 EIP-3009 authorization. For paid calls.
AGENT_KEY_FILEoptional Path to a file containing that key (alternative to AGENT_PRIVATE_KEY).
TOKEN_VERDICT_URLoptional Service base URL override (default: production).
TOKEN_VERDICT_MAX_AMOUNT_UNITSoptional Spend guard per call in USDC micro-units (default 20000 = $0.02, the known price). The client refuses to sign anything priced above it. Default: 20000

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add token-verdict-mcp -- uvx token-verdict-mcp==0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "token-verdict-mcp": {
      "args": [
        "token-verdict-mcp==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "token-verdict-mcp": {
      "args": [
        "token-verdict-mcp==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "token-verdict-mcp": {
      "args": [
        "token-verdict-mcp==0.1.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.token-verdict-mcp]
command = "uvx"
args = ["token-verdict-mcp==0.1.2"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: token_verdict.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json