Set up a remote MCP server

Another way of working with the MCP server is connecting remotely. Use your preferred MCP client for this procedure.

To install the MCP server in a remote configuration:

1

Open the configuration file for your MCP client in a text editor, and replace the configuration with the following configuration.

{
  "mcpServers": {
    "paypal-mcp-server": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.paypal.com/sse"
      ]
    }
  }
}
2

Save the file, and restart your MCP client. The MCP client will send you to the PayPal login page.

3

Provide your consent for the client to work with the MCP server

  1. Log into PayPal when the login page appears.

  2. Authorize the client to work with the MCP server.

4

Quit and reopen your MCP client.

5

To test your integration, ask the MCP client to perform one of the supported tasks. For example, ask it to create an invoice for landscaping services for Green Lawns for $200 with a date of last Friday.

If you have trouble connecting after completing this procedure, clear the files that the integration adds to ~/.mcp-auth:

rm -rf ~/.mcp-auth

Also be aware that emerging technology, like MCP and MCP clients, can come with performance issues or other challenges initially. For example, Windows users with Cursor might encounter a known issue when connecting to the MCP server remotely.

Last updated

Was this helpful?