
Mcp Paypal
io.github.codesparPublished by GitHub account codesparv0.1.2Updated Oct 24, 2026
MCP server for PayPal — global payments + payouts: Orders v2, Payments, Subscriptions, Disputes
The publisher's own server: Paypal
Overview
Local MCP server that lets an assistant create, capture, refund and pay out PayPal payments, manage subscriptions and handle disputes via the PayPal REST API.
- What you can do
- Create, fetch, authorize and capture PayPal orders, and capture or void authorizations
- Refund captured payments and look up payment details
- Create and inspect batch payouts and individual payout items
- Create, fetch and cancel billing subscriptions
- List and fetch disputes, and accept a dispute claim
- List app webhooks and verify webhook event signatures
- When to use it
- Useful for merchants or marketplaces with a PayPal business account that want an assistant to drive checkout, payouts, subscriptions and dispute handling, ideally starting in the sandbox environment.
- Requirements
- Runs locally as an npm package over stdio (npx @codespar/mcp-paypal); desktop client only. Needs a PayPal REST app client id and secret in PAYPAL_CLIENT_ID and PAYPAL_CLIENT_SECRET, plus PAYPAL_ENV set to sandbox (default) or live. Network access to PayPal's API endpoints.
Installation
In SourceWeft
- Open Mcp Paypal in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@codespar/mcp-paypal
MCP server for PayPal — global payments and payouts via the PayPal REST API.
Target customer: LatAm SaaS / marketplaces selling globally that already hold a PayPal merchant account and want agent-driven checkout, payouts, subscriptions, and dispute handling.
Tools (19)
Install
Environment
Endpoints:
sandbox->https://api-m.sandbox.paypal.comlive->https://api-m.paypal.com
Authentication
PayPal REST APIs use OAuth2 client_credentials. The server posts CLIENT_ID:CLIENT_SECRET (Basic auth) to /v1/oauth2/token with grant_type=client_credentials and caches the bearer token until 60s before expiry, refreshing on demand.
Run
Notes
- Amounts are objects in PayPal REST:
{ "currency_code": "USD", "value": "10.50" }. Values are decimal strings. - The server forwards arbitrary REST body fields verbatim under
bodyfor tools that accept them, so any field documented in the PayPal REST reference can be passed even if it's not in the MCPinputSchema. - For payment captures / refunds the
PayPal-Request-Idheader (idempotency) is forwarded when supplied.
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Source: packages/payments/paypal/README.md at commit d0a519a
Tools
0Version history
1- v0.1.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Paypal integrations
Paypal
com.paypal.mcpOfficial publisher
A remote PayPal MCP server that gives an AI assistant access to PayPal services and operations.

PayPal, guarded
Published by GitHub account Fizzl13
PayPal Agent Toolkit MCP server that lets an assistant read and act on a PayPal business account, with a guard that limits refunds and asks the owner to…

Paypal Mcp
Published by GitHub account mrfentmen
Query PayPal sandbox: orders, captures, billing plans. Sandbox only.

Paypal
Published by GitHub account pipeworx-io
Read-only PayPal access through the Pipeworx gateway: lets an assistant list transactions, orders, invoices and disputes, plus route other data questions.

Paypal Mcp Server
Published by GitHub account paypal
Local PayPal MCP server that lets an assistant create and manage invoices, orders, payments, refunds, disputes, subscriptions and products via PayPal APIs.