Paypal MCP server
MCP server for PayPal — global payments + payouts: Orders v2, Payments, Subscriptions, Disputes
271 stars24 downloads/wk
Reviews
Write oneNobody has reviewed Paypal yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Paypal tools (19, 8 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
accept_dispute_claimAccept liability for a dispute claim via POST /v1/customer/disputes/{id}/accept-claim. The disputed amount is refunded to the buyer. Terminal action.
authorize_orderwrite actionAuthorize payment for an approved order via POST /v2/checkout/orders/{id}/authorize. Use after the buyer approves an order with intent=AUTHORIZE. Returns the created authorization (capture later with capture_authorization).
cancel_subscriptionwrite actionCancel an active subscription via POST /v1/billing/subscriptions/{id}/cancel. Pass a reason string. Returns 204 No Content on success.
capture_authorizationCapture a previously authorized payment via POST /v2/payments/authorizations/{id}/capture. Pass an amount object for partial captures, or omit to capture the full authorized amount. Set final_capture=true on the last partial capture.
capture_orderwrite actionCapture payment for an approved order via POST /v2/checkout/orders/{id}/capture. Use after the buyer approves an order with intent=CAPTURE. Returns the captured payment details.
create_batch_payoutwrite actionCreate a batch payout via POST /v1/payments/payouts. sender_batch_header carries metadata; items is an array of payout_item objects each with recipient_type, amount { currency, value }, receiver, and note. Async — poll get_payout to track status.
create_orderwrite actionCreate a PayPal Order via POST /v2/checkout/orders. Pass intent ('CAPTURE' or 'AUTHORIZE') and purchase_units (each with an amount object). Returns the order with id, status, and HATEOAS links (including the approve URL for the buyer).
create_subscriptionwrite actionCreate a billing subscription via POST /v1/billing/subscriptions. plan_id is the id of a previously created billing plan. Returns the subscription with status (APPROVAL_PENDING) and HATEOAS approve link for the buyer.
get_disputeFetch a dispute by id via GET /v1/customer/disputes/{id}. Returns full dispute details including reason, status, life_cycle_stage, disputed_transactions, and messages.
get_orderwrite actionFetch a PayPal Order by id via GET /v2/checkout/orders/{id}. Returns the full order including status, purchase_units, and payments collection.
get_payment_detailsFetch a payment object by id via GET /v2/payments/{type}/{id}. type is one of 'authorizations', 'captures', or 'refunds'. Returns the full payment object with status and links.
get_payoutFetch a payout batch by id via GET /v1/payments/payouts/{batch_id}. Returns batch_header (status, time_created, etc.) and items array with per-item status.
get_payout_itemFetch a single payout item by id via GET /v1/payments/payouts-item/{item_id}. Use to inspect the status of one recipient inside a batch (UNCLAIMED, SUCCESS, FAILED, etc).
get_subscriptionFetch a subscription by id via GET /v1/billing/subscriptions/{id}. Returns id, status, plan_id, subscriber, billing_info, and links.
list_disputesList disputes via GET /v1/customer/disputes. Filter by disputed_transaction_id, dispute_state, update_time_before / update_time_after. Pagination via page_size and next_page_token.
list_webhooksList configured webhooks for the app via GET /v1/notifications/webhooks. Returns each webhook with id, url, and event_types.
refund_capturewrite actionRefund a captured payment via POST /v2/payments/captures/{id}/refund. Pass an amount object for partial refunds, or omit for a full refund. Idempotent via PayPal-Request-Id.
verify_webhook_signatureVerify a webhook event signature via POST /v1/notifications/verify-webhook-signature. Pass the headers and body received on your webhook endpoint. Returns verification_status SUCCESS or FAILURE.
void_authorizationVoid (release) an unsettled authorization via POST /v2/payments/authorizations/{id}/void. Use when funds were authorized but will not be captured. Returns 204 No Content on success.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan5 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 qualitystatic API keys via environment variables6/15
- Maintenancelast push 29 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Paypal compares
Against every graded E-commerce MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 75% of 2,174 E-commerce servers
- Tools
- 19
- the typical E-commerce server has 6
- Tools that change things
- 42%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 271
- more than 95% of 1,047 E-commerce servers
- Downloads a week
- 24
- more than 10% of 411 E-commerce servers with a package
What its tools let an agent do: 11 read · 3 create · 4 change · 1 delete
Install Paypal in Claude Code, Cursor or VS Code
Runs npx -y @codespar/mcp-paypal on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-paypal -- npx -y @codespar/mcp-paypal
What the publisher says
From the Paypal repository's README, as published. We do not edit it. Read it on GitHub
MCP Dev LATAM 🌎 Every commerce API your AI agent needs to run a business in Latin America. Brazil 🇧🇷 · Mexico 🇲🇽 · Argentina 🇦🇷 · Colombia 🇨🇴 · Chile 🇨🇱 · Peru 🇵🇪 · plus 4 agentic payment protocols. MCP servers for LATAM commerce · live in the official MCP Registry · MIT License Machine-readable catalog: codespar.dev/api/servers Catalog · Quick Start · Agentic Protocols · All Servers · Contribute
The Problem
AI agents can write code, analyze data, and chat. But they can't operate a business — collect payments, issue invoices, ship products, or notify customers. Especially not in Latin America, where every service has its own API, auth pattern, and quirks (mTLS for BACEN Pix v2, JWT-RSA for STP-SPEI, AFIP web services, contract-gated developer portals, and on).
Meanwhile, four agentic payment protocols are shipping in parallel — checkout protocols (Stripe ACP, Google UCP), authorization layers (AP2), and micropayment rails (x402) — and none of them compose cleanly with each other or with the regional rails businesses actually run on.
MCP Dev LATAM bridges both gaps. Traditional LATAM services + the new agentic payment protocols, all accessible through a single MCP interface.
The Solution
Each MCP server in this repo wraps a real provider — payments, fiscal, logistics, messaging, banking, ERP, identity, fraud, crypto, and the agentic protocols — so your agent can operate a complete business workflow.
🛒 Customer places order
→ 💳 Agent charges via Pix (Asaas / Mercado Pago / Zoop)
→ 📄 Agent issues NFe (Nuvem Fiscal / Focus NFe / NFe.io)
→ 📦 Agent generates shipping label (Melhor Envio / Skydropx)
→ 📱 Agent sends tracking via WhatsApp (Z-API / WhatsApp Cloud)
→ 📊 Agent records in ERP (Omie / Bling / Tiny)
→ 🏦 Agent reconciles balance (Stark Bank / Itaú / BTG)Six systems. Zero human intervention. One agent.
Agentic Payment Protocols
Four servers for the emerging agentic payment stack:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Paypal: common questions
- Is Paypal MCP server safe?
- Mostly: it is graded B (82/100). Read the Paypal safety report
- How do I install Paypal?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Paypal need an API key?
- Yes. The registry entry asks for
PAYPAL_CLIENT_SECRET. - Is Paypal maintained?
- The last commit was 67 days ago (2026-08-29). The latest release is v0.1.2.
- What can I use instead of Paypal?
- Servers from other publishers that do the same job: Świadectwo Energetyczne 24 MCP server, Dodo Payments MCP server and Stripe MCP server.
- How does Paypal compare with other E-commerce MCP servers?
- safety score 82/100 (higher than 75% of 2,174 E-commerce servers); tools 19 (the typical E-commerce server has 6); tools that change things 42% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Paypal
Same job from other publishers: the closest match first, then the best rated.
Świadectwo Energetyczne 24Polish energy performance certificates: pricing, requirements, order, documents, payment linknot reviewedGrowingA- Dodo PaymentsDodo Payments API: payments, subscriptions, customers, products, refunds, licenses, usage.not reviewedGrowingA
- StripeMCP server integrating with Stripe - tools for customers, products, payments, and more.not reviewedEstablishedA
- Polymarket ToolkitRead-only Polymarket data tools for AI agents: profiles, PnL, market scans. No keys, no orders.not reviewedEstablishedB
- Sv NumberPhone numbers for AI agents: order a private number, read the SMS verification code, hand it back.not reviewedEstablishedB