Paypal MCP Server logo

Paypal MCP Server

Connects AI agents to PayPal for invoices, orders, refunds, disputes, products, subscriptions, tracking, and transactions.

Install Paypal MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "paypal-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@paypal/mcp"
      ],
      "env": {
        "PAYPAL_ACCESS_TOKEN": "YOUR_VALUE_HERE",
        "PAYPAL_ENVIRONMENT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @paypal/mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 13d ago.

Overview

The paypal-mcp-server MCP server exposes PayPal API operations through MCP tools for invoices, orders, refunds, disputes, products, subscriptions, shipment tracking, and transaction reporting. It runs through the @paypal/mcp package with npx and authenticates using a PayPal access token, targeting either the sandbox or production environment. Reach for it when an MCP-compatible host needs to inspect or manage PayPal business operations through function calls.

Use cases

  • Manage PayPal invoices from an MCP-compatible assistant
  • Process orders and refunds through PayPal tools
  • Review and respond to open PayPal disputes
  • Manage PayPal products and subscription plans
  • Inspect PayPal transactions and shipment tracking

Key features

  • Invoice creation, delivery, reminders, cancellation, and QR codes
  • Order payment and refund operations
  • Dispute and shipment tracking management
  • Product catalog management
  • Subscription plan and subscription management
  • Paginated and filtered invoice, product, and transaction listing

Tools30

What Paypal MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~403 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

8/8 checks healthy over the last 51d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4h ago via OSV.dev · @paypal/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
npm downloads2.7kPackage downloads in the last 30 days.
Last commit12mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed30Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Paypal MCP Server works

What paypal-mcp-server does

The paypal-mcp-server MCP server connects an MCP host to PayPal APIs through the @paypal/mcp package. Its tools cover operational tasks across several PayPal areas rather than only payment capture. Agents can create, inspect, send, remind on, cancel, and generate QR codes for invoices. They can also create and retrieve orders, pay authorized orders, issue refunds, and inspect refund details.

Dispute tools list open disputes, retrieve an individual dispute, and accept a dispute claim. Shipment tools create and retrieve tracking records. Catalog tools manage products, while subscription tools handle plans and subscriptions, including updates and cancellation. A transaction-listing tool provides filtered or paginated transaction results.

How it works

The paypal-mcp-server MCP server is launched as a command-line process with npx and communicates with an MCP host such as Claude Desktop, Cursor, or Cline. The host configuration starts npx -y @paypal/mcp --tools=all; credentials are supplied through environment variables or, for the access token, through the command-line configuration described in the project documentation.

Each exposed function maps to a PayPal operation. Listing functions can accept pagination and filtering where supported. Actions that change PayPal data include creating invoices, sending invoices, paying orders, creating refunds, accepting dispute claims, updating products or plans, and cancelling invoices or subscriptions.

Setup and configuration

Install Node.js 18 or newer, then provide a PayPal access token. The documented environment variables are PAYPAL_ACCESS_TOKEN and PAYPAL_ENVIRONMENT. Set the environment value to SANDBOX for testing or PRODUCTION for live use; sandbox is the default when no environment value is supplied.

A minimal MCP host entry uses the following structure:

config.json
{
  "mcpServers": {
    "paypal": {
      "command": "npx",
      "args": ["-y", "@paypal/mcp", "--tools=all"],
      "env": {
        "PAYPAL_ACCESS_TOKEN": "YOUR_PAYPAL_ACCESS_TOKEN",
        "PAYPAL_ENVIRONMENT": "SANDBOX"
      }
    }
  }
}

Generate the token from PayPal credentials using a PayPal Developer account for sandbox access or a PayPal Business account for production access. PayPal access tokens expire, so deployments should account for token renewal. Restart the MCP host after changing its configuration.

Tools and capabilities

The paypal-mcp-server MCP server provides the following capability groups:

  • Invoices: create, list, retrieve, send, remind, cancel, and generate QR codes.
  • Payments: create and retrieve orders, pay authorized orders, and create or retrieve refunds.
  • Disputes: list open disputes, inspect a dispute, and accept a claim.
  • Shipment tracking: create and retrieve tracking records.
  • Catalog: create, list, inspect, and update products.
  • Subscriptions: create, list, inspect, update, and cancel plans or subscriptions.
  • Reporting: list transactions with optional pagination and filtering.

Tool access is enabled with --tools=all in the documented launch command.

Limitations and notes

The server requires a valid PayPal access token and the correct environment selection. Sandbox and production use different PayPal contexts, and actions performed in production can affect real PayPal data. The documentation states that generated AI content may be inaccurate or incomplete; results should therefore be independently verified before relying on them.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Paypal MCP Server

paypal-mcp-server is an MCP server that connects MCP-compatible AI hosts to PayPal APIs. Its main tools manage invoices, orders, refunds, disputes, shipment tracking, products, subscription plans, subscriptions, and transaction listings. It runs with the @paypal/mcp package and authenticates with a PayPal access token.

Run it through npx with Node.js 18 or newer: `npx -y @paypal/mcp --tools=all`. Configure the command in your MCP host and provide `PAYPAL_ACCESS_TOKEN`; `PAYPAL_ENVIRONMENT` can select sandbox or production.

Yes, paypal-mcp-server works with Cursor. Add the documented npx command and its environment variables to Cursor's MCP configuration, then restart the host after saving the changes.

Set `PAYPAL_ENVIRONMENT` to `SANDBOX` and provide a sandbox PayPal access token in `PAYPAL_ACCESS_TOKEN`. Sandbox tokens can be generated from a PayPal Developer account and are intended for stage testing.

It supports invoice, order, refund, dispute, shipment tracking, product, subscription, and transaction operations. The available tools include both read operations, such as listing and retrieving records, and actions such as sending invoices, paying orders, accepting claims, and cancelling subscriptions.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPaypal MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/paypal-mcp-server?style=directory)](https://allmcps.com/mcp/paypal-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/paypal-mcp-server"><img src="https://allmcps.com/api/badge/paypal-mcp-server?style=directory" alt="Paypal MCP Server on AllMCPs" /></a>