Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP PayPal
Overview
Description from the maker (original English)
MCP server for PayPal — global payments + payouts: Orders v2, Payments, Subscriptions, Disputes
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Online shops & payments
- You need to fill in: PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
PAYPAL_CLIENT_ID,PAYPAL_CLIENT_SECRET,PAYPAL_ENV
Values marked secret are keys to your account. Never share them or paste them into a chat.
You need
- npmNode.js installed (for the npx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"paypal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-paypal"
],
"env": {
"PAYPAL_CLIENT_ID": "your-value",
"PAYPAL_CLIENT_SECRET": "your-value",
"PAYPAL_ENV": "your-value"
}
}
}
}Run this in your terminal
claude mcp add paypal --env PAYPAL_CLIENT_ID=your-value --env PAYPAL_CLIENT_SECRET=your-value --env PAYPAL_ENV=your-value -- npx -y @codespar/mcp-paypalFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"paypal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-paypal"
],
"env": {
"PAYPAL_CLIENT_ID": "your-value",
"PAYPAL_CLIENT_SECRET": "your-value",
"PAYPAL_ENV": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"paypal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-paypal"
],
"env": {
"PAYPAL_CLIENT_ID": "your-value",
"PAYPAL_CLIENT_SECRET": "your-value",
"PAYPAL_ENV": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
- PayPal REST app client id (from developer.paypal.com Apps & Credentials).
- PayPal REST app client secret (OAuth2 client_credentials password).
PAYPAL_ENVenvPayPal environment. 'sandbox' (default, https://api-m.sandbox.paypal.com) or 'live' (https://api-m.paypal.com).
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account codespar, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 1745 servers in this category
- Published to the registry more recently than 14% of the other 1745 servers in this category
- Basic checks equal to or better than 100% of the other 1745 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is MCP PayPal safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (0.1.2) reached the registry 5 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
@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)
| Tool | Purpose |
|---|---|
create_order | Create a PayPal Order via POST /v2/checkout/orders. |
get_order | Fetch a PayPal Order by id via GET /v2/checkout/orders/{id}. |
capture_order | Capture payment for an approved order via POST /v2/checkout/orders/{id}/capture. |
authorize_order | Authorize payment for an approved order via POST /v2/checkout/orders/{id}/authorize. |
capture_authorization | Capture a previously authorized payment via POST /v2/payments/authorizations/{id}/capture. |
refund_capture | Refund a captured payment via POST /v2/payments/captures/{id}/refund. |
void_authorization | Void (release) an unsettled authorization via POST /v2/payments/authorizations/{id}/void. |
get_payment_details | Fetch a payment object by id via GET /v2/payments/{type}/{id}. |
create_batch_payout | Create a batch payout via POST /v1/payments/payouts. |
get_payout | Fetch a payout batch by id via GET /v1/payments/payouts/{batch_id}. |
get_payout_item | Fetch a single payout item by id via GET /v1/payments/payouts-item/{item_id}. |
create_subscription | Create a billing subscription via POST /v1/billing/subscriptions. |
get_subscription | Fetch a subscription by id via GET /v1/billing/subscriptions/{id}. |
cancel_subscription | Cancel an active subscription via POST /v1/billing/subscriptions/{id}/cancel. |
list_disputes | List disputes via GET /v1/customer/disputes. |
get_dispute | Fetch a dispute by id via GET /v1/customer/disputes/{id}. |
accept_dispute_claim | Accept liability for a dispute claim via POST /v1/customer/disputes/{id}/accept-claim. |
list_webhooks | List configured webhooks for the app via GET /v1/notifications/webhooks. |
verify_webhook_signature | Verify a webhook event signature via POST /v1/notifications/verify-webhook-signature. |
Install
npm install @codespar/mcp-paypal
Environment
PAYPAL_CLIENT_ID="..." # REST app client id
PAYPAL_CLIENT_SECRET="..." # REST app client secret (OAuth2) PAYPAL_ENV="sandbox" # 'sandbox' (default) or 'live'
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
# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-paypal
HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-paypal
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