oci ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0stdioMITupdated 20d ago
MCP server for a pre-interaction risk check on any EVM contract/token — what an agent needs before it approves, swaps, or trusts an address.
¿Qué puedes hacer con contract guard mcp?
contract-guard-mcp
MCP server for a pre-interaction risk check on any EVM contract/token — what an agent needs before it approves, swaps, or trusts an address.
Tool: check_contract(address, chain="base") →
- is-contract vs EOA / self-destructed
- EIP-7702 delegated-EOA detection
- upgradeable proxy detection (EIP-1967 + legacy zeppelinos)
- ERC20 metadata (name / symbol / decimals / totalSupply)
- risk score + actionable flags
Chains: Base, Ethereum. Pure public JSON-RPC, zero dependencies, no signing.
Also available as a pay-per-call x402 HTTP endpoint:
https://eltociear-contract-guard.hf.space (POST /check, $0.005 USDC on Base).
Run
docker run -i --rm ghcr.io/eltociear/contract-guard-mcp:mcp-latest
# or
python3 server.py
MIT licensed.
Tools
check_contract(address, chain)— is-contract/EOA, EIP-7702, proxy, ERC20 metadata, risk scorecheck_approval(token, owner, spender, chain)— ERC20 allowance audit; flags unlimited approvals (the #1 drain vector)
Free MCP vs paid x402
This MCP server is free (run it locally / via your client). For server-side, batch, or no-install use, the same engine is a pay-per-call x402 HTTP API — POST https://eltociear-contract-guard.hf.space/check ($0.005 USDC on Base, no signup). Your agent's wallet pays per call.
Professional audit services
Maintained by the same author — paid services on Polar (Stripe checkout):
- MCP Security Audit Report — $5 — one-off audit of your MCP server: 68 attack patterns, severity-rated PDF report with concrete fixes.
- Security Pulse — $5/mo (annual $50) — monthly briefing on newly disclosed MCP server vulnerabilities, scan stats across 100+ tracked repos, mitigation playbooks.
- Pro Audit Stack — $20/mo — for teams running MCP servers in CI/CD: 50 hosted scans/month, Discord access, 24h SLA on vulnerability questions.
Full catalog: polar.sh/eltociear
Also live: clean-read ($0.005 / call)
Same operator, same x402 rails: clean-read turns any URL into clean Markdown for AI agents — fetches the page, strips nav/ads/boilerplate (trafilatura), returns the main content with title and word count. POST https://eltociear-skill-audit.hf.space/read — $0.005 USDC on Base, no signup.
Instalación
Añade contract guard mcp a tu cliente. Elige el que uses.
claude mcp add ghcr-io-eltociear-contract-guard-mcp-mcp -- docker run -i --rm ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0codex mcp add ghcr-io-eltociear-contract-guard-mcp-mcp -- docker run -i --rm ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0amp mcp add ghcr-io-eltociear-contract-guard-mcp-mcp -- docker run -i --rm ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0{
"mcpServers": {
"ghcr-io-eltociear-contract-guard-mcp-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"ghcr-io-eltociear-contract-guard-mcp-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"ghcr-io-eltociear-contract-guard-mcp-mcp","command":"docker","args":["run","-i","--rm","ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"ghcr-io-eltociear-contract-guard-mcp-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"ghcr-io-eltociear-contract-guard-mcp-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"ghcr-io-eltociear-contract-guard-mcp-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"ghcr-io-eltociear-contract-guard-mcp-mcp": {
"type": "local",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"ghcr-io-eltociear-contract-guard-mcp-mcp": {
"command": {
"path": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0"
]
}
}
}
}Add to your Zed `settings.json`.
docker run -i --rm ghcr.io/eltociear/contract-guard-mcp:mcp-1.1.0Run `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Puntuación
39 / 100
Incompleta
- Documentación17/25
- Mantenimiento19/25
- Confianza13/20
- Capacidad0/15
- Instalación12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 13 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Historial de versiones
| Versiones | Publicada |
|---|---|
| 1.1.0Última | 8 jun 2026 |
| 1.0.0 | 7 jun 2026 |