MCP Ecommerce

Other platforms

Does PayPal Have an MCP Server? Use with Claude or ChatGPT

By , Editor, MCP Ecommerce · Published · 7 min read

Lone figure climbs a wide sandstone staircase inside a sculpted, curved beige hall lit by a skylight

The short answer

Yes. PayPal publishes an official MCP server in two forms: a local server you run with npx, and a PayPal-hosted remote server you sign into with your PayPal login. Both expose PayPal tools such as invoices, orders, refunds, disputes and reporting to MCP clients like Claude. Start in the sandbox, and keep production access limited.

Yes, PayPal has an official MCP server. MCP (Model Context Protocol) is an open standard that lets AI assistants such as Claude connect to external tools and data. PayPal's version lets a merchant ask an assistant to work with PayPal in plain language, for example to list invoices or look at recent transactions. It exists as a local server and as a PayPal-hosted remote server, and both are documented on PayPal's developer site.

This guide explains what exists, what it can and cannot do, how merchants connect it to Claude or ChatGPT, and how to keep it safe. Some details (exact tool counts, directory listings, permission scopes) come from third-party write-ups, so verify them in PayPal's own documentation before relying on them.

What is the PayPal MCP server?

The PayPal MCP server is a small service that exposes PayPal actions as "tools" an AI assistant can call. The assistant (the MCP client) decides when to call a tool based on your request, and the server carries it out against your PayPal account.

PayPal announced it on April 2, 2025, with invoicing as the first feature. According to secondary sources, a June 2025 update rebuilt the remote server on top of the PayPal Agent Toolkit and limited which tools a client can see to those its token permits. PayPal's quickstart states that the complete tool catalog is available in both the local and the remote server.

Local vs remote: which PayPal MCP server should you use?

Local server Remote (hosted) server
Where it runs On your computer, started with npx Hosted by PayPal
Package or host npm package @paypal/mcp (Node.js 18 or later) mcp.paypal.com (production), mcp.sandbox.paypal.com (sandbox)
Sign-in A PayPal access token you generate from your client ID and secret PayPal login with consent screen, or a bearer token
Best for Developers and technical testers Merchants who want a simpler login flow
Main drawback Token handling, Node.js setup Exact URL path and client support vary, check the docs

The remote server offers two transports (ways of talking to the client), a /sse path and an /http (Streamable HTTP) path in PayPal's quickstart. Some third-party listings and PayPal's AI Toolkit repository show a /mcp path instead. Do not guess: copy the URL from PayPal's current MCP quickstart.

What can a merchant do with PayPal MCP?

PayPal's documentation points to a tool catalog covering the areas below. Secondary sources list the following, so confirm the current list on PayPal's agent tools page:

  • Invoices: create, list, get, send, remind, cancel, update, search, generate a QR code, record a payment.
  • Orders and payments: create and pay orders.
  • Refunds and disputes: create refunds, list and view disputes, accept a claim.
  • Catalog and subscriptions: products, subscription plans and subscriptions, including cancelling a subscription.
  • Shipment tracking: add or look up tracking on transactions.
  • Reporting: list transactions and merchant insights.

Realistic merchant prompts:

  • "List my PayPal invoices that are still unpaid and draft reminders for the oldest three."
  • "Show transactions from last week and group them by status."
  • "Which open disputes need a response this week?"

Tool counts differ between sources (one says 63, another 28, neither from PayPal), so treat any exact number as unverified.

What can PayPal MCP not do?

  • It does not replace your store's order management. It sees PayPal data, not your Shopify or WooCommerce inventory, margins or ad spend.
  • It cannot tell you profit. PayPal knows payments and fees, not your product costs.
  • It is not a checkout protocol. MCP connects an assistant to tools and data. Agentic checkout standards such as ACP, UCP and AP2 are different things, covered in Agentic Commerce Protocol Compared: ACP, UCP, AP2 and MCP.
  • It only does what your token or login permits. A narrower permission set means fewer available tools.
  • It does not remove the need for human review. An assistant can misread a request, and some tools move money.

How do you use PayPal MCP with Claude?

PayPal's own documentation uses Claude Desktop as an example client, but any MCP client should work (Cursor and Cline are mentioned in third-party notes). For general client setup, see Claude Desktop MCP Setup on Windows and Mac: Merchant Guide.

Prerequisites

  • A PayPal Developer account for the sandbox, and a PayPal Business account for production.
  • For the local server: Node.js 18 or later.
  • For the remote server: an MCP client that supports remote servers.

Steps for the remote server

  1. Open PayPal's MCP quickstart and copy the current sandbox URL for your transport (SSE or Streamable HTTP).
  2. Add it to Claude. PayPal's documented config uses the mcp-remote helper (run through npx) pointed at that URL. Some Claude plans and versions also offer remote connectors in the interface.
  3. Restart the client. A PayPal login page opens. Sign in and read the consent screen before approving.
  4. Test with a harmless request such as "List my PayPal invoices."

