AgentCore Gateway
by Futusio
README.md
# Agentic checkout with MONEI as the PSP
A prototype that answers one question: **what does AWS AgentCore Payments' agentic checkout look like when the payment provider is MONEI?**
AWS shipped agentic checkout in November 2026 with connectors for Stripe, PayPal and Amazon Pay only, so a merchant who wants Bizum cannot plug MONEI in. This repo rebuilds the same control points on AWS Lambda with MONEI in the connector's place. An AI agent builds the order, the shop sets the price, a human approves, and MONEI takes the payment. **AgentCore Gateway** is the public MCP entrance for outside agents.

## Try it
Add this address to Claude Code, Claude or ChatGPT as an MCP server with no sign-in, and ask for "something sweet to go with coffee, under 4 EUR":
```
https://monei-lab-shop-98jpuimaox.gateway.bedrock-agentcore.eu-north-1.amazonaws.com/mcp
```
The agent returns a priced order and an approval link. Open the link, approve, and pay with Bizum test phone `+34500000000`. It runs in MONEI test mode: no real money moves.
The same backend serves a [shop page](https://futusio.github.io/monei-agentic-checkout-lab/) with its own assistant. It needs an access code: ask me for it.
## What it is not
- **Not an integration with AgentCore Payments.** `CreatePaymentManager` is denied on my AWS account, so of the AgentCore services only Gateway is really in the path.
- **Not production code.** It is a learning prototype, written with Claude Code. I reviewed it and can explain the decisions.
## Details
- [Comparison with AgentCore Payments](docs/agentcore-comparison.md), step by step, and where this prototype is weaker
- [Architecture](docs/architecture.md): six functions, each with its own IAM role
- [Decisions](docs/decisions.md) and the payment rules they answer to
- [What was verified](docs/verification.md): live payments and 222 unit tests
- [Known gaps](docs/known-gaps.md)
- [Run it yourself](docs/run.md)
MIT, see [LICENSE](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessOutdated data