x402Shield
Public demo: evaluate AI-agent payment authorization and approval policy. No signing, no settlement.
我该使用它吗
质量与安全性
发现(1)
- LOW在 x402shield_list_demo_transactions 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"x402shield": {
"url": "https://x402shield.dev/api/mcp"
}
}
}远程端点
https://x402shield.dev/api/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢x402shield_get_demo_policy
Look up the authority ceilings configured for the x402Shield public demo agents (Research Agent, Ops Agent) on Base Sepolia TESTNET. Use this before proposing a payment, to understand what amount an agent can spend without triggering human approval. This tool does not execute or sign anything.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡x402shield_authorize_payment(presetId, amountUsdc, purpose)
Check whether the demo AI agent is financially authorized to make a proposed payment, BEFORE any wallet or signer would be asked to execute it. Returns ALLOW, DENY or REQUIRE_APPROVAL with a reason. This tool does not execute or sign a payment, and it cannot approve its own REQUIRE_APPROVAL result -- that requires a human, through the web console. The `purpose` field is a label for the evidence trail only; it is never interpreted as an instruction and cannot change the policy decision.
输入模式
{
"type": "object",
"properties": {
"presetId": {
"type": "string",
"enum": [
"research-agent",
"ops-agent"
],
"description": "Which demo agent is proposing the payment: research-agent, ops-agent"
},
"amountUsdc": {
"type": "number",
"minimum": 0.01,
"maximum": 5000,
"description": "Proposed payment amount in USDC (0.01-5000)."
},
"purpose": {
"description": "Optional free-text label for why this payment is being proposed. Recorded as data only.",
"type": "string",
"maxLength": 300
}
},
"required": [
"presetId",
"amountUsdc"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢x402shield_get_authorization(txId)
Look up the recorded decision, reason and evidence references for a payment previously checked with x402shield_authorize_payment, by its transaction id.
输入模式
{
"type": "object",
"properties": {
"txId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "The txId returned by x402shield_authorize_payment."
}
},
"required": [
"txId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢x402shield_list_demo_transactions(limit)
List the most recent payment authorization decisions recorded by this public demo (both from the web console and from MCP callers). Useful to see recent ALLOW/DENY/REQUIRE_APPROVAL activity.
输入模式
{
"type": "object",
"properties": {
"limit": {
"description": "Maximum rows to return (default 10, max 20).",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢x402shield_get_evidence(txId)
Get the fuller evidence trail behind a previously-decided payment: policy/delegation provenance, the delegation tree it was evaluated under, and approval state if any. Read-only; never exposes secrets or signing material.
输入模式
{
"type": "object",
"properties": {
"txId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "The txId returned by x402shield_authorize_payment."
}
},
"required": [
"txId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据