Courier
Enables AI agents to verify users/agents and make budget-limited purchases through PayPal, including payment via PayPal links or saved PayPal accounts and support for PayPal sandbox/simulated payments.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Courier gives your AI agents an ID. PayPal verifies you, you add one connector to Claude, and then each thing you ask for is an errand with its own budget ("flowers on Floor Dash, about $20"), at any shop that accepts Courier. Limits are enforced in code. Shops see a verified agent and its limits, not your name.
It's standard MCP and OAuth 2.1, so Claude connects with no custom client.
New here? Start with the Quickstart: the story of one purchase, what works today and what's next.
Try it
You need Node 24 or newer. No keys or accounts are required.
git clone https://github.com/Djbrl/courier.git
cd courier
npm install
npm run demoOpen http://localhost:4000 and click Try the demo. Demo mode uses a clearly labelled PayPal simulator, so no real accounts are involved.
Page | URL |
Courier | |
Release the bots | |
The shops | |
What the shop sees |
To try the real flow with your own Claude and PayPal's test environment, use the hosted site. To test your own code changes that way, follow the local setup.
Related MCP server: Allowance MCP
What it does
Limits live in code. Budget, per-item limit, shop and expiry are enforced before any model runs.
Only you set the budget. You type it in the chat or on Courier. The model can fill in the number, but can't confirm it.
Call it back any time. Revoking takes effect in seconds. Claude stays connected, ready for the next ticket, and you can remove your saved PayPal in Settings.
Try to break it. Release the bots fires eight real attacks at the shop, including forged IDs, stolen tokens, overspending and prompt injection. They also run on every commit.
How it works
flowchart LR
Person([You]) -- "write the ticket" --> Courier
Agent[Claude] -- "OAuth 2.1" --> Courier
Agent -- "MCP + signed ID" --> Shop
Shop -- "may it spend this?" --> Courier
Courier -- "verify, pay" --> PayPalapps/courier The authorization server, spend limits and your app
apps/store Five demo shops, each with its own MCP server
packages/shared PayPal gateway, intent check, visa model, design system
tests Unit tests, an end-to-end run, an official MCP client checkDocs
Quickstart: what Courier does, what works today and what's next
Code walkthrough: follow one purchase through the code, in about 15 minutes
Architecture: the flows, the decisions and a glossary
Live test: run it with the real PayPal sandbox and real Claude
Contributing and Security
Status
Courier is a prototype. It only handles sandbox and simulated money.
Working with real Claude and the PayPal sandbox: connecting, the ticket, paying through a PayPal link and paying with saved PayPal.
Built and tested on the simulator, not yet on the sandbox: the $5 bond.
Next: Runs, where several people's couriers buy one thing together.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Payment infrastructure for AI agents: spending rules, approval flows, single-use virtual cards.
Lets AI agents find, try and buy software inside a budget you set. No passwords or card numbers.
1Spending control for AI agents: approved budgets, a decision before each payment, signed receipts.
Give your AI agent a spending limit: approval controls and single-use virtual cards.
Related MCP Servers
AlicenseAqualityAmaintenanceAI-native payment infrastructure that enables AI agents to make purchases, issue virtual cards, and manage spending within delegated budgets and policy controls.7447 npmMIT
Allowance MCPofficial
FlicenseNot gradedqualityDmaintenanceEnables AI agents to request purchase approval from humans, receive scoped virtual cards, complete checkout, and report receipts for audit.-- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to browse inventory and make purchases under strict human approval, with hard spending caps and auditable on-chain payment records.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI buyers to discover products, create orders, and complete payments across any merchant implementing the protocol, with enforced spending limits, consent checks, prompt-injection sanitization, and an immutable audit trail.-