Used for visualizing the architecture of the PayPal MCP server through diagrams in the documentation.
Provides the runtime environment for the MCP server, supporting the execution of the PayPal integration services.
Enables comprehensive interaction with PayPal's payment processing systems, including orders management, payment processing, invoicing, subscription management, dispute resolution, product catalog management, payouts, and user identity verification.
Used as the programming language for implementing the PayPal MCP server, providing type safety and modern JavaScript features.
PayPal MCP Server
A Model Context Protocol (MCP) server that provides comprehensive integration with PayPal's APIs. This server enables seamless interaction with PayPal's payment processing, invoicing, subscription management, and business operations through a standardized interface.
Features
Payment Processing
Orders Management: Create, update, and track orders
Payment Processing: Process payments with various methods
Payment Tokens: Create and manage payment tokens for future use
Dispute Management: Handle payment disputes and resolutions
Business Operations
Product Management: Create and manage product catalogs
Invoicing: Generate and send professional invoices
Payouts: Process batch payouts to multiple recipients
Subscription Management: Create and manage recurring billing
User Management
Identity Verification: Verify user identities
User Information: Retrieve and manage user data
Web Profile Management: Customize checkout experiences
Architecture
Installation
Prerequisites
Node.js 16.x or later
PayPal Developer Account with API credentials
Manual Installation
Clone the repository
git clone https://github.com/arbuthnot-eth/PayPal-MCP.git cd PayPal-MCPInstall dependencies
npm installBuild the project
npm run buildConfigure PayPal credentials in your MCP settings file:
{ "mcpServers": { "paypal": { "command": "node", "args": ["path/to/paypal-mcp/build/index.js"], "env": { "PAYPAL_CLIENT_ID": "your_client_id", "PAYPAL_CLIENT_SECRET": "your_client_secret", "PAYPAL_ENVIRONMENT": "sandbox" // or "live" }, "disabled": false, "autoApprove": [] } } }
Available Tools
Payment Operations
create_payment_token
Create a payment token for future use.
create_order
Create a new order in PayPal.
capture_order
Capture payment for an authorized order.
create_subscription
Create a subscription for recurring billing.
Business Operations
create_product
Create a new product in the catalog.
create_invoice
Generate a new invoice.
create_payout
Process a batch payout.
Error Handling
The server implements comprehensive error handling:
Input Validation: Detailed validation errors with specific messages
PayPal API Errors: Structured error responses with PayPal error details
Network Errors: Retry logic for transient network issues
Authentication Errors: Automatic token refresh and clear error messages
Rate Limiting: Backoff strategies for API rate limits
Security Considerations
All sensitive data is validated and sanitized
OAuth 2.0 authentication with PayPal
Secure credential management through environment variables
Input validation for all API parameters
Error messages don't expose sensitive information
Development
Building
Running in Development Mode
Testing
Linting
Formatting
Contributing
Fork the repository
Create a feature branch
Commit your changes
Push to the branch
Create a Pull Request
License
MIT License
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that provides comprehensive integration with PayPal's APIs, enabling seamless interaction with payment processing, invoicing, subscription management, and business operations through a standardized interface.
Related MCP Servers
- -securityFlicense-qualityA server implementing the Model Context Protocol to make and query payments through Worldpay APIs, enabling payment processing, payment queries, and checkout form generation.Last updated -
- -securityAlicense-qualityA server that provides integration with PayPal's APIs, enabling seamless interaction with payment processing, invoicing, subscription management, and business operations through a standardized interface.Last updated -MIT License
- -securityAlicense-qualityModel Context Protocol server for interacting with the HaloPSA API, enabling AI assistants like Claude to manage tickets, users, and assets in HaloPSA through natural language.Last updated -74MIT License
Paddle MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for interacting with the Paddle Billing API, enabling users to manage products, prices, customers, transactions, subscriptions, and create custom financial reports.Last updated -86628Apache 2.0