Steps for the local server

  1. In the PayPal Developer Dashboard, use your sandbox client ID and secret to generate an access token.
  2. Add an mcpServers entry that runs npx -y @paypal/mcp --tools=all.
  3. Set PAYPAL_ACCESS_TOKEN and set PAYPAL_ENVIRONMENT to SANDBOX.
  4. Restart Claude and run the same test prompt.

Note that the --tools=all flag enables everything. For anything beyond testing, check the documentation for how to limit the tool list to read-oriented tools.

Third-party sources say PayPal is also listed in Claude's connectors directory and that remote connectors on claude.ai may need a paid plan. I could not verify either, so check Anthropic's help pages. See also Claude MCP Free Plan: Do You Need Pro or ChatGPT Plus?

Does PayPal MCP work with ChatGPT?

PayPal has published material about working with OpenAI, and its remote server is a standard MCP endpoint. In principle, ChatGPT can use it if your plan and workspace allow custom MCP connectors. In practice, the availability of connectors, the plan required and whether write actions are allowed change often, so check OpenAI's current help pages before planning around it. A comparison of how the two assistants handle connectors is in Claude vs ChatGPT MCP Ecommerce: Which Works Better?

If ChatGPT cannot reach the server, a developer can use the PayPal Agent Toolkit to build the integration with OpenAI's Agent SDK instead.

What is the PayPal Agent Toolkit?

The PayPal Agent Toolkit (@paypal/agent-toolkit) is the library underneath the MCP server. It lets agent frameworks such as OpenAI's Agent SDK, LangChain and Vercel's AI SDK call PayPal APIs through function calling. It matters if you have developers building a custom assistant.

There is also a newer, separate "PayPal AI Toolkit" repository: a plugin for AI coding agents such as Claude Code and Cursor that connects to the sandbox server. It is developer tooling, not something a merchant needs for daily work.

Is PayPal MCP safe?

It can be, if you limit what it can do. PayPal uses a login and consent flow for the remote server, and visible tools depend on token permissions. But the server can reach real money flows. Treat it like giving a new employee access to your payments account.

  • Start in the sandbox. Run every new prompt there first.
  • Read first. Begin with listing and reporting tasks. Add refunds, order payment or subscription cancellation only when you have a reason.
  • Use the narrowest credentials. Do not use your main login or client secret in shared files or screenshots.
  • Require confirmation. Keep your client set to ask before each tool call.
  • Watch for prompt injection. Text in invoices, customer notes or dispute messages could contain instructions aimed at the assistant. See MCP Prompt Injection in E-commerce and How to Reduce It.
  • Review activity. Check PayPal's activity history after tests.

For a wider checklist, read MCP Security: Is MCP Safe for Your Store? A Merchant Checklist and MCP Permissions: Read-Only vs Read-Write for Ads and Stores.

What can go wrong when connecting PayPal MCP?

  • Wrong environment. Sandbox credentials will not work on the production endpoint, and the sandbox must use the sandbox URL.
  • Wrong URL path. Third-party pages disagree about /sse, /http and /mcp. Use PayPal's current quickstart.
  • Stuck sign-in. PayPal suggests clearing the ~/.mcp-auth folder and trying again.
  • Cursor on Windows. PayPal's docs list a known issue with remote connections.
  • Expired token. The local server's access token expires, so regenerate it if calls start failing.
  • Outdated advice. At least one site claims PayPal offers no hosted endpoint. PayPal's own documentation shows otherwise.

Frequently asked questions

+

Does PayPal have an MCP server?

Yes. PayPal documents an official MCP server on its developer site, available as a local server run with npx and as a PayPal-hosted remote server. Both expose PayPal tools like invoices, orders, refunds, disputes and reporting to compatible AI clients. Confirm the current endpoint and tool list in PayPal's MCP quickstart before connecting.

+

How do I use PayPal MCP with Claude?

Add PayPal's server to Claude Desktop or another MCP client. For the remote server, use the URL from PayPal's quickstart, then sign in with your PayPal login and approve consent. For the local server, run @paypal/mcp with an access token. Always test in the sandbox first with a read-only request like listing invoices.

+

Is PayPal MCP safe?

It is safe only to the extent you control access. The remote server uses a login and consent flow, but tools can include refunds and payments. Use the sandbox first, start with read-only tasks, keep narrow credentials, require confirmation for each action and review PayPal activity afterward.

+

What is the PayPal Agent Toolkit?

The PayPal Agent Toolkit is the library behind PayPal's MCP server. It lets agent frameworks such as OpenAI's Agent SDK, LangChain and Vercel's AI SDK call PayPal APIs through function calling. Merchants rarely need it directly, but developers building custom assistants may.

+

Can PayPal MCP issue refunds or send invoices?

According to PayPal's tool catalog as described by secondary sources, yes. It includes tools to create and send invoices and to create refunds. Because these change real money or contact customers, start read-only, and enable write actions only with confirmation prompts and limited credentials.

+

Do I need a developer to set up PayPal MCP for merchants?

Not always, but it helps. The remote server mainly needs a compatible client and a PayPal login. The local server needs Node.js, an access token and a config file edit. If you plan production use with write access, ask a developer to review permissions.

Sources

Questions and answers

Questions readers and searchers ask about this guide, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.

Keep reading