Server data from the Official MCP Registry
3-node x402 consensus credit scoring swarm and AgentMail threat alerts on Base USDC.
About
3-node x402 consensus credit scoring swarm and AgentMail threat alerts on Base USDC.
Remote endpoints: streamable-http: https://x402-crediting-swarm.vercel.app/mcp
Security Report
The server has a major authentication/payment bypass risk: the legacy /api/mcp/tools route executes agentmail_send and agentmail_inbox with no x402 payment or auth check and wide-open CORS, and the home client sends a client-controlled fee_paid flag and a simulated X-PAYMENT string that the swarm route may trust. Permissions (network calls to external x402 and AI APIs, env var secrets, and outbound messaging) are broadly consistent with the stated purpose, but the unpaid mail-sending path and the lack of verified payment on the swarm route far exceed what the server should allow. Supply chain analysis found 7 known vulnerabilities in dependencies (0 critical, 1 high severity).
8 files analyzed · 13 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"io-github-kwizzlesurp10-ctrl-x402-crediting-swarm": {
"url": "https://x402-crediting-swarm.vercel.app/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
x402 Crediting Swarm
Three-node swarm (Alpha, Beta, Gamma) that scores x402 Payment Required calls so agentic clients can decide GO / NO-GO before they pay a catalog vendor.
Last commit shipped a Next.js console with real Gemini evaluation and no mocked scores. The leftover mock — a client-side “Pay Fee” boolean the server trusted — is gone. POST /api/swarm is now a real x402 resource: unpaid requests get HTTP 402 with a PAYMENT-REQUIRED challenge; paid requests settle through a facilitator, then the three nodes run.
Mission
Protect agentic buyers from fraudulent micropayment requests. Given an x402 payload plus marketplace metadata, the swarm returns:
- Endpoint identity & reputation verification
- Transaction risk assessment
- Credit score 0–1000 and a definitive GO / NO-GO
| Score | Trust | Recommendation |
|---|---|---|
| 800–1000 | High | GO — safe to auto-pay |
| 500–799 | Moderate | NO-GO (Caution) — confirm or escrow |
| 0–499 | Low / fraud | NO-GO — do not pay |
HTTP surface
| Path | Auth | What |
|---|---|---|
GET / | free | Operator console |
GET /openapi.json | free | AgentCash OpenAPI 3.1 + x-payment-info |
GET /llms.txt | free | Agent-oriented usage brief |
GET /api/swarm | free | Resource catalog (price, network, payTo, body schema) |
POST /api/swarm | x402 $0.05 USDC | Run Alpha + Beta + Gamma, return consensus report |
GET /.well-known/x402 | free | x402 catalog (legacy) |
GET /.well-known/funding.json | free | payTo / network |
Unpaid POST /api/swarm:
HTTP/1.1 402 Payment Required
PAYMENT-REQUIRED: <base64 x402 v2 JSON>
Retry with a signed PAYMENT-SIGNATURE (@x402/fetch, CDP CdpX402Client, or x402-mcp x402.pay_and_fetch).
Body:
{
"caller_id": "agent_web_001",
"payload": {
"endpoint_url": "https://api.example/v1/resource",
"vendor_id": "vendor_crypto_993x",
"requested_amount_sats": 500,
"vendor_history": { "fulfillment_rate": 0.98, "dispute_ratio": 0.01 }
}
}
Local
cp .env.example .env.local
npm install
npm run dev
Open http://localhost:3000. Click Initiate Swarm Evaluation — you should see a 402, not a fake Paid badge. That is success for the unpaid path.
Canonical buyer is AgentCash — agents pay the 402 with the operator wallet, no API keys:
npx agentcash@latest fetch http://localhost:3000/api/swarm \
-m POST --payment-network base --payment-protocol x402 \
-b '{"caller_id":"agentcash","payload":{"endpoint_url":"https://example/v1"}}'
Validate discovery:
npx -y @agentcash/discovery@latest discover http://localhost:3000
npx agentcash@latest discover http://localhost:3000
Public listings (after a Railway HTTPS domain is live):
npx agentcash@latest register https://YOUR-SERVICE.up.railway.app
x402scan register · mppscan register after adding MPP.
Humans can still Pay with wallet (injected EIP-1193) to sign the EIP-3009 USDC authorization.
The swarm itself spends AgentCash USDC on live x402 intel before scoring:
| Source | Call | Price |
|---|---|---|
| SYNTHORA preflight | POST https://x402meta.hergertsynthora.com/service | $0.01 |
| Market Intel payment risk | POST …/v1/x402/payment_risk | $0.01 |
| Market Intel seller score | POST …/v1/x402/seller_score | $0.05 |
If the AgentCash wallet is empty, nodes must not invent Bazaar/payTo facts — they flag insufficient_balance instead. Operator buyer is the x402-mcp hot wallet 0xc22c17Fca624dB679B2471f2Bb099E1E29a46209. That spend key stays local; the Railway seller only has X402_PAY_TO_ADDRESS.
Node evaluation goes through Vercel AI Gateway (AI_GATEWAY_API_KEY). Settlement needs a facilitator that supports the configured network.
Environment
| Variable | Default | Notes |
|---|---|---|
AI_GATEWAY_API_KEY | — | Vercel AI Gateway key for Alpha/Beta/Gamma (provider/model strings) |
SWARM_MODEL | google/gemini-3.8-flash | AI Gateway model id |
X402_PAY_TO_ADDRESS | 0x0d25A44f74868eCE53B305C97139CF4B62963410 | Same payTo as x402-mcp |
X402_EVAL_PRICE | $0.05 | Dollar string; USDC on the network |
X402_NETWORK | auto | eip155:8453 when CDP keys are set, else Base Sepolia eip155:84532. Public listings need mainnet. |
X402_FACILITATOR_URL | auto | CDP when keys are set; PayAI (https://facilitator.payai.network) on mainnet without CDP; else https://x402.org/facilitator |
CDP_API_KEY_ID / CDP_API_KEY_SECRET | — | Ed25519 JWT auth for Coinbase CDP facilitator (same as x402-mcp) |
BASE_URL / PUBLIC_ORIGIN | Railway public URL | Canonical HTTPS origin for OpenAPI servers and 402 resource.url |
Set the CDP keys to sell/settle on Base mainnet. The public host should never hold a spend key.
Swarm config
Node roles and the shared system prompt live in swarm.yaml. The API route inlines the same prompt so Alpha / Beta / Gamma stay aligned with the YAML.
Related
- Protocol: x402
- Seller/buyer MCP already live on Base: kwizzlesurp10-ctrl/x402-mcp
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
