MCP server for PayPal commerce integration
## PayPal MCP Server: Global Payments The **PayPal MCP Server** integrates PayPal's global payment platform into Google Antigravity, enabling developers to accept payments, manage subscriptions, and handle payouts through AI-assisted payment workflows. ### Why PayPal MCP? - **Global Reach**: 400+ million active accounts worldwide - **Buyer Protection**: Trusted checkout experience - **Multiple Products**: Payments, subscriptions, payouts - **One-Touch**: Faster checkout with saved credentials - **Seller Protection**: Fraud protection for merchants ### Key Features #### 1. Payment Processing ```javascript // Create order const order = await paypal.createOrder({ intent: "CAPTURE", purchase_units: [{ amount: { currency_code: "USD", value: "99.99" }, description: "Premium Subscription" }] }); // Capture payment const capture = await paypal.captureOrder({ orderId: order.id }); // Refund payment await paypal.refundCapture({ captureId: capture.id, amount: { currency_code: "USD", value: "49.99" } }); // Get order details const details = await paypal.getOrder({ orderId: order.id }); ``` #### 2. Subscriptions and Payouts ```javascript // Create subscription const subscription = await paypal.createSubscription({ plan_id: "P-XXXXXXXXXXXX", subscriber: { email_address: "customer@example.com" } }); // Cancel subscription await paypal.cancelSubscription({ subscriptionId: subscription.id, reason: "Customer request" }); // Create payout const payout = await paypal.createPayout({ sender_batch_header: { email_subject: "Payment" }, items: [{ recipient_type: "EMAIL", amount: { value: "100.00", currency: "USD" }, receiver: "recipient@example.com" }] }); ``` ### Configuration ```json { "mcpServers": { "paypal": { "command": "npx", "args": ["-y", "@anthropic/mcp-paypal"], "env": { "PAYPAL_CLIENT_ID": "your-client-id", "PAYPAL_CLIENT_SECRET": "your-client-secret", "PAYPAL_MODE": "live" } } } } ``` ### Use Cases **E-commerce Payments**: Accept payments with buyer protection. **Marketplace Payouts**: Pay sellers and contractors globally. **Subscription Billing**: Manage recurring PayPal subscriptions. The PayPal MCP Server brings global payments to your development workflow.
{
"mcpServers": {
"paypal": {
"mcpServers": {
"paypal": {
"env": {
"PAYPAL_CLIENT_ID": "YOUR_CLIENT_ID",
"PAYPAL_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
},
"args": [
"-y",
"@paypal/mcp-server"
],
"command": "npx"
}
}
}
}
}