debug-proof

debug-proof is a command for Claude Code from Matt-Dionis/claude-code-configs. It costs 7 tokens per session (689 once invoked), scanned A, original, MIT.

A debugging command for authentication proofs used by token-gated MCP servers. It checks recent errors, configuration values, the blockchain network connection, and the structure of submitted proofs.

In plain words
What is it for?
Use it to inspect EVMAUTH errors, verify environment settings and RPC access, and trace common proof-verification failures.
Why use it?
It helps find why a protected tool rejects authentication, such as missing fields, expired timestamps, wrong network details, or invalid signatures.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect EVMAUTH errors, verify environment settings and RPC access, and trace common proof-verification failures.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/matt-dionis/claude-code-configs/debug-proof
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configs

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debug-proof

README.md
[![agentmods](https://agentmods.dev/badge/commands/matt-dionis/claude-code-configs/debug-proof/github.svg)](https://agentmods.dev/commands/matt-dionis/claude-code-configs/debug-proof)
Your own site
<a href="https://agentmods.dev/commands/matt-dionis/claude-code-configs/debug-proof"><img src="https://agentmods.dev/badge/commands/matt-dionis/claude-code-configs/debug-proof/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-proof

Your own site · 80×15
<a href="https://agentmods.dev/commands/matt-dionis/claude-code-configs/debug-proof"><img src="https://agentmods.dev/badge/commands/matt-dionis/claude-code-configs/debug-proof.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00007 $0.00689
Opus 5.5 $0.00003 $0.00276
Sonnet 5.5 $0.00001 $0.00138
Haiku 4.5 $0.00001 $0.00069

Measured 1mo ago against content hash 04b3ef9046bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-proof scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

!curl -s -X POST ${EVMAUTH_RPC_URL:-https://rpc.testnet.radiustech.xyz} \
configurations/mcp-servers/token-gated-mcp-server/.claude/commands/debug-proof.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debug Proof Verification

Analyze and debug authentication proof issues in your token-gated MCP server.

Debugging Process

  1. Check Recent Errors

    • Search for EVMAUTH errors: !grep -r "EVMAUTH" . --include="*.log" --include="*.ts" | tail -20
    • Find proof-related issues: !grep -r "proof\|PROOF" . --include="*.log" | tail -20
  2. Validate Configuration

    # Check all required environment variables
    !echo "=== Token Gate Configuration ==="
    !echo "Contract Address: ${EVMAUTH_CONTRACT_ADDRESS:-NOT SET}"
    !echo "Chain ID: ${EVMAUTH_CHAIN_ID:-NOT SET}"
    !echo "RPC URL: ${EVMAUTH_RPC_URL:-NOT SET}"
    !echo "Token ID: ${EVMAUTH_TOKEN_ID:-NOT SET}"
    !echo "Debug Mode: ${DEBUG:-false}"
    !echo "Environment: ${NODE_ENV:-development}"
    
  3. Test RPC Connection

    # Verify RPC endpoint is accessible
    !curl -s -X POST ${EVMAUTH_RPC_URL:-https://rpc.testnet.radiustech.xyz} \
      -H "Content-Type: application/json" \
      -d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}' | jq '.'
    
  4. Analyze Proof Structure Check for common proof issues:

    • Missing __evmauth parameter
    • Expired timestamp (> 30 seconds)
    • Invalid signature format (not 0x + 130 hex chars)
    • Chain ID mismatch
    • Contract address mismatch
    • Invalid nonce format
  5. Debug Token Verification

    • Check if RPC calls are succeeding
    • Verify token balance queries
    • Test cache behavior
    • Validate multi-token logic

Common Issues and Solutions

EVMAUTH_PROOF_MISSING

  • Cause: No __evmauth in request
  • Fix: Ensure parameter is included in tool schema

PROOF_EXPIRED

  • Cause: Proof older than 30 seconds
  • Fix: Request fresh proof from Radius MCP Server

CHAIN_MISMATCH

  • Cause: Proof for different chain
  • Fix: Ensure SDK and proof use same chain ID (1223953 for testnet)

SIGNER_MISMATCH

  • Cause: Signature doesn't match wallet
  • Fix: Verify signature recovery process

Read the full file on GitHub · 98 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 98 lines · 7 tokens per session scan A 04b3ef9046bc

Subscribe to this mod's changes

debug-proof is a command published in the GitHub repository Matt-Dionis/claude-code-configs (619 stars, last pushed 1y ago), licensed MIT. It adds 7 tokens to every session and 689 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.