P
PayPal MCP local server CLI
Details
- Command
-
npx @paypal/mcp - Docs
- https://docs.paypal.ai/developer/tools/ai/mcp-quickstart
Authentication
PayPal OAuth 2.0 access token bearer discovered
$ npx -y @paypal/mcp --tools=all First get a PayPal app client ID and client secret from Apps & Credentials. Then exchange them for an access token by POSTing grant_type=client_credentials to https://api-m.sandbox.paypal.com/v1/oauth2/token (or the live host) using HTTP Basic auth with client_id:client_secret. Send the returned token as Authorization: Bearer <token>.