Signal402 Payment Guard
Allows Amazon Alexa+ agents to buy x402-protected digital resources through a payment guard workflow: pin payment terms, apply policy, request human approval, accept an externally signed wallet payload, verify, retry, and return protected data.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Signal402 Payment GuardPurchase the premium climate-risk signal pack and ask for my approval."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Signal402 Payment Guard for Alexa+
Signal402 lets an Alexa+ agent buy an x402-protected digital resource while the human keeps control of budget, approval, and wallet signing. It is a complete, non-custodial reference implementation: MCP tools, HTTP API, conversational simulator, state machine, x402 v2 validation, hash-chained audit log, DynamoDB persistence, and an AWS App Runner deployment template.
Live flow: HTTP 402 → pin payment terms → apply policy → request approval → accept an externally signed wallet payload → verify → retry → validate receipt.
The bundled demo runs against a deterministic test resource and moves no real funds. Production mode accepts HTTPS x402 resources and externally signed payloads; the service never receives a seed phrase or private key.
Amazon Developer Hackathon 2026
Primary track: Alexa+
Mini challenges: AWS Builder and Open Source
MCP transport: Streamable HTTP at
/mcpMCP SDK: official TypeScript SDK v2
Public license: MIT
Repository: https://github.com/zedili/Signal402-Amazon-Developer-Hackathon
Related MCP server: Allowance MCP
Try the end-to-end demo
Open the public interactive judge demo →
The public page is a deterministic, in-browser TESTNET simulation so judges can complete the flow without an account, API key, wallet, or real funds. The source repository also contains the real MCP Streamable HTTP server, REST API, payment state machine, remote x402 adapters, and AWS deployment path.
For a two-minute technical review, follow the judge guide.
Run the real server locally
npm install
npm run check
npm startOpen http://localhost:3000 and click Run. Approve the policy exception, sign with the in-browser demo wallet, and settle to unlock the protected result.
The demo deliberately requests 6.50 USDC against a 5 USDC autonomous limit so the human-approval boundary is visible. Resetting clears the local in-memory session.
MCP tools
Tool | Purpose |
| Explain whether a proposed payment is allowed, denied, or needs approval. |
| Discover/validate the 402 challenge and create an idempotent intent. |
| Record explicit approval or denial. |
| Accept a wallet-signed payload; never a private key. |
| Verify, retry the resource, validate receipt, and return protected data. |
| Read current state and settlement result. |
| Read the tamper-evident event chain. |
List tools with an MCP client or:
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'REST integration
Mutating endpoints can be protected with SIGNAL402_API_KEY. The browser demo
is intentionally keyless when that variable is absent. Set it for every public
deployment and send it as x-signal402-key from a trusted backend.
curl -X POST http://localhost:3000/api/intents \
-H "Content-Type: application/json" \
-H "x-signal402-key: $SIGNAL402_API_KEY" \
-d '{
"resourceUrl":"demo://premium-climate-risk-signal",
"amount":6.5,
"currency":"USDC",
"purpose":"Premium climate-risk signal pack",
"payee":"0x4020000000000000000000000000000000002026",
"idempotencyKey":"purchase-2026-001",
"policy":{"perTransactionLimit":5,"dailyLimit":25,"dailySpent":0,"trustedPayees":[]}
}'Security properties
Strict state transitions and idempotency prevent duplicate execution.
The server pins amount, payee, resource, network, scheme, and timeout from an x402 v2 challenge before presenting it to a wallet.
HTTPS-only fetching blocks loopback, private, link-local, metadata, credential URLs, and redirects to reduce SSRF risk.
Payment payloads are length-bounded, hashed for audit, and erased after use.
Audit events are chained with SHA-256; DynamoDB can persist them in production.
Helmet CSP/security headers, JSON size limits, optional API-key authentication, and per-IP rate limiting protect the public surface.
See the threat model and architecture.
AWS deployment
Build and push the included container to Amazon ECR, then deploy
infra/aws-apprunner.yaml. The stack creates an App Runner service, DynamoDB
table, least-privilege instance role, generated API secret, health check, and
autoscaling policy.
docker build -t signal402 .
aws cloudformation deploy \
--template-file infra/aws-apprunner.yaml \
--stack-name signal402 \
--capabilities CAPABILITY_NAMED_IAM \
--parameter-overrides ImageIdentifier=ACCOUNT.dkr.ecr.REGION.amazonaws.com/signal402:latestOperational details are in docs/deployment.md.
Documentation
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Pre-execution safety layer for autonomous agent wallets via MCP and x402.
Buy verified human work through MCP with owner-controlled agent spend accounts.
- mcpOAuthai.agentgates
Confidential compute and inference sold to agents over x402 USDC, plus an agent wallet over MCP.
Policy-gated MCP treasury for AI agents — x402 subscribe, 50+ tools, multi-chain.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceBudget & cost control for AI agents: hard per-agent spend caps, rate limits, idempotency, and human-in-the-loop approval — enforced before each LLM call, not after the invoice. One hosted MCP endpoint (no proxy or self-hosting), settled via x402 (USDC on Base).MIT

Allowance MCPofficial
FlicenseNot gradedqualityBmaintenanceEnables AI agents to request purchase approval from humans, receive scoped virtual cards, complete checkout, and report receipts for audit.-- AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover and pay for MCP tools on a sub-cent, pay-per-call basis using x402 and Algorand USDC settlements.9MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to access production-grade paid MCP tools with real on-chain x402 v2 settlement, including EVM wallet risk scoring, payload normalization, and facilitator discovery, all discoverable via Bazaar-compatible metadata.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zedili/Signal402-Amazon-Developer-Hackathon'
If you have feedback or need assistance with the MCP directory API, please join our Discord server