Back to Browse

Solana Rent Rug Shield MCP Server

Developer ToolsModerate7.4MCP RegistryRemote
Free

Server data from the Official MCP Registry

Solana 10-layer rug audit, /audit/<mint> feeds, CPI tx sim, and ATA rent scanner via x402.

About

Solana 10-layer rug audit, /audit/<mint> feeds, CPI tx sim, and ATA rent scanner via x402.

Remote endpoints: streamable-http: https://rentandrugshield.com/mcp streamable-http: https://snake-thinking-latter-players.trycloudflare.com/mcp

Security Report

7.4
Moderate7.4Low Risk

Valid MCP server (2 strong, 2 medium validity signals). 3 known CVEs in dependencies (0 critical, 2 high severity) Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

Endpoint verified · Open access · 4 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

file_system

Applies to the server that hosts this plugin, not to your machine.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "com-rentandrugshield-mcp-server": {
      "url": "https://rentandrugshield.com/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

M8ven Verified sonnyman2014/solana-rent-rug-shield-mcp MCP server

Solana Rent & Rug Shield MCP Gateway (@rentandrugshield/mcp-server & solana-rug-shield)

Solana Rent & Rug Shield MCP connector Solana Rent & Rug Shield MCP connector

🎬 Watch Official 45s Promo Video & Dual-Mode Solana Security Workspace

  • Official 45s HD Promo Player: https://rentandrugshield.com/promo
  • Direct MP4 Video Stream: rent_rug_shield_promo_45s.mp4
  • Live Dual-UI Web App (@SolRentClaim Emerald/Gold + Institutional Side-by-Side Dark Mode): https://rentandrugshield.com
  • New Layer 12 Live: Slot-0 Jito Insider Bundle & Cybersecurity Drainer Detection (Powered by Gemini 4 Carbon AI + 78,000+ Quant Man-Hours)
  • Fee Guarantee: 1st Token Audit & 1st Empty ATA 0.0% Lifetime Free -> 2.0% SOL Fee on repeat cleanups (98.0% net SOL).

Production Model Context Protocol (MCP) security gateway and x402 Solana machine-payment toolkit powered by https://rentandrugshield.com. Built for autonomous Solana AI trading agents, IDE copilots, and DeFi wallets requiring <120ms pre-buy token rug protection, Layer 9 Inner CPI transaction drainer simulation, and read-only unclaimed ATA SOL rent discovery.

  • Registry Manifests Included: server.json (Official MCP Registry), smithery.yaml (Smithery.ai), glama.json (Glama.ai), Dockerfile (Node >=20 multi-stage container), and registry/mcp_so_submission.json (MCP.so).

Distribution Packages

  • TypeScript / NPX MCP Server: @rentandrugshield/mcp-server (npx -y @rentandrugshield/mcp-server or binary rentandrugshield-mcp)
  • Python / PyPI SDK & MCP Server: solana-rug-shield (pip install solana-rug-shield with built-in MCP stdio server mode and sync/async Python SDK)
  • Production Upstream Gateway: https://rentandrugshield.com
  • Official MCP Registry Namespace: io.github.sonnyman2014/solana-rent-rug-shield-mcp and com.rentandrugshield/mcp-server

Founding B2B Enterprise API ($500/mo Unlimited SLA)

Building a Solana wallet, Telegram sniper bot, copy-trading engine, or DeFi terminal? Upgrade from per-call x402 to dedicated institutional throughput at https://rentandrugshield.com/enterprise-api.html:

  • Founding Partner Flat Tier ($500/mo): Dedicated API key (X-Enterprise-Api-Key), <120ms warm-socket SLA on 12-Layer Pre-Buy Token Audits (/api/scan/token), Layer 9 Inner CPI Drain Simulation (/api/simulate/tx), and Batch Non-Custodial SPL CloseAccount Rent Discovery (/api/scan/wallet).
  • Zero Blind Approvals: 100% read-only token/wallet scanning and unsigned client-verified transaction building.
  • Enterprise Docs & Onboarding: https://rentandrugshield.com/enterprise-api.html | Live Consumer & Developer Portal: https://rentandrugshield.com

Live /audit/<mint> Feeds & 10¢ Mainnet Test Rebate

Every audited Solana token has a direct, crawler-indexable and agent-readable /audit/<mint> safety report at https://rentandrugshield.com/audit/<mint>:

Zero-Install Remote Streamable HTTP MCP (https://rentandrugshield.com/mcp)

Connect any Streamable HTTP MCP client (Claude, Cursor, Windsurf, Cline, OpenAI Agents, LangGraph) directly with zero local installation:

{
  "mcpServers": {
    "rentandrugshield": {
      "type": "streamable-http",
      "url": "https://rentandrugshield.com/mcp"
    }
  }
}
  • Zero-Install Streamable HTTP Endpoint: https://rentandrugshield.com/mcp (MCP 2025-03-26 and 2024-11-05)
  • Discovery Manifests: https://rentandrugshield.com/.well-known/mcp.json and https://rentandrugshield.com/.well-known/x402
  • Solana x402 V1 & V2 Auto-Pay: 10 free pings per X-Agent-Id, then 0.026 SOL ($1.99 Unlimited Pro Pass) or 0.0003 SOL (~$0.02 single scan) to 89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1 via PAYMENT-SIGNATURE or X-Payment.

Quick Start Commands

Launch via NPX (@rentandrugshield/mcp-server)

npx -y @rentandrugshield/mcp-server

Install and Launch via PyPI (solana-rug-shield)

pip install solana-rug-shield
solana-rug-shield --mcp-stdio

Direct Python SDK Usage (solana-rug-shield)

from solana_rug_shield import RugShieldClient

client = RugShieldClient(api_url="https://rentandrugshield.com")

audit = client.audit_solana_token_10_layer(
    mint="So11111111111111111111111111111111111111112"
)
sim = client.simulate_solana_tx_drain(transaction="AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAED")
rent = client.scan_wallet_unclaimed_sol(
    wallet="89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1",
    include_token_2022=True,
)

Direct GitHub Release v1.0.0 Install (Zero Registry Wait)

npx -y https://github.com/sonnyman2014/solana-rent-rug-shield-mcp/releases/download/v1.0.0/rentandrugshield-mcp-server-1.0.0.tgz
pip install https://github.com/sonnyman2014/solana-rent-rug-shield-mcp/releases/download/v1.0.0/solana_rug_shield-1.0.0-py3-none-any.whl

Core Solana Security Tools (3 MCP Tools)

1. audit_solana_token_10_layer (<120ms Pre-Buy Token Safety Gate)

  • Purpose: High-speed <120ms warm-socket pre-buy anti-rug safety gate powered by persistent HTTP keep-alive connection pooling for autonomous sniper bots, DeFi execution agents, and trading terminals.
  • 12 Security Layers Evaluated (tool identifier preserved as audit_solana_token_10_layer / alias audit_solana_token for backward compatibility): Mint authority status, freeze authority status, Token-2022 permanent delegate hooks, Token-2022 transfer fee mutations, non-transferable / close-authority traps, liquidity pool lock and burn ratio, top holder cluster concentration, metadata mutability, creator rug history, live Jupiter sellability verification, Layer 11 Block-0 2-Hop Sybil Funding Graph BFS, and Layer 12 Slot-0 Jito Insider Bundle & Inner-CPI Drainer Detection (returning a 0 to 100 safety score plus actionable risk flags).
  • Inputs: mint (required base58 mint address), optional pool_address, wallet, payment_signature, pro_pass_token.

2. simulate_solana_tx_drain (Layer 9 Inner CPI Drainer Check)

  • Purpose: Pre-signing transaction firewall that simulates serialized Solana transactions (base64 or base58) and inspects full Layer 9 Inner Cross-Program Invocations (Inner CPI) before an agent or user wallet signs.
  • Threats Blocked: Stealth SetAuthority account ownership takeovers, hidden SPL / Token-2022 Approve delegate drains, multi-hop wrapper program SOL sweeps, and malicious CPI callback hooks disguised inside benign swap instructions.
  • Inputs: transaction (required serialized transaction), optional wallet, encoding (base64 or base58), payment_signature, pro_pass_token.

3. scan_wallet_unclaimed_sol (Read-Only ATA Rent Check)

  • Purpose: Zero-custody, strictly read-only Mainnet wallet scanner that discovers reclaimable rent-exempt SOL locked in empty SPL (Tokenkeg) and Token-2022 Associated Token Accounts (ATAs), dust accounts, and PumpSwap / Pump volume accumulator PDAs.
  • Safety Guarantee: Requires only a public base58 wallet address; never requests private keys for scanning and reports exact account counts plus net reclaimable SOL (0.0% fee / 100% SOL kept on 1st claim and 98.0% net SOL kept on repeat cleanups via native SPL 0x09 on https://rentandrugshield.com).
  • Inputs: wallet (required base58 wallet address), optional include_token_2022 (boolean, default true), payment_signature, pro_pass_token.

10 Free Pings + Native Solana x402 Machine Auto-Pay

Every agent and developer session connecting to https://rentandrugshield.com receives 10 free pings out of the box with zero API keys, zero credit cards, and zero setup.

When the 11th unpaid request triggers HTTP 402 Payment Required, the gateway returns standard Payment-Required and X-Payment-Required base64 JSON x402 v1 challenges targeting verified Solana Mainnet treasury 89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1 with two instant machine-payable tiers:

  • Option A (option_a_pro_pass / Unlimited Pro Pass): 0.026 SOL (26,000,000 lamports, $1.99 Unlimited Pro Pass). Issues a signed X-Pro-Pass-Token cached automatically by @rentandrugshield/mcp-server and solana-rug-shield so all subsequent tool calls resolve 200 OK with zero per-call settlement overhead.
  • Option B (option_b_single_scan / Instant Single Scan): 0.0003 SOL (300,000 lamports, $0.02 single scan). Unlocks one immediate verified scan per unique Solana Mainnet transaction signature enforced by strict on-chain anti-replay verification.
  • Autonomous Agent Settlement: When SOLANA_PRIVATE_KEY (or X402_SOLANA_PRIVATE_KEY) is configured in the MCP environment, both @rentandrugshield/mcp-server and solana-rug-shield automatically build and broadcast the exact SOL transfer to 89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1, attach the base64 X-Payment payload plus X-Solana-Tx-Signature, and retry the tool call transparently in a single turn.
  • Keyless / Manual Settlement: When no private key is configured, the MCP tool returns the structured x402 challenge instructions so human operators or external signers can pass payment_signature or pro_pass_token directly on retry.

Environment Variables

  • RENTSHIELD_API_URL: Upstream gateway base URL (defaults to https://rentandrugshield.com).
  • SOLANA_PRIVATE_KEY: Optional base58 string or JSON byte array [...] for automatic x402 HTTP 402 SOL settlement.
  • X402_SOLANA_PRIVATE_KEY: Optional dedicated alias for SOLANA_PRIVATE_KEY.
  • X402_OPTION: Select option_a_pro_pass (0.026 SOL $1.99 Unlimited Pro Pass, default) or option_b_single_scan (0.0003 SOL $0.02 single scan).
  • RENTSHIELD_PRO_PASS_TOKEN: Optional pre-provisioned X-Pro-Pass-Token for instant unlimited Pro Pass access.
  • SOLANA_RPC_URL: Solana Mainnet RPC URL used when broadcasting automatic x402 transfers (defaults to https://api.mainnet-beta.solana.com).

Client and Agent Framework Configurations

1. Claude Desktop (claude_desktop_config.json)

Option 1A: Node / NPX (@rentandrugshield/mcp-server)
{
  "mcpServers": {
    "rentandrugshield": {
      "command": "npx",
      "args": ["-y", "@rentandrugshield/mcp-server"],
      "env": {
        "RENTSHIELD_API_URL": "https://rentandrugshield.com",
        "X402_OPTION": "option_a_pro_pass"
      }
    }
  }
}
Option 1B: Python / PyPI (solana-rug-shield)
{
  "mcpServers": {
    "rentandrugshield": {
      "command": "uvx",
      "args": ["solana-rug-shield", "--mcp-stdio"],
      "env": {
        "RENTSHIELD_API_URL": "https://rentandrugshield.com",
        "X402_OPTION": "option_a_pro_pass"
      }
    }
  }
}

2. Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "rentandrugshield": {
      "command": "npx",
      "args": ["-y", "@rentandrugshield/mcp-server"],
      "env": {
        "RENTSHIELD_API_URL": "https://rentandrugshield.com",
        "SOLANA_PRIVATE_KEY": "YOUR_OPTIONAL_AGENT_BASE58_KEY",
        "X402_OPTION": "option_a_pro_pass"
      }
    }
  }
}

3. Windsurf (~/.codeium/windsurf/mcp_config.json)

{
  "mcpServers": {
    "rentandrugshield": {
      "command": "npx",
      "args": ["-y", "@rentandrugshield/mcp-server"],
      "env": {
        "RENTSHIELD_API_URL": "https://rentandrugshield.com",
        "X402_OPTION": "option_a_pro_pass"
      }
    }
  }
}

4. Cline (cline_mcp_settings.json)

{
  "mcpServers": {
    "rentandrugshield": {
      "command": "npx",
      "args": ["-y", "@rentandrugshield/mcp-server"],
      "disabled": false,
      "autoApprove": [
        "audit_solana_token_10_layer",
        "simulate_solana_tx_drain",
        "scan_wallet_unclaimed_sol"
      ],
      "env": {
        "RENTSHIELD_API_URL": "https://rentandrugshield.com",
        "X402_OPTION": "option_b_single_scan"
      }
    }
  }
}

5. OpenAI Agents SDK (openai-agents)

import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStdio


async def main() -> None:
    async with MCPServerStdio(
        name="RentAndRugShield",
        params={
            "command": "npx",
            "args": ["-y", "@rentandrugshield/mcp-server"],
            "env": {
                "RENTSHIELD_API_URL": "https://rentandrugshield.com",
                "X402_OPTION": "option_a_pro_pass",
            },
        },
    ) as rug_shield_mcp:
        agent = Agent(
            name="SolanaExecutionGuard",
            instructions=(
                "Always call audit_solana_token_10_layer before any token swap and "
                "simulate_solana_tx_drain before signing any serialized transaction."
            ),
            mcp_servers=[rug_shield_mcp],
        )
        result = await Runner.run(
            agent,
            "Audit Solana mint So11111111111111111111111111111111111111112 and report safety score.",
        )
        print(result.final_output)


if __name__ == "__main__":
    asyncio.run(main())

6. LangChain (langchain-mcp-adapters & solana-rug-shield)

import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent


async def run_guard() -> None:
    client = MultiServerMCPClient(
        {
            "rentandrugshield": {
                "command": "npx",
                "args": ["-y", "@rentandrugshield/mcp-server"],
                "transport": "stdio",
                "env": {
                    "RENTSHIELD_API_URL": "https://rentandrugshield.com",
                    "X402_OPTION": "option_a_pro_pass",
                },
            }
        }
    )
    tools = await client.get_tools()
    agent = create_react_agent("openai:gpt-4o", tools)
    response = await agent.ainvoke(
        {
            "messages": [
                {
                    "role": "user",
                    "content": "Scan wallet 89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1 for unclaimed ATA SOL rent.",
                }
            ]
        }
    )
    print(response["messages"][-1].content)


if __name__ == "__main__":
    asyncio.run(run_guard())

License and Links

5-Line Headless AI Agent x402 Auto-Pay (X-Payment-Tx & MCP audit_solana_token)

Funded Solana wallet-agent frameworks (solana-agent-kit, ElizaOS @elizaos/plugin-solana, Goat SDK @goat-sdk/wallet-solana) can purchase 12-Layer Adaptive Solana Rug Shield audits (now including Layer 11: Block-0 Sybil Wallet-Cluster & Spoofed Migration LP Guard powered by Gemini 4 Carbon High) headlessly over HTTP with zero browser popups:

  • Mainnet Treasury (payTo): 89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1 (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC ATA BDFbaZumRyR2ceQfQqVdSXXDbJCDpEgAqgrmiUp92Hp8)
  • Pricing Tiers: 1,400,000 lamports (~$0.10 Single 12-Layer Audit) or 26,000,000 lamports ($1.99 24-Hour Unlimited Pro Pass issuing reusable X-Pro-Pass-Token)
  • Canonical Spec: https://rentandrugshield.com/llms.txt | 0% 1st-Claim Rent Recovery: https://rentandrugshield.com/

TypeScript (@solana/web3.js — 5 Lines)

import { Connection, PublicKey, SystemProgram, Transaction, sendAndConfirmTransaction } from "@solana/web3.js";
const mcp = (await (await fetch("https://rentandrugshield.com/.well-known/mcp.json")).json()).liveStreamableHttpEndpoint ?? "https://rentandrugshield.com/mcp";
const call = (h: Record<string, string> = {}) => fetch(mcp, { method: "POST", headers: { "Content-Type": "application/json", "X-Agent-Id": agentKeypair.publicKey.toBase58(), ...h }, body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/call", params: { name: "audit_solana_token", arguments: { mint } } }) }).then(r => r.json());
let audit = await call(); // Set lamports: 1_400_000 (~$0.10 single 12-layer scan) or 26_000_000 ($1.99 24h Unlimited Pass -> X-Pro-Pass-Token)
if (audit.error?.httpStatus === 402 || audit.status === 402) { const sig = await sendAndConfirmTransaction(new Connection(rpcUrl, "confirmed"), new Transaction().add(SystemProgram.transfer({ fromPubkey: agentKeypair.publicKey, toPubkey: new PublicKey("89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1"), lamports: 1_400_000 })), [agentKeypair]); audit = await call({ "X-Payment-Tx": sig, "X-Solana-Tx-Signature": sig }); }

Python (solders + requests — 5 Lines)

import base64, time, requests; from solders.hash import Hash; from solders.message import Message; from solders.pubkey import Pubkey; from solders.system_program import TransferParams, transfer; from solders.transaction import Transaction
mcp = requests.get("https://rentandrugshield.com/.well-known/mcp.json", timeout=8).json().get("liveStreamableHttpEndpoint", "https://rentandrugshield.com/mcp")
call = lambda h={}: requests.post(mcp, headers={"X-Agent-Id": str(kp.pubkey()), **h}, json={"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "audit_solana_token", "arguments": {"mint": mint}}}, timeout=15).json()
audit = call()  # Set lamports=1_400_000 (~$0.10 single 12-layer audit) or 26_000_000 ($1.99 24h Unlimited Pass -> X-Pro-Pass-Token)
if audit.get("error", {}).get("httpStatus") == 402 or audit.get("status") == 402: bh = requests.post(rpc, json={"jsonrpc": "2.0", "id": 1, "method": "getLatestBlockhash", "params": [{"commitment": "confirmed"}]}).json()["result"]["value"]["blockhash"]; sig = requests.post(rpc, json={"jsonrpc": "2.0", "id": 1, "method": "sendTransaction", "params": [base64.b64encode(bytes(Transaction([kp], Message([transfer(TransferParams(from_pubkey=kp.pubkey(), to_pubkey=Pubkey.from_string("89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1"), lamports=1_400_000))], kp.pubkey()), Hash.from_string(bh)))).decode(), {"encoding": "base64"}]}).json()["result"]; time.sleep(2.5); audit = call({"X-Payment-Tx": sig, "X-Solana-Tx-Signature": sig})

Gemini 4 Interactions API — On-Demand Tool Retrieval (defer_loading: true)

Native support for Google's Gemini 3.6+ and Gemini 4 Interactions API Tool Retrieval (Nov 2026). Defer all 12-Layer Rug Shield & SOL Rent Cleaner schemas (~26 idle tokens/tool) until needed in one turn:

from google import genai

client = genai.Client()
interaction = client.interactions.create(
    model="gemini-4-carbon",
    input="Audit this Solana mint across all 12 rug layers and check reclaimable ATA rent.",
    tools=[
        {"type": "tool_search"},
        {
            "type": "mcp_server",
            "name": "solana_rent_rug_shield",
            "url": "https://rentandrugshield.com/mcp",
            "defer_loading": True,
        },
    ],
)

Reviews

No reviews yet

Be the first to review this server!