contract-scanner

v1.0.2
io.github.lordbasilaiassistant-sudo/contract-scanner Checked 1 day ago Published 7 months ago

Smart contract security scanner — vulnerabilities, risk scores, and calldata decoding

Values you need

VariableWhat it is
RPC_URLoptional RPC endpoint URL (defaults to Base mainnet)
THRYX_API_KEYoptional secret Premium API key for unlimited scans
BASESCAN_API_KEYoptional secret Basescan API key for fetching verified contract source code
ETHERSCAN_API_KEYoptional secret Etherscan API key for fetching verified contract source code

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add contract-scanner -- npx -y @thryx/contract-scanner-mcp-server@1.0.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "contract-scanner": {
      "args": [
        "-y",
        "@thryx/contract-scanner-mcp-server@1.0.2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "contract-scanner": {
      "args": [
        "-y",
        "@thryx/contract-scanner-mcp-server@1.0.2"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "contract-scanner": {
      "args": [
        "-y",
        "@thryx/contract-scanner-mcp-server@1.0.2"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.contract-scanner]
command = "npx"
args = ["-y", "@thryx/contract-scanner-mcp-server@1.0.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: scanner_analyze_contract, scanner_compare_contracts, scanner_check_address, scanner_decode_calldata.
  4. 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