How it worksFeaturesDocsEarly accessGitHubDashboard

How to integrate PayPal using MCP

Payments, invoices and subscriptions. This guide creates an MCP server from Arthur's PayPal template — tools preconfigured against https://api-m.paypal.com/v2 — and finishes by sharing the server's MCP swagger documentation.

Steps

  1. Open the Secrets vault and create a secret named PAYPAL_API_KEY holding your access token. Generate an OAuth2 access token by calling POST https://api-m.paypal.com/v1/oauth2/token with your Client ID and Secret as Basic auth. Use the returned access_token as the Bearer.

    Open the Secrets vault to store the PayPal credential before using the template

    Start the New secret wizard

    Name the secret PAYPALAPIKEY — servers reference it by this name

  2. Go to the REST API Templates gallery and search for PayPal.

    Record what the credential is for so it stays recognizable

    Continue to the protected value step

  3. Click Use template on the PayPal card to open the server-creation dialog.

    Enter the credential value — a demo value here; use your real key when adopting the integration

    Review the generated secret reference syntax

  4. Review the server name and select PAYPAL_API_KEY in the credential field — the dialog only accepts vault secrets, and it lists every tool that will be created.

    Store the PAYPALAPIKEY secret in the vault

    Open the REST API template gallery

    Search the gallery for the PayPal integration

  5. Click Create server. Arthur creates the server, applies the authentication, and generates all the tools.

    Open the PayPal template with its preconfigured tools

    Name the server after the integration it provides

    Pick the PAYPALAPIKEY secret from the vault suggestions

    Select the stored credential

    Create the PayPal server with its preconfigured tools

  6. Open the server's Tools tab to review the generated tools.

    Review the tools generated from the PayPal template

  7. Open the server's Connect section and click Share the MCP swagger documentation — Arthur generates the public documentation link and QR code for this server.

    Open the server's Connect section, where the MCP endpoint and its documentation live

    Open the MCP swagger documentation share panel

    Show the generated swagger documentation link and QR code for this server

Confirm it worked

The server appears with 3 preconfigured tool(s): get_order, list_invoices, get_subscription. The Connect section offers the MCP swagger documentation — a shareable page with setup instructions for any AI client.

Good to know

  • Access PayPal orders, invoices, and subscription data via the REST API. Note: requires OAuth2 — get an access token first using your client credentials.
  • This integration requires a credential (bearer). Get one at https://developer.paypal.com/dashboard/.
  • Official API documentation: https://developer.paypal.com/api/rest/
  • Editing a tool later never changes the template — templates are starting points, and the server is fully yours after creation.

Related

Tutorial video