PayPal MCP
The PayPal MCP Server facilitates integration with PayPal's APIs for payment processing, business operations, and user management.
Payment Processing: Create and manage payments, orders, and payment tokens
Business Operations: Handle products, invoices, payouts, and partner referrals
User Management: Retrieve user information and create web experience profiles
Dispute Handling: Fetch details of disputes
Identity Verification: Manage user identity and access tokens
Provides integration with PayPal's payment processing, invoicing, and business management features, allowing users to create and manage orders, process payments, handle payment tokens, manage disputes, create and manage products, generate invoices, process payouts, and handle partner referrals.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PayPal MCP create an invoice for customer@example.com for $99.99"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PayPal MCP Server
Maintained by DynamicEndpoints - Contact: kameron@dynamicendpoints.com
A Model Context Protocol (MCP) server that provides integration with PayPal's APIs. This server enables seamless interaction with PayPal's payment processing, invoicing, and business management features through a standardized interface.
Architecture
graph TB
subgraph "MCP Environment"
Client[MCP Client]
Server[PayPal MCP Server]
Validation[Input Validation]
Auth[OAuth Authentication]
end
subgraph "PayPal APIs"
Orders[Orders API]
Payments[Payments API]
Payouts[Payouts API]
Invoicing[Invoicing API]
Products[Products API]
Disputes[Disputes API]
Identity[Identity API]
end
Client --> |Request| Server
Server --> |Response| Client
Server --> Validation
Server --> Auth
Auth --> |Access Token| PayPal
Server --> Orders
Server --> Payments
Server --> Payouts
Server --> Invoicing
Server --> Products
Server --> Disputes
Server --> Identity
style Client fill:#f9f,stroke:#333,stroke-width:2px
style Server fill:#bbf,stroke:#333,stroke-width:2px
style Auth fill:#bfb,stroke:#333,stroke-width:2px
style Validation fill:#bfb,stroke:#333,stroke-width:2pxRelated MCP server: PayPal MCP Server
Features
Payment Processing
Create and manage orders
Process payments
Handle payment tokens
Manage disputes
Business Operations
Create and manage products
Generate invoices
Process payouts
Handle partner referrals
User Management
Identity verification
User information retrieval
Web profile management
Installation
Installing via Smithery
To install PayPal MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @DynamicEndpoints/Paypal-MCP --client claudeManual Installation
Clone the repository
Install dependencies:
npm installBuild the project:
npm run buildConfigure PayPal credentials in the MCP settings file:
{ "mcpServers": { "paypal": { "command": "node", "args": ["path/to/paypal-server/build/index.js"], "env": { "PAYPAL_CLIENT_ID": "your_client_id", "PAYPAL_CLIENT_SECRET": "your_client_secret" }, "disabled": false, "autoApprove": [] } } }
Available Tools
Payment Operations
create_payment_token
Create a payment token for future use.
{
customer: {
id: string;
email_address?: string;
};
payment_source: {
card?: {
name: string;
number: string;
expiry: string;
security_code: string;
};
paypal?: {
email_address: string;
};
};
}create_order
Create a new order in PayPal.
{
intent: 'CAPTURE' | 'AUTHORIZE';
purchase_units: Array<{
amount: {
currency_code: string;
value: string;
};
description?: string;
reference_id?: string;
}>;
}create_payment
Create a direct payment.
{
intent: string;
payer: {
payment_method: string;
funding_instruments?: Array<{
credit_card?: {
number: string;
type: string;
expire_month: number;
expire_year: number;
cvv2: string;
first_name: string;
last_name: string;
};
}>;
};
transactions: Array<{
amount: {
total: string;
currency: string;
};
description?: string;
}>;
}Business Operations
create_product
Create a new product in the catalog.
{
name: string;
description: string;
type: 'PHYSICAL' | 'DIGITAL' | 'SERVICE';
category: string;
image_url?: string;
home_url?: string;
}create_invoice
Generate a new invoice.
{
invoice_number: string;
reference: string;
currency_code: string;
recipient_email: string;
items: Array<{
name: string;
quantity: string;
unit_amount: {
currency_code: string;
value: string;
};
}>;
}create_payout
Process a batch payout.
{
sender_batch_header: {
sender_batch_id: string;
email_subject?: string;
recipient_type?: string;
};
items: Array<{
recipient_type: string;
amount: {
value: string;
currency: string;
};
receiver: string;
note?: string;
}>;
}User & Profile Management
get_userinfo
Retrieve user information.
{
access_token: string;
}create_web_profile
Create a web experience profile.
{
name: string;
presentation?: {
brand_name?: string;
logo_image?: string;
locale_code?: string;
};
input_fields?: {
no_shipping?: number;
address_override?: number;
};
flow_config?: {
landing_page_type?: string;
bank_txn_pending_url?: string;
};
}Usage Examples
Creating an Order
const result = await mcpClient.useTool('paypal', 'create_order', {
intent: 'CAPTURE',
purchase_units: [{
amount: {
currency_code: 'USD',
value: '100.00'
},
description: 'Premium Subscription'
}]
});Generating an Invoice
const result = await mcpClient.useTool('paypal', 'create_invoice', {
invoice_number: 'INV-2024-001',
reference: 'REF-2024-001',
currency_code: 'USD',
recipient_email: 'customer@example.com',
items: [{
name: 'Consulting Services',
quantity: '1',
unit_amount: {
currency_code: 'USD',
value: '500.00'
}
}]
});Processing a Payout
const result = await mcpClient.useTool('paypal', 'create_payout', {
sender_batch_header: {
sender_batch_id: 'Payroll_2024_001',
email_subject: 'You have received a payment'
},
items: [{
recipient_type: 'EMAIL',
amount: {
value: '1000.00',
currency: 'USD'
},
receiver: 'employee@example.com',
note: 'Monthly salary payment'
}]
});Error Handling
The server implements comprehensive error handling:
Input validation errors with detailed messages
PayPal API errors with response details
Network and authentication errors
Rate limiting and timeout handling
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
npm run buildTesting
npm testDebugging
The server outputs detailed logs to help with debugging:
Authentication issues
API call failures
Validation errors
Request/response details
Contributing
Fork the repository
Create a feature branch
Commit your changes
Push to the branch
Create a Pull Request
License
MIT License
Available Tools
12 toolscreate_invoiceC
Create a new invoice
Inputs: invoice_number (required), reference (required), currency_code (required), recipient_email (required), +1 more.
create_orderC
Create a new order in PayPal
Inputs: intent (required), purchase_units (required).
create_partner_referralD
Create a partner referral
Inputs: individual_owners (required), business_entity (required), email (required).
create_paymentD
Create a payment
Inputs: intent (required), payer (required), transactions (required).
create_payment_tokenD
Create a payment token
Inputs: customer (required), payment_source (required).
create_payoutC
Create a batch payout
Inputs: sender_batch_header (required), items (required).
create_productC
Create a new product in PayPal
Inputs: name (required), description (required), type (required), category (required), +2 more.
create_referenced_payoutD
Create a referenced payout
Inputs: referenced_payouts (required).
create_web_profileC
Create a web experience profile
Inputs: name (required), presentation, input_fields, flow_config.
get_disputeC
Get details of a dispute
Inputs: dispute_id (required).
get_userinfoC
Get user info from identity token
Inputs: access_token (required).
list_productsC
List all products
Inputs: page_size, page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
The tools are mostly distinct in purpose, but there is some overlap between 'create_payment' and 'create_invoice' or 'create_order' that could cause confusion, as payments, invoices, and orders are related financial concepts. Descriptions help clarify specific PayPal resources, but an agent might misselect among these similar creation tools without additional context.
The naming follows a consistent verb_noun pattern with 'create_' or 'get_' or 'list_' prefixes, making it predictable and readable. There are minor deviations, such as 'get_userinfo' using a compound word instead of underscore separation like 'get_user_info', but overall the convention is clear and well-maintained.
With 12 tools, the count is reasonable for a PayPal integration server, covering various creation operations and a few retrieval/list functions. It is slightly heavy on creation tools (9 out of 12) but still within a well-scoped range, as each tool serves a distinct PayPal API endpoint.
The tool surface is significantly incomplete for a PayPal domain, as it heavily focuses on creation operations with only one 'get' and one 'list' tool, missing essential update, delete, and other retrieval operations (e.g., update_invoice, delete_product, list_orders). This will likely cause agent failures when full CRUD/lifecycle management is needed.
Related MCP Connectors
Related MCP Servers
- FlicenseBqualityDmaintenanceA MCP Server used to collect MCP Servers over the internet.320-
- AlicenseNot gradedqualityDmaintenanceA 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.7Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA server that provides integration with PayPal's APIs, enabling seamless interaction with payment processing, invoicing, subscription management, and business operations through a standardized interface.MIT

MailPace MCP Serverofficial
AlicenseDqualityBmaintenanceAn MCP server implementation that allows sending emails over MailPace's fast transactional email API.1494 npm1MIT