> ## Documentation Index
> Fetch the complete documentation index at: https://docs.condotta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect the PayPal MCP server

> Connect PayPal's remote MCP server to Condotta for invoices, orders, and transaction insights, with separate production and sandbox endpoints.

PayPal hosts a remote MCP server for merchant tasks such as creating and listing invoices, generating reports, and looking up transaction details. Connect it to Condotta to raise invoices from an order workflow or reconcile payments on a schedule.

> [!NOTE]
>
> Condotta connects to this server through a [custom MCP server](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md) connection, so you add it with **Add custom server** rather than from the connector catalog. PayPal maintains it and decides which tools it offers; see [PayPal's MCP server quickstart](https://developer.paypal.com/ai-tools/mcp-server) for the current list.

## Before you start

* A PayPal account for production, or a [PayPal sandbox](https://developer.paypal.com/tools/sandbox/) account for testing.

## Server URL

| Environment | URL |
| - | - |
| Production | `https://mcp.paypal.com/mcp` |
| Sandbox | `https://mcp.sandbox.paypal.com/mcp` |

Build and test against the sandbox first, then add a second connection for production.

## Connect in Condotta

**1. Add a custom server**

Go to **Connections** and click **Add custom server**. Enter a **Name** such as `PayPal Sandbox` and paste the **Server URL**.

**2. Keep Auto authentication**

Leave **Authentication** on **Auto**, choose a visibility, and click **Save & connect**.

**3. Log in to PayPal**

PayPal opens its login page. Log in with the account for that environment and authorize access. Condotta marks the connection **Connected** and refreshes the token automatically.

## Use it in a workflow

Add a **Connector** node, pick your PayPal server under **Custom Servers**, and choose **Agent Mode** or **Direct Mode**. See [Use a custom server in a workflow](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md#use-a-custom-server-in-a-workflow).

## Troubleshooting

> [accordion] Sign-in fails on the sandbox URL
>
> Sandbox connections need sandbox credentials. Log in with a sandbox account from the PayPal Developer Dashboard, not your live account.

## Learn more

* [PayPal MCP server quickstart](https://developer.paypal.com/ai-tools/mcp-server)

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.