PayPal MCP server official setup, URL and OAuth

A review of PayPal's official MCP server setup: the sandbox and production endpoints, local versus remote servers, client credentials, and the PayPal login consent step, with the gaps a managed rollout must close.

On this page

Does the PayPal MCP server setup meet our sign-in and access requirements?

PayPal documents an official remote MCP server with separate sandbox and production endpoints, and a local server run from the @paypal/mcp package. For the remote server, sign-in is documented as a PayPal login page where the user logs in and authorizes the client, after the client is restarted. For the local server, access is documented as environment-based values, PAYPAL_ACCESS_TOKEN and PAYPAL_ENVIRONMENT. The supplied documentation does not describe an enterprise SSO layer, an identity provider integration, or an admin approval step for connected clients, so do not assume those controls exist until PayPal confirms them in writing.

Before approval, ask PayPal whether business accounts can require SSO or restrict which users may complete the login consent step, and who can revoke a grant once it is issued. Confirm how long a consent grant or access token remains valid, whether it can be scoped to a subset of tools, and whether a single Business account can be tied to several staff members without shared credentials. Ask which account type the production endpoint requires, since the toolkit documentation says production use needs a PayPal Business account while a Developer account covers sandbox. Also confirm whether the remote server accepts client credentials from individual developers, which would mean each person holds a secret that must be governed.

Your engineering team should also confirm how the client ID and secret are stored. PayPal's toolkit guidance advises keeping these values out of source files and using environment variables, so the rollout standard should require a secrets manager or equivalent, rotation after staff changes, and a check that no configuration file in a repository contains them. Test the sandbox endpoint first, confirm the consent screen and token behavior in your own tenant, and record the results as evidence for the security review. Tool-level risk, such as payment and refund actions, is covered on the sibling security page.

Which setup supports which sign-in and deployment option

This table compares each PayPal MCP setup path by how it signs in, where it runs and which PayPal account the documented facts tie it to. Read the status column first: rows marked as documented are described in PayPal's quickstart, while rows marked as needing confirmation must be checked with PayPal before you approve a rollout. Enterprise SSO and admin approval are not documented in the supplied facts, so treat them as open questions.

OptionStatusAccount or plan tied to it
Remote server with PayPal login consentDocumented: restarting the MCP client opens the PayPal login page, where the user logs in and authorizes the clientProduction or sandbox account the user signs in to; confirm which account types can authorize
Remote server with client credentials as a bearer headerDocumented: client ID and secret from the Developer Dashboard are sent as a bearer authorization headerPayPal Developer Dashboard credentials; confirm whether production keys require a Business account
Local server with access token and environment variableDocumented: run through npx with the @paypal/mcp package, reading PAYPAL_ACCESS_TOKEN and PAYPAL_ENVIRONMENTAccount that issued the access token; confirm token lifetime and rotation with PayPal
Sandbox endpoint (mcp.sandbox.paypal.com)Documented for use with the PayPal sandbox environmentPayPal Developer account covers sandbox use
Production endpoint (mcp.paypal.com)Documented as the production remote serverPayPal Business account required for production use
Server-sent events at /sseDocumented as a remote transportApplies to the remote server on either endpoint
Streamable HTTP at /httpDocumented, for example in productionApplies to the remote server on either endpoint
Enterprise SSO for MCP sign-inNot documented in the supplied facts; confirm with PayPalConfirm whether any enterprise identity provider can be used
Admin approval of MCP clientsNot documented in the supplied facts; confirm with PayPalConfirm whether administrators can allowlist or revoke clients

How the remote login and credentials reach PayPal

The remote server and the local server reach PayPal by different routes, so the approval decision sits in different places. On the remote path, the MCP client sends the client ID and secret from the PayPal Developer Dashboard as a bearer authorization header, and the server acts on that credential. When the MCP client restarts, the user is sent to the PayPal login page, where they log in and authorize the client to work with the MCP server. That login step is the only user-facing consent in the documented flow, so reviewers should confirm which PayPal account and role the person signs in with, and whether that account can take money-moving actions.

The local path works differently. The server runs through npx with the @paypal/mcp package and reads a PAYPAL_ACCESS_TOKEN and a PAYPAL_ENVIRONMENT value. The environment value decides whether calls reach the sandbox or production, so a misconfigured value can send a real-money request to the wrong place. Before rollout, confirm who issues and rotates the access token, where it is stored on each laptop, and whether the local process can be pointed at production by a developer without an approval step. The remote sandbox endpoint, is the one the quickstart names for sandbox work.

