
Solana Rent & Rug Shield MCP Gateway
com.rentandrugshield由 rentandrugshield.com 发布官方发布者v1.0.0更新于 Nov 17, 2026
Solana 10-layer token rug audit, CPI tx drain simulator, and ATA rent scanner via x402.
概览
Solana 安全网关,让助手审计代币跑路风险、模拟交易排查盗币行为,并扫描钱包中可回收的租金。
- 可以做什么
- 对 Solana 代币铸造地址做十层安全审计,返回 0 到 100 的安全评分与风险标记
- 模拟序列化交易,检查内部 CPI 调用中的权限接管、委托盗取和 SOL 转移
- 扫描公开钱包地址,找出空 SPL 与 Token-2022 代币账户中可回收的租金
- 返回 x402 支付挑战,并在重试时接受支付签名或 Pro Pass 令牌
- 适用场景
- 适合处理 Solana 代币与交易的智能体或开发者,用于买入前安全检查、签名前交易审查,或只读查看钱包中未领取的租金。
- 运行要求
- 远程 Streamable HTTP 端点,或通过 npx 使用 npm 包、通过 pip/uvx 使用 PyPI 包(需 Node.js 20+ 或 Python)。可选环境变量:RENTSHIELD_API_URL、X402_OPTION、RENTSHIELD_PRO_PASS_TOKEN、SOLANA_RPC_URL,以及用于自动支付的 SOLANA_PRIVATE_KEY 或 X402_SOLANA_PRIVATE_KEY。需要访问网关与 Solana 主网。
安装
在 SourceWeft 中
- 打开 控制台中的 Solana Rent & Rug Shield MCP Gateway,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.rentandrugshield%2Fmcp-server/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"solana-rent-rug-shield-gateway": {
"type": "http",
"url": "https://rentandrugshield.com/mcp"
}
}
}README
Solana Rent & Rug Shield MCP Gateway (@rentandrugshield/mcp-server & solana-rug-shield)
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), andregistry/mcp_so_submission.json(MCP.so).
Distribution Packages
- TypeScript / NPX MCP Server:
@rentandrugshield/mcp-server(npx -y @rentandrugshield/mcp-serveror binaryrentandrugshield-mcp) - Python / PyPI SDK & MCP Server:
solana-rug-shield(pip install solana-rug-shieldwith built-in MCPstdioserver mode and sync/async Python SDK) - Production Upstream Gateway: https://rentandrugshield.com
- Official MCP Registry Namespace:
io.github.sonnyman2014/solana-rent-rug-shield-mcpandcom.rentandrugshield/mcp-server
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:
- Zero-Install Streamable HTTP Endpoint:
https://rentandrugshield.com/mcp(MCP 2025-03-26and2024-11-05) - Discovery Manifests:
https://rentandrugshield.com/.well-known/mcp.jsonandhttps://rentandrugshield.com/.well-known/x402 - Solana
x402V1 & V2 Auto-Pay: 10 free pings perX-Agent-Id, then0.026 SOL($1.99Unlimited Pro Pass) or0.0003 SOL(~$0.02single scan) to89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1viaPAYMENT-SIGNATUREorX-Payment.
Quick Start Commands
Launch via NPX (@rentandrugshield/mcp-server)
Install and Launch via PyPI (solana-rug-shield)
Direct Python SDK Usage (solana-rug-shield)
Direct GitHub Release v1.0.0 Install (Zero Registry Wait)
Core Solana Security Tools (3 MCP Tools)
1. audit_solana_token_10_layer (<120ms Pre-Buy Token Safety Gate)
- Purpose: High-speed
<120mswarm-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. - 10 Security Layers Evaluated: 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, and live sellability verification (returning a
0to100safety score plus actionable risk flags). - Inputs:
mint(required base58 mint address), optionalpool_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 (
base64orbase58) and inspects full Layer 9 Inner Cross-Program Invocations (Inner CPI) before an agent or user wallet signs. - Threats Blocked: Stealth
SetAuthorityaccount ownership takeovers, hidden SPL / Token-2022Approvedelegate drains, multi-hop wrapper program SOL sweeps, and malicious CPI callback hooks disguised inside benign swap instructions. - Inputs:
transaction(required serialized transaction), optionalwallet,encoding(base64orbase58),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) andToken-2022Associated Token Accounts (ATAs), dust accounts, and PumpSwap / Pump volume accumulator PDAs. - Safety Guarantee: Requires only a public base58
walletaddress; never requests private keys for scanning and reports exact account counts plus net reclaimable SOL (95%user payout structure on https://rentandrugshield.com). - Inputs:
wallet(required base58 wallet address), optionalinclude_token_2022(boolean, defaulttrue),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,000lamports,$1.99Unlimited Pro Pass). Issues a signedX-Pro-Pass-Tokencached automatically by@rentandrugshield/mcp-serverandsolana-rug-shieldso all subsequent tool calls resolve200 OKwith zero per-call settlement overhead. - Option B (
option_b_single_scan/ Instant Single Scan):0.0003 SOL(300,000lamports,$0.02single 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(orX402_SOLANA_PRIVATE_KEY) is configured in the MCP environment, both@rentandrugshield/mcp-serverandsolana-rug-shieldautomatically build and broadcast the exact SOL transfer to89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1, attach the base64X-Paymentpayload plusX-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
x402challenge instructions so human operators or external signers can passpayment_signatureorpro_pass_tokendirectly on retry.
Environment Variables
RENTSHIELD_API_URL: Upstream gateway base URL (defaults tohttps://rentandrugshield.com).SOLANA_PRIVATE_KEY: Optional base58 string or JSON byte array[...]for automaticx402HTTP 402 SOL settlement.X402_SOLANA_PRIVATE_KEY: Optional dedicated alias forSOLANA_PRIVATE_KEY.X402_OPTION: Selectoption_a_pro_pass(0.026 SOL$1.99Unlimited Pro Pass, default) oroption_b_single_scan(0.0003 SOL$0.02single scan).RENTSHIELD_PRO_PASS_TOKEN: Optional pre-provisionedX-Pro-Pass-Tokenfor instant unlimited Pro Pass access.SOLANA_RPC_URL: Solana Mainnet RPC URL used when broadcasting automaticx402transfers (defaults tohttps://api.mainnet-beta.solana.com).
Client and Agent Framework Configurations
1. Claude Desktop (claude_desktop_config.json)
Option 1A: Node / NPX (@rentandrugshield/mcp-server)
Option 1B: Python / PyPI (solana-rug-shield)
2. Cursor (.cursor/mcp.json)
3. Windsurf (~/.codeium/windsurf/mcp_config.json)
4. Cline (cline_mcp_settings.json)
5. OpenAI Agents SDK (openai-agents)
6. LangChain (langchain-mcp-adapters & solana-rug-shield)
License and Links
- License: MIT
- Production Web App & API: https://rentandrugshield.com
- Source Repository: https://github.com/sonnyman2014/solana-rent-rug-shield-mcp
- Solana
x402Treasury:89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1
来源:README.md,提交 27aa6a6
工具
0版本历史
1- v1.0.0最新Nov 17, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分