rugguard-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RUGGUARD_API_URL | No | Override for staging / self-hosted API URL | https://rugguard.redfleet.fr |
| RUGGUARD_MCP_DEMO | No | Set to 1 to run in demo mode without real scans | 0 |
| RUGGUARD_MCP_WALLET_PATH | No | Path to the wallet file | ~/.rugguard/wallet.json |
| RUGGUARD_X402_PRIVATE_KEY | No | Legacy fallback private key (if not using wallet file) | |
| RUGGUARD_MCP_SPEND_LOG_PATH | No | Path to the spend log file | ~/.rugguard/spend_log.json |
| RUGGUARD_MCP_DISABLE_TELEMETRY | No | Set to 1 to disable anonymous telemetry in demo mode | 0 |
| RUGGUARD_MCP_DAILY_SPEND_CAP_USD | No | Rolling 24-hour spend cap in USD | 10.0 |
| RUGGUARD_MCP_SESSION_SPEND_CAP_USD | No | Per-session spend cap in USD | 5.0 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scan_tokenA | Run a pre-trade rug-pull risk scan on a token contract. Returns a structured risk report. Pays $0.01 USDC on Base behind the
scenes via x402. The spend is tracked against per-session and 24 h
caps configured in the MCP server — if a cap is breached the call
returns a Args:
chain: Chain identifier. Returns:
On success: {score: 0-100, verdict: safe|low_risk|medium_risk|high_risk|critical|uncertain,
score_confidence: high|medium|low|insufficient_data,
rug_probability_30d: 0.0-1.0,
flags: [{code, severity, evidence}, ...],
scan_id: uuid for follow-up via explain_scan(...)}.
On failure: {error, message}. |
| pretrade_checkA | Pre-trade firewall: returns a prescriptive Costs $0.01 USDC on Base via x402 (same price as Args:
chain: Returns:
On success: {
scan_id, chain, contract,
policy_recommendation: block | caution | allow,
policy, risk_score: 0-100, verdict, confidence,
reason: [{code, severity}, ...], # top 3 flags
max_suggested_exposure_usd: float, # 100% if allow, 20% if caution, 0 if block
intended_trade_usd, scanned_at, disclaimer,
signature, key_fingerprint # null when signing is unconfigured
}
On failure: {error, message}. Same error codes as Disclaimer integrity: the |
| explain_scanA | Fetch the per-heuristic audit trail of a previous scan. Costs $0.005 USDC. Use this when you need to know why a scan returned a specific verdict — e.g. for compliance, post-mortems, or building a user-visible explanation. Args:
scan_id: UUID returned by a prior Returns:
On success: {scan_id, scanned_at, score, verdict, heuristic_results: [...]}.
On failure: {error, message}. Same error codes as |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| RugGuard live recall | Return RugGuard's live empirical recall + per-chain sample counts. Free (no x402 payment). Sources from `/v1/metrics` on the public API. The body is the same JSON shape as the HTTP endpoint, suitable for parsing by the agent or display in a chat for a human reviewer. Use this to: - Check the per-heuristic recall before pointing your funded wallet at the paid `scan_token` tool. - Audit what fraction of confirmed rugs each heuristic catches (the workhorse is `TOP10_CONCENTRATION_HIGH` at ~94 % on Base). - Read the methodology warning: HONEYPOT_* underperforms on the post-rug census (the contract is dead by the time we re-measure), but the forward sampler's T+30 follow-up gives the real product-time precision. |
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dbe006/rugguard-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server