io.github.CSOAI-ORG/agent-commerce-protocol-mcp
Agent Commerce Protocol MCP — bridges Stripe ACP + Google AP2 + Coinbase x402 for agent payments
Versions
1.0.10latestTools 7
discover_acp_merchants List Stripe-ACP-compatible merchants, optionally filtered by category. Args: category: Optional filter — "software", "groceries", "compliance", etc. Returns: {merchants: [{id, name, category, supports_protocols}]}
prepare_payment_intent Build a Stripe ACP payment intent payload ready for merchant submission. Args: merchant_id: ACP merchant identifier (from discover_acp_merchants). items: List of {sku, name, quantity, unit_amount_minor} dicts. currency: ISO 4217 code, default GBP. buyer_did: Optional W3C DID identifying the buying agent (for trust chain). Returns: Payment intent payload conforming to Stripe ACP spec.
sign_payment_intent HMAC-sign a payment intent and prepare it for submission to the merchant. Args: intent: Payment intent payload from prepare_payment_intent(). Returns: {intent, signature, verify_url, audit_chain_entry}
verify_acp_response Verify the merchant's ACP completion response (signature, status, intent match). Args: response: Merchant ACP response (status, signature, payment_id, etc.). expected_intent_id: Optional intent ID from sign_payment_intent for cross-check. Returns: {verified, status, issues, audit_chain_entry}
bridge_to_ap2_mandate Convert a Stripe ACP intent into a Google AP2 Mandate envelope so the same purchase can be settled through the Google + Mastercard + PayPal + Adyen AP2 coalition rails. Args: intent: Stripe ACP intent from prepare_payment_intent(). user_consent_jwt: Optional pre-signed user consent JWT (verifiable credential). Returns: AP2-compliant mandate envelope.
bridge_to_x402_paywall Convert a Stripe ACP intent into a Coinbase x402 HTTP-402 payment-required response, for pay-per-call agent settlement without a Stripe account. Args: intent: Stripe ACP intent from prepare_payment_intent(). Returns: HTTP-402 response shape with settlement instructions.
list_supported_protocols List the agent-payment protocols this MCP can bridge.
Permissions 3
network medium filesystem low env_vars low