Production payment infrastructure for AI agents — real Stripe/Paystack/Lightning rails, autonomous shopping with escrow, Agent Credit Score
Mnemopay Sdk MCP server is a hosted integration for AI assistants that speak the Model Context Protocol. Production payment infrastructure for AI agents — real Stripe/Paystack/Lightning rails, autonomous shopping with escrow, Agent Credit Score (300-850), Ed25519 identity, behavioral finance, Merkle integrity, anomaly detection.
MnemoPay sits above the rail (Stripe, Paystack, Lightning, Stripe MPP, x402, Google AP2) and below the agent runtime (LangChain, CrewAI, Claude Agent SDK, your own loop). The rail moves money. The runtime decides. MnemoPay declares the rules, enforces the budget, and produces the evidence.
Once Mnemopay Sdk is connected, these are the calls the assistant has available:
first-success — returns the output of the first ok:true task; perfect for race patterns where any answer is finemajority-vote — returns the most-common output across ok:true tasks; perfect for fact-extraction where consensus mattersmerge-json — deep-merges every ok:true object output with sorted keys (deterministic across runs)concat — joins string outputs with \n in spawn orderSub — cent payments** via Lightning rail (impossible on Stripe/Paystack due to fees)Per — tool metering** with agent.charge(amount, toolName) — two lines of codeConsolidation — auto-prunes weak memories, keeps what mattersDouble — entry bookkeeping** — every debit has a credit, always balances to zeroVolume — tiered fees** — 1.9% / 1.5% / 1.0% based on cumulative volumeCent — precise integer math** — stress-tested with 200,000 transactions across 50 concurrent agents, zero driftRail — What it isFeature — MnemoPayYou will need one environment variable: DATABASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
This sits in the payments and commerce group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Mnemopay Sdk's toolset — first-success, majority-vote, merge-json and 11 more — is a fair guide to whether it matches your workflow. It is maintained by mnemopay; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Mnemopay Sdk's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| first-success | returns the output of the first ok:true task; perfect for race patterns where any answer is fine. |
| majority-vote | returns the most-common output across ok:true tasks; perfect for fact-extraction where consensus matters. |
| merge-json | deep-merges every ok:true object output with sorted keys (deterministic across runs). |
| concat | joins string outputs with \n in spawn order. |
| Sub | cent payments** via Lightning rail (impossible on Stripe/Paystack due to fees) |
| Per | tool metering** with agent.charge(amount, toolName) — two lines of code |
| Consolidation | auto-prunes weak memories, keeps what matters |
| Double | entry bookkeeping** — every debit has a credit, always balances to zero |
| Volume | tiered fees** — 1.9% / 1.5% / 1.0% based on cumulative volume |
| Cent | precise integer math** — stress-tested with 200,000 transactions across 50 concurrent agents, zero drift |
| Rail | What it is |
| Feature | MnemoPay |
| Score | **10/10** |
| Component | Weight |
{
"mcpServers": {
"mnemopay-sdk": {
"command": "npx",
"args": ["-y", "@mnemopay/swarm"],
"env": {
"DATABASE_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| DATABASE_URL | Endpoint or connection string the server talks to. | Yes |
Payments infrastructure meets AI — customers, invoices, subscriptions and current API docs from Stripe's server.
Build for Shopify with current APIs — the official Dev MCP server for schema-accurate storefront and admin code.
Give your AI assistant a supervised window into your Interactive Brokers account — balances, positions, live quotes and orders.
Invoices, payments and disputes through PayPal's official server — commerce operations by conversation.
Enables querying and listing Azure resources and costs directly from an MCP client.
Empowers LLMs with Bitcoin Lightning Network payment capabilities via the ZBD API.