Skip to content

MCP setupBackend and APIs

PayPal MCP Server

Run PayPal's official MCP server locally so your agent can create orders and invoices, manage subscriptions and list transactions in sandbox.

npx workspacetemplates add paypal-mcp --tool claude-code

Writes 1 file to your project root

.mcp.jsonmerge into your file16 lines · 290 BFile
{
  "mcpServers": {
    "paypal": {
      "command": "npx",
      "args": [
        "-y",
        "@paypal/mcp",
        "--tools=all"
      ],
      "env": {
        "PAYPAL_ACCESS_TOKEN": "${PAYPAL_ACCESS_TOKEN}",
        "PAYPAL_ENVIRONMENT": "${PAYPAL_ENVIRONMENT}"
      }
    }
  }
}

What it does

PayPal publishes an MCP server that wraps its REST APIs as agent tools: invoices, orders and refunds, disputes, shipment tracking, product catalog, subscription plans and transaction reports.

It starts locally with npx and reads an access token from your environment. It defaults to the SANDBOX environment, which is the right place to try it before pointing anything at real money.

Example

you › Create a sandbox invoice for 120 USD to buyer@example.com for 'March consulting' and send it.

agent › Invoice INV2-8K3F-2M9Q created and sent in the sandbox. Status SENT, due in 30 days. Recipient link returned.

Questions

Can I limit it to some tools?
Yes. The --tools flag takes a list instead of all, so you can start with invoices only and add more later.
Why did it stop working after a few hours?
Access tokens expire. Generate a new one and restart the agent so it picks up the new value.
  • Firebase MCP Server

    MCP setupfirebase

    Free
  • Postman MCP Server

    MCP setupBackend and APIs

    Free
  • Resend MCP Server

    MCP setupBackend and APIs

    Free
  • Square MCP Server

    MCP setupBackend and APIs

    Free