Most of the control sits with PayPal's login and with whoever holds the credential, not with the AI client. The client only forwards what it is configured to send and shows what the server returns. Ask PayPal or your account team to confirm how credentials are scoped, how they are revoked, and what the Developer Dashboard lets an administrator see about active authorizations. Keep client secrets and access tokens in environment variables or a secrets manager rather than in shared configuration files, as PayPal's toolkit guidance advises, and record which environment each deployment is pinned to.

Decisions to make before choosing the local or remote path

PayPal documents two ways to connect an AI client: a local server started with npx or a remote server hosted by PayPal. Each choice changes who holds the credentials, where secrets sit, which environment the agent reaches, and which clients can connect, so these decisions should be settled before any token is issued.

Who holds the PayPal credentials

The local server reads a PAYPAL_ACCESS_TOKEN from the environment, while the remote server accepts the client ID and secret from the PayPal Developer Dashboard as a bearer authorization header. Decide whether credentials belong to a named individual, a shared integration account or a service identity, and confirm who can rotate them. Ask PayPal how a token maps to a user or account, and whether activity can be traced back to a person in your audit records.

MCP quickstart guide

Local server versus remote server

The local option runs the @paypal/mcp package with Node.js v18 or later on the employee's machine, so the token sits in that machine's environment. The remote option keeps the server on PayPal's side and moves the login step into the browser. Choose local when you need the process and secrets under your own endpoint controls, and remote when you want PayPal to host the server. Confirm which option your device management policy allows.

Minimum Node.js version
v18+
Setup options in the quickstart

Sandbox and production separation

The remote server has a sandbox endpoint and a production endpoint, and the local server selects its target through PAYPAL_ENVIRONMENT. A client pointed at the wrong endpoint can run actions against the wrong account. Keep sandbox and production credentials in separate stores, label each client configuration with its environment, and confirm with PayPal that a sandbox token cannot reach live data.

Endpoint details

Transport choice for the remote server

The remote server offers server-sent events at /sse and streamable HTTP at /http. The transport decides how the client connects and which client versions work with it. Pick one transport per standard client configuration, test it in sandbox first, and confirm with PayPal which transport it recommends for each client you plan to support. Record the chosen path so reviewers can match it to the approved configuration.

Transport paths

Business account for production

The toolkit README states that production use requires a PayPal Business account, while a PayPal Developer account covers sandbox work. Before a production rollout, confirm which account holds the credentials, who is an owner or administrator of that account, and whether the account terms match your organization's contracts. Sandbox pilots should not be used to establish production approval.

Agent Toolkit repository

Which MCP clients may connect

PayPal names Claude, Cursor and Cline as example MCP clients. Each client stores configuration and tokens differently, so an approved list should name the client, its version and where its configuration file lives. Restrict connections to clients your security team has reviewed, and confirm whether any client can read the token from a shared file. Re-check the list when a client adds new connection methods.

PayPal AI toolkit guide

How the setup differs for sandbox, production and local teams

The sandbox team works against PayPal's test environment, which the quickstart pairs with the sandbox endpoint. Developers can test tool calls and client behavior without touching live merchant money, so this is the place to validate prompts, tool choices and approval habits before any production access is granted.

  • Account type: The PayPal agent-toolkit README says a PayPal Developer account covers sandbox use, so the team does not need a Business account for this stage.
  • Endpoint: The quickstart says to point the client to the sandbox endpoint, ` when working in the sandbox environment.
  • Credentials: Client ID and secret come from the PayPal Developer Dashboard for the sandbox app. Keep them out of source files and load them from environment variables, as PayPal's toolkit guide advises.
  • Review: Confirm that no sandbox endpoint appears in a production client configuration and that test credentials are kept separate from live ones.

Before the team moves on, ask the vendor to confirm which tools are present in the sandbox and whether any behave differently from production. Verify this in the current tools reference rather than assuming parity.

Order of work for a managed PayPal MCP rollout

This sequence moves a PayPal MCP connection from account and environment checks to a sandbox trial and then to approved production users, so each stage produces a record a security or procurement reviewer can inspect. The steps assume the official remote or local server documented by PayPal and keep credentials and sign-in identities under named control from the start.

  1. Confirm account type and target environment

    The owner of the PayPal account confirms whether the rollout needs the sandbox or production environment and which account type supports each. The PayPal Agent Toolkit README states that production use requires a PayPal Business account, while a PayPal Developer account covers sandbox. The step is complete when the team has written down the account that owns each environment and the reviewer has confirmed that no production access is planned before the sandbox trial passes.

  2. Decide between local and remote server

    The security lead and the platform owner choose one deployment path for each AI client. PayPal's quickstart offers a local server run with Node.js v18 or later and a remotely hosted server with separate sandbox and production endpoints. The decision record should name the endpoint or package, the transport (server-sent events or streamable HTTP for the remote server), and the machines or networks where each path will run. Confirm the exact endpoints and transport names against PayPal's quickstart before recording them.

  3. Assign client credential ownership and storage

    Name one accountable owner for the PayPal client ID and secret, and for any access token used by the local server. Record where each value is stored, who can read it, and how it is rotated after a staff change. PayPal's toolkit guide advises keeping client ID, secret and API keys out of source files and using environment variables instead. The step is complete when no credential appears in a repository, shared document or client configuration file, and a secrets review has confirmed the storage location.

  4. Trial the setup in sandbox with one named user

    Connect the AI client to the sandbox endpoint or sandbox environment with a single named tester who has no production access. PayPal's quickstart says to point to the sandbox endpoint when working in the sandbox environment. The tester records which tools appear in the client, which actions succeed, and which fail. The step closes when the team has a written list of the tools exposed in this setup, checked against PayPal's agent tools reference for the same release.

  5. Verify the login consent step and signing identity

    On the remote server, restarting the MCP client sends the user to the PayPal login page, where they log in and authorize the client. The security reviewer watches this step with the sandbox tester and records which PayPal identity signed in, whether it is a personal or shared login, and what the consent screen says the client may do. The check is complete when the identity matches the approved owner in the decision record. Any shared or generic login should be rejected before production.

  6. Restrict production access to approved users

    Before any production connection, the owner of the approval process lists the staff who may connect to the production endpoint and the client each one may use. Production credentials should be issued only to those users, and the list should be reviewed alongside the sandbox results. Confirm with PayPal which administrative controls apply to who can authorize clients on the account, since the quickstart documentation does not describe a central admin allowlist. The step closes when the approved list is signed off and each production credential maps to one named person.

  7. Record settings for review

    Write down the final configuration in a single review record: account and environment, chosen deployment path, endpoints and transport, credential owner and storage location, approved user list, consent identity behavior, and the date of the PayPal reference pages consulted. The record is the artifact a CISO, procurement reviewer or auditor will ask for first. It is complete when someone outside the rollout team can trace each production connection back to an approved user, a stored credential and a tested sandbox run.

How a remote PayPal MCP login reaches the merchant account

The flow starts when the MCP client connects to the remote PayPal MCP server, which uses the sandbox or production endpoint. The client sends PayPal client credentials as a bearer authorization header, and restarting the client sends the user to the PayPal login page. There the user logs in and authorizes the client to work with the MCP server before any tool runs against the PayPal account. Reviewers should confirm which endpoint each client points to, who holds the client secret, and which account the consent step attaches to.

Shows where credentials are sent and where the user authorizes the remote server.

What a security reviewer asks to see for PayPal sign-in

This table lists the evidence a reviewer should request before approving a PayPal MCP connection, and where each item comes from. Read each row as a question to answer for the specific client and environment, since the local and remote setups hold credentials in different places. The main takeaway is that sandbox and production must be separated in both the endpoint and the credentials, and that the team's secret store, not the client configuration file, should be the only place secrets live.

Evidence itemWhere it comes fromWhat to confirm
Endpoint and environment in useClient configuration and PayPal MCP quickstartSandbox endpoint or production endpoint is named explicitly for each client, and the PAYPAL_ENVIRONMENT value matches it
Transport in useClient configurationLocal npx run of @paypal/mcp, or remote SSE at /sse or streamable HTTP at /http, is recorded per client
Credential holderPayPal Developer Dashboard and access recordsA named owner holds the client ID and secret or the access token, and staff do not share one credential
Credential storage methodTeam secret store and client configurationSecrets are read from environment variables or a vault, with no client ID, secret or token in source files or shared configs
Login consent recordPayPal login page during the remote sign-in stepEach user who authorized the client has a traceable consent, and the team can list who approved access
Account typePayPal Business account and PayPal Developer accountProduction use is tied to a Business account, and sandbox testing is tied to a Developer account
Guidance on keeping secrets out of source filesPayPal AI toolkit guideTeam policy references the documented advice to use environment variables and blocks secrets in repositories

Questions buyers ask before approving the PayPal MCP setup

Does PayPal support enterprise SSO for its MCP server?

The researched sources for this page do not describe an enterprise SSO feature for the PayPal MCP server, so do not assume one exists. The documented sign-in for the remote server is a PayPal login and consent step: after the MCP client restarts, the user logs in on the PayPal login page and authorizes the client. Ask PayPal in writing whether its login can be tied to your corporate identity provider, whether admins can restrict which users or clients may consent, and how access is removed when someone leaves. Until those answers are in writing, treat each connection as an individual PayPal account grant.

Can we test the PayPal MCP server in sandbox before production?

Yes, the quickstart directs teams working in the PayPal sandbox environment to point their client at the sandbox endpoint, rather than the production endpoint at The local server reads a PAYPAL_ENVIRONMENT value that sets the same choice. Per the agent-toolkit README, a PayPal Developer account covers sandbox, while production use needs a PayPal Business account. A sensible rollout keeps sandbox credentials and client configurations separate from production ones so that test traffic never reaches live accounts.

What drives the cost and effort of a managed PayPal MCP rollout?

The main cost components are your internal review time, the PayPal account setup (Developer for sandbox, Business for production), and any external work you contract. The quickstart does not publish a price for the server itself, so confirm the account terms with PayPal. Effort rises with the number of staff and clients, the number of tools you allow, the review of which tools can move money, and how many environments you maintain. Ask any implementation partner for a fixed-scope quote listing deliverables, testing and retesting, and any recurring support, since those recur while the initial setup is one-time.

What must come from PayPal and what must our team own?

PayPal provides the MCP server, its endpoints, the tool reference, the Developer Dashboard where client ID and secret are issued, and the account tier that determines sandbox or production access. Your team owns where credentials are stored, which users may connect, which environment each client targets, and which tools are approved for use. The PayPal toolkit guide advises keeping client ID, secret and API keys out of source files and using environment variables, so secret storage and rotation are an internal control. Document this split in your rollout plan so that each gap has a named owner.

Can we run the PayPal MCP server locally instead of remotely?

Yes, the quickstart offers a local server run with Node.js v18 or later, launched with npx using the @paypal/mcp package. The local setup reads PAYPAL_ACCESS_TOKEN and PAYPAL_ENVIRONMENT, so the token sits on the user's machine and in the client configuration. The remote setup instead accepts client credentials as a bearer authorization header and uses the PayPal login consent step. Local operation keeps the server process on the endpoint, but it also means each device needs the runtime, the package and a valid token, which your device management must cover. Confirm current package versions and update practices with PayPal and the repository before approving either path.

What changes when we switch from sandbox to production?

The endpoint changes from to and the account and credentials must belong to the production environment, which the toolkit README ties to a PayPal Business account. For the local server, the PAYPAL_ENVIRONMENT value and token change with it. Consent must be given again against the production login, so every user repeats the authorization. Review the tool list before the switch, because a sandbox test can pass while production operations carry real financial effect. Keep a written change record covering who approved the switch, which credentials were issued and how sandbox access was retired.

Which transport should we approve for the remote PayPal server?

The remote server supports two transports: server-sent events at /sse and streamable HTTP at /http, for example in production. Choose the transport your MCP client supports and document it in the approved configuration, since mismatched choices cause failed connections and sometimes lead users to improvise. Confirm with PayPal which transport it recommends and whether one is being retired, because a rollout built on a deprecated path creates rework. Keep the chosen endpoint in a managed configuration rather than letting each user type it.

How DeployOpen scopes a PayPal MCP rollout review

DeployOpen reviews how an organization connects AI clients to PayPal's official MCP server, starting with the endpoint, transport and sign-in path for each environment. We test the setup against your own access rules and hand back documented fixes and evidence your security and compliance reviewers can check.

How we scope

  • Written scope lists which clients, environments (sandbox or production) and PayPal accounts the review covers
  • Scope records whether local npx or the remote endpoint is in use, and which transport each team uses
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts

How we build

  • We check that credentials sit in environment variables and are not stored in source files or client configs
  • We test the PayPal login consent step and confirm which accounts and roles can approve client access
  • We verify endpoint use against the documented sandbox and production addresses and flag mismatched settings

How we hand over

  • Findings report covers token handling, credential exposure, environment mix-ups and admin gaps, with fixes
  • Documentation records the approved endpoints, transports, sign-in steps and owners for each rollout group
  • A retest confirms that fixes hold before the setup is handed over to your platform and security teams

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers when PayPal changes its tools
  • We can re-run the review when your AI client list, PayPal account structure or environment changes
  • Compliance readiness work prepares the evidence your auditors need, but audit reports come from independent auditors

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.