Ap2 Iso20022 MCP server
Bridge AP2 / x402 agent-payment mandates into wire-valid ISO 20022 pain.001 / pacs.008 records.
1 stars90 downloads/wk
Reviews
Write oneNobody has reviewed Ap2 Iso20022 yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Ap2 Iso20022 tools (11)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_agent_spend_limitsCheck a proposed agent spend against its caps.
check_mandateCheck a mandate against its guardrails.
get_token_fiat_rateFetch a spot token->fiat rate from the CoinGecko public API.
normalize_ap2Normalise an AP2 mandate into a canonical mandate.
normalize_token_amountNormalise raw base units to a human token amount.
normalize_x402Normalise an x402 payment payload into a canonical mandate.
to_pacs008Convert a mandate into a pacs.008 record.
to_pain001Convert a mandate into a pain.001 record.
validate_eip712_permitValidate an EIP-2612 permit and its deadline.
validate_mandate_expiryCheck a mandate's expiry against a caller-supplied now.
verify_x402_signatureVerify an x402 personal_sign signature over a mandate.
Public scan report
scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it
- Code scan8 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 3 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Ap2 Iso20022 compares
Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 1,761 Finance servers
- Tools
- 11
- the typical Finance server has 8
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 946 Finance servers
- Downloads a week
- 90
- more than 66% of 421 Finance servers with a package
What its tools let an agent do: 11 read
Release history: 2 versions in the registry since 2026-08-29, latest 2026-10-04, typically one every 36 days.
Install Ap2 Iso20022 in Claude Code, Cursor or VS Code
claude mcp add ap2-iso20022 -- uvx ap2-iso20022
What the publisher says
From the Ap2 Iso20022 repository's README, as published. We do not edit it. Read it on GitHub
ap2-iso20022: Agent-payment mandates → wire-valid ISO 20022
Bridge [AP2][ap2] (Google's Agent Payments Protocol) and [x402][x402] (Coinbase's HTTP-402) mandates into ISO 20022 pain.001 / pacs.008 records — with spending-cap, expiry and authorisation guardrails, and an [MCP][mcp] server. These agentic-payment protocols authorise a payment; this library turns that authorisation into the bank-rail message that actually settles it — the rail the card networks and stablecoins don't cover.
Latest release: v0.0.5 — 11 MCP tools over stdio, streamable HTTP or
SSE, pure-Python (only mcp), 100% branch coverage, for Python 3.10+. Output feeds straight into
[pain001][pain001-mcp] / [pacs008][pacs008-mcp] to generate wire-valid XML.
Part of the ISO 20022 MCP suite.
Why
An agent with a signed AP2 mandate (or an x402 payment authorisation) can prove it's allowed to pay — but nothing in those protocols emits the pain.001 a bank needs to move the money. ap2-iso20022 is that missing hop. And because moving money is consequential, it only transforms and validates — producing the ISO record is deliberately separate from generating and sending it, so the actual payment stays an explicit, guarded step.
Install
pip install ap2-iso20022
# or run the MCP server without installing:
uvx --from ap2-iso20022 ap2-iso20022-mcpMCP client config (e.g. Claude Desktop):
{
"mcpServers": {
"ap2-iso20022": {
"command": "ap2-iso20022-mcp"
}
}
}Transports
One command line, three transports:
--host and --port change the bind address (defaults 127.0.0.1 and 8000). The HTTP transports carry no authentication of their own: bind loopback, or put the server behind a gateway you trust before binding a routable address. Every release is verified over streamable HTTP with scout in both protocol eras and over SSE with the MCP SDK client; see ADR 0001.
{
"mcpServers": {
"ap2-iso20022": { "url": "http://127.0.0.1:8000/mcp" }
}
}Flow: normalise → guardrail → convert
from ap2_iso20022 import bridge
# 1. Normalise the protocol payload into a canonical mandate.
mandate = bridge.from_ap2({
"intent_id": "AP2-CoffeeRun-7",
"payer": "Alice's Shopping Agent",
"payer_account": "DE89370400440532013000",
"merchant_name": "Blue Bottle Coffee",
"payee_account": "GB29NWBK60161331926819",
"amount": "12.50", "currency": "EUR", "memo": "oat latte",
"spending_limit": "50.00",
"signature": "eyJ...", "signature_type": "jws",
})
# 2. Guardrail before it becomes a payment.
check = bridge.check_mandate(mandate, as_of="2026-03-02T09:00:00")
assert check["ok"] # required fields ok, within cap, not expired, signed
# 3. Convert to a pain.001 record that feeds pain001 -> wire-valid XML.
record = bridge.to_pain001(mandate) # exact pain001 field names + JSON number amountsTools
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Ap2 Iso20022: common questions
- Is Ap2 Iso20022 MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Ap2 Iso20022 safety report
- How do I install Ap2 Iso20022?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Ap2 Iso20022 need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Ap2 Iso20022 maintained?
- The last commit was 8 days ago (2026-10-27). The latest release is v0.0.7.
- What can I use instead of Ap2 Iso20022?
- Servers from other publishers that do the same job: three.ws Agent Payments MCP server, X402 List MCP server and Pulsefeed X402 MCP server. Compare all Ap2 Iso20022 alternatives.
- How does Ap2 Iso20022 compare with other Finance MCP servers?
- safety score 92/100 (higher than 95% of 1,761 Finance servers); tools 11 (the typical Finance server has 8); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Ap2 Iso20022
Same job from other publishers: the closest match first, then the best rated.
- three.ws Agent PaymentsGoverned x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.not reviewedEstablishedB
- X402 ListFind and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.not reviewedEstablishedA
- Pulsefeed X402Verify x402 payment endpoints before an AI agent pays: scam scan, on-chain checks, trust scores.not reviewedGrowingA
- BlockrunWeb search, deep research, prediction markets & crypto data for AI agents. Pay per call via x402.not reviewedEstablishedB
- Agent402.Tools: pay-per-call web toolsAgentic Finance: 500+ agent tools, multi-chain USDC over x402 or MPP, or free via proof-of-worknot reviewedEstablishedA