402shield
x402 payment security and pre-execution transaction risk screening for autonomous AI agents.
Should I use this
Quality & Safety
A
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
~258Tokens (tool definitions)
~2.7 KBTypical response size
Minimal attention impact (0.20% of 128k context)
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"402shield": {
"url": "https://four02shield.onrender.com/mcp"
}
}
}Remote endpoints
https://four02shield.onrender.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (1)
🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪preflight_payment(requested, requestId, expected, policy, transaction, ...)
Prepare a paid 402Shield pre-execution safety check. The returned endpoint costs $0.005 USDC via x402 and returns ALLOW, REVIEW, or BLOCK. This MCP adapter does not bypass payment.
Input Schema
{
"type": "object",
"properties": {
"requested": {
"type": "object",
"properties": {
"amountUsd": {
"type": [
"string",
"number"
]
},
"recipient": {
"type": "string"
},
"network": {
"type": "string"
},
"asset": {
"type": "string"
},
"tokenAddress": {
"type": "string"
}
},
"required": [
"amountUsd",
"recipient",
"network",
"asset"
]
},
"requestId": {
"type": "string"
},
"expected": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"policy": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"transaction": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"expectedTransaction": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"transactionPolicy": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"simulateTransaction": {
"type": "boolean"
}
},
"required": [
"requested"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence
Recent observations
verifiedversion not recorded1 tools