Falcon Shield
Pre-sign Solana tx guard for agents: ALLOW/WARN/BLOCK verdict, x402 USDC pay-per-call.
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~515token 数(工具定义)
~5.1 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.40%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"falcon-shield": {
"url": "https://falcon-shield.falcon-sol.workers.dev/mcp"
}
}
}远程端点
https://falcon-shield.falcon-sol.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢shield_guard_check(tx, wallet, known_addresses, quote, cap_base_units, ...)
Use this before an agent or wallet signs a Solana transaction. Decodes the unsigned or signed transaction and returns NO_MATCH (no known-bad pattern matched; not a safety guarantee), WARN, or BLOCK, with plain-language reasons and a signed receipt. Pass an x402 quote to also check a payment transaction against it (overpay, approve-instead-of-transfer, unchecked Transfer, wrong payee). Errors return ERROR and are never charged. Price $0.009 USDC (x402, Solana).
输入模式
{
"type": "object",
"properties": {
"tx": {
"type": "string",
"description": "Base64 wire transaction (also accepts an RPC getTransaction result)."
},
"wallet": {
"type": "string",
"description": "Your own pubkey; only this key is treated as 'you'."
},
"known_addresses": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200,
"description": "Optional: pubkeys you have recently paid or received from. A recipient that only looks like one of these (same first/last characters) is flagged as address poisoning."
},
"quote": {
"type": "object",
"description": "x402 quote the tx pays: {asset, amount, pay_to | pay_to_token_account, decimals?, token_program?}."
},
"cap_base_units": {
"type": "integer",
"description": "Hard per-payment cap enforced even if the quote asks for more."
},
"caps": {
"type": "object",
"description": "Optional spend caps you declare; any violation returns BLOCK. Keys: max_amount (int base units per outflow), max_amounts ({mint|'SOL': int}), max_total (int per asset), allowed_payees ([pubkey]; owners' ATAs match), allowed_assets ([mint|'SOL']), allow_approvals (bool, default false)."
},
"simulate": {
"type": "boolean",
"description": "Simulate against Solana mainnet (Helius RPC, sigVerify off, recent blockhash replaced, never submitted). Default true; false = static checks only. If simulation fails the verdict is at least WARN, except plain System/Token/ATA/ComputeBudget/Memo transactions with no unresolved lookup tables, which are fully decoded statically. Third-party unlimited approvals BLOCK by default. Response includes risk_score (0-100), basis (simulated|static) and top_reason."
},
"strict": {
"type": "boolean",
"description": "Escalate HIGH-risk token approvals (unlimited or third-party delegate) from WARN to BLOCK. Default false."
}
},
"required": [
"tx"
]
}社区
证据
最近观测
已验证未记录版本1 个工具