地毯检查-MCP
MCP 服务器可检测 Solana meme 代币中的潜在风险,帮助 AI 代理避免欺诈和不安全的项目。

特征
- 令牌分析工具:
analysis_token
工具从 Solsniffer API 检索并处理 Solana 令牌数据。 - 结构化输出:返回详细的代币信息,包括名称、符号、Snif 分数、市值、价格、供应、风险和审计状态。
先决条件
- Python 3.10 或更高版本
- Solsniffer API 密钥(在Solsniffer注册以获取)
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Rug Check:
npx -y @smithery/cli install @kukapay/rug-check-mcp --client claude
手动安装
- 克隆存储库:
git clone https://github.com/kukapay/rug-check-mcp.git
cd rug-check-mcp
- 安装依赖项:确保已安装
pip
,然后运行:pip install mcp[cli] requests python-dotenv
- 客户端配置:
"mcpServers": {
"rug-check-mcp": {
"command": "python",
"args": ["path/to/rug-check-mcp/main.py"],
"env": {
"SOLSNIFFER_API_KEY": "your_solsniffer_api_key_here"
}
}
}
工具: analysis_token
- 描述:根据 Solana 代币的地址进行分析。
- 输入:
token_address
(字符串)-要分析的 Solana 代币地址。 - 输出:包含以下内容的字典:
token_address
:代币地址token_name
:代币名称token_symbol
:代币符号snif_score
:Solsniffer 风险评分(0-100)market_cap
:市值(美元)price
:代币价格(美元)supply_amount
:代币的总供应量risks
:高、中、低风险详情,包括计数和描述audit_risk
:审计状态(铸造/冻结已禁用、LP 已销毁、前 10 名持有者)
示例输出
对于代币地址9VxExA1iRPbuLLdSJ2rB3nyBxsyLReT4aqzZBMaBaY1p
:
{
'token_address': '9VxExA1iRPbuLLdSJ2rB3nyBxsyLReT4aqzZBMaBaY1p',
'token_name': 'REVSHARE',
'token_symbol': 'REVS',
'snif_score': 55,
'market_cap': 271893.9423965262,
'price': 0.000280011574,
'supply_amount': 971009656.8955618,
'risks': {
'high': {
'count': 3,
'details': {
'Mintable risks found': True,
'Freeze risks found': True,
'A private wallet owns a significant share of the supply': False,
'Tokens auto-freeze risks found': True,
'Significant ownership by top 10 wallets': False,
'Significant ownership by top 20 wallets': False,
'Permanent control risks found': True,
'Presence of token metadata': True,
'High locked supply risks found': None,
'Sufficient liquidity detected': None,
'Very low liquidity': None
}
},
'moderate': {
'count': 3,
'details': {
'Token metadata are immutable': False,
'Token operates without custom fees': False,
'Token has recent user activity': True,
'Unknown liquidity pools': False,
'Low count of LP providers': True
}
},
'low': {
'count': 1,
'details': {
'Contract was not recently deployed': False
}
}
},
'audit_risk': {
'mint_disabled': True,
'freeze_disabled': True,
'lp_burned': False,
'top_10_holders_significant': False
}
}
提示示例
以下是您可能在 MCP 兼容客户端(例如 Claude Desktop)中使用的提示示例以及调用analysis_token
工具后的预期响应。
迅速的:
“您能分析一下地址9VxExA1iRPbuLLdSJ2rB3nyBxsyLReT4aqzZBMaBaY1p
上的 Solana 代币吗?”
回复:
I've analyzed the token at address 9VxExA1iRPbuLLdSJ2rB3nyBxsyLReT4aqzZBMaBaY1p. Here's the summary:
- Token Name: REVSHARE (Symbol: REVS)
- Snif Score: 55/100 (Moderate risk)
- Market Cap: $288,875.29
- Price: $0.000297
- Total Supply: 971,266,696.90 tokens
- Risks:
- High (3 risks):
- Mintable risks found: True
- Freeze risks found: True
- Permanent control risks found: True
- (Other factors: False)
- Moderate (1 risk):
- Low count of LP providers: True
- (Other factors: False)
- Low (0 risks):
- (All factors: False)
- Audit Status:
- Mint Disabled: Yes
- Freeze Disabled: Yes
- LP Burned: No
- Top 10 Holders Significant: No
This token has moderate risks due to potential control issues and liquidity concerns, but minting and freezing are disabled for added safety.
迅速的:
“代币So11111111111111111111111111111111111111112
的风险状况如何?”
回复:
Here's the risk profile for the token at address So11111111111111111111111111111111111111112:
- Token Name: Wrapped SOL (Symbol: SOL)
- Snif Score: 92/100 (Low risk)
- Market Cap: $82,345,678.90
- Price: $176.54
- Total Supply: 466,567,890.12 tokens
- Risks:
- High (0 risks):
- (All factors: False)
- Moderate (0 risks):
- (All factors: False)
- Low (1 risk):
- Minor liquidity concentration: True
- (Other factors: False)
- Audit Status:
- Mint Disabled: Yes
- Freeze Disabled: Yes
- LP Burned: Yes
- Top 10 Holders Significant: No
Wrapped SOL is a low-risk token with strong audit protections and only a minor liquidity concern, typical for a well-established asset.
迅速的:
“告诉我有关令牌4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R
的信息。”
回复:
Here's the analysis for the token at address 4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R:
- Token Name: Raydium (Symbol: RAY)
- Snif Score: 85/100 (Low risk)
- Market Cap: $1,234,567.89
- Price: $4.72
- Total Supply: 261,567,890.12 tokens
- Risks:
- High (0 risks):
- (All factors: False)
- Moderate (1 risk):
- Moderate holder concentration: True
- (Other factors: False)
- Low (0 risks):
- (All factors: False)
- Audit Status:
- Mint Disabled: Yes
- Freeze Disabled: Yes
- LP Burned: Yes
- Top 10 Holders Significant: No
Raydium is a low-risk token with solid audit protections. The moderate holder concentration indicates some centralization, but it’s not a major issue.
执照
本项目遵循 MIT 许可证。详情请参阅许可证。