
Paypal Mcp Server
io.github.paypal由 GitHub 帳號 paypal 發布v1.8.1更新於 Oct 24, 2026
A command line tool for setting up PayPal MCP server
發布方自己的服務:Paypal
概覽
讓助理透過 PayPal API 管理發票、訂單、付款、退款、爭議、商品、訂閱和交易。
- 可以做什麼
- 這是一個本機 stdio 伺服器,把 MCP 主機連接到 PayPal API。它提供發票工具(建立、列出、查詢、傳送、提醒、取消、產生 QR code)、付款工具(建立訂單、查詢訂單、支付訂單、建立和查詢退款)、爭議工具(列出、查詢、接受索賠)、物流追蹤、商品目錄、訂閱計畫和訂閱管理,以及交易列表。它透過 npx 執行,並在主機的 MCP 設定中配置。
- 適用情境
- 適合讓助理在聊天用戶端中讀取或操作 PayPal 業務資料,例如列出發票、查看訂單或爭議、建立商品和訂閱計畫。沙箱模式適合測試,正式模式用於真實交易。
- 執行需求
- 需要 Node.js 18 或更新版本以及 npx,因為它是以本機程序執行。需要 PAYPAL_ACCESS_TOKEN 中的 PayPal 存取權杖,並將 PAYPAL_ENVIRONMENT 設為 SANDBOX 或 PRODUCTION。沙箱需要 PayPal 開發者帳號,正式環境需要 PayPal 商業帳號;權杖會過期,需要更新。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Paypal Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
PayPal Model Context Protocol
The PayPal Model Context Protocol server allows you to integrate with PayPal APIs through function calling. This protocol supports various tools to interact with different PayPal services.
To run the PayPal MCP server using npx, use the following command:
Replace YOUR_ACCESS_TOKEN with your PayPal access token. Refer this on how to generate a PayPal access token. Alternatively, you could set the PAYPAL_ACCESS_TOKEN in your environment variables.
Usage with MCP host (Claude Desktop/Cline/Cursor/GitHub Copilot)
This guide explains how to integrate the PayPal connector with Claude Desktop.
Prerequisites
- Claude Desktop application installed
- installing Node.js locally
Installation Steps
1. Install Node.js
Node.js is required for the PayPal connector to function:
- Visit the Node.js official website, download and install it.
- Requirements: Node 18+
2. Configure PayPal Connector with MCP host (Claude desktop / Cursor / Cline)
We will show the integration with Claude desktop. You can use your favorite MCP host.
- Open Claude Desktop
- Navigate to Settings
- Find the Developer or Advanced settings section
- Locate the external tools or connectors configuration area
- Add the following PayPal connector configuration to this ~/Claude/claude_desktop_config.json:
Make sure to replace YOUR_PAYPAL_ACCESS_TOKEN with your actual PayPal Access Token. Alternatively, you could set the PAYPAL_ACCESS_TOKEN as an environment variable. You can also pass it as an argument using --access-token in "args"
Set PAYPAL_ENVIRONMENT value as either SANDBOX for stage testing and PRODUCTION for production environment.
- Save your configuration changes
3. Test the Integration
- Quit and restart Claude Desktop to apply changes
- Test the connection by asking Claude to perform a PayPal-related task
- Example: "List my PayPal invoices"
Available tools
Invoices
create_invoice: Create a new invoice in the PayPal systemlist_invoices: List invoices with optional pagination and filteringget_invoice: Retrieve details of a specific invoicesend_invoice: Send an invoice to recipientssend_invoice_reminder: Send a reminder for an existing invoicecancel_sent_invoice: Cancel a sent invoicegenerate_invoice_qr_code: Generate a QR code for an invoice
Payments
create_order: Create an order in PayPal system based on provided detailsget_order: Retrieve the details of an orderpay_order: Process payment for an authorized ordercreate_refund: Process a refund for a captured payment.get_refund: Get the details for a specific refund.
Dispute Management
list_disputes: Retrieve a summary of all open disputesget_dispute: Retrieve detailed information of a specific disputeaccept_dispute_claim: Accept a dispute claim
Shipment Tracking
create_shipment_tracking: Create a shipment tracking recordget_shipment_tracking: Retrieve shipment tracking information
Catalog Management
create_product: Create a new product in the PayPal cataloglist_products: List products with optional pagination and filteringshow_product_details: Retrieve details of a specific productupdate_product: Update an existing product
Subscription Management
create_subscription_plan: Create a new subscription planupdate_plan: Update an existing planlist_subscription_plans: List subscription plansshow_subscription_plan_details: Retrieve details of a specific subscription plancreate_subscription: Create a new subscriptionshow_subscription_details: Retrieve details of a specific subscriptionupdate_subscription: update an existing subscriptioncancel_subscription: Cancel an active subscription
Reporting and Insights
list_transactions: List transactions with optional pagination and filtering
Environment Variables
The following environment variables can be used:
PAYPAL_ACCESS_TOKEN: Your PayPal Access TokenPAYPAL_ENVIRONMENT: Set toSANDBOXfor sandbox mode,PRODUCTIONfor production (defaults toSANDBOXmode)
This guide explains how to generate an access token for PayPal API integration, including how to find your client ID and client secret.
Prerequisites
- PayPal Developer account (for Sandbox)
- PayPal Business account (for production)
Finding Your Client ID and Client Secret
-
Create a PayPal Developer Account:
- Go to PayPal Developer Dashboard
- Sign up or log in with your PayPal credentials
-
Access Your Credentials:
- In the Developer Dashboard, click on Apps & Credentials in the menu
- Switch between Sandbox and Live modes depending on your needs
-
Create or View an App:
- To create a new app, click Create App
- Give your app a name and select a Business account to associate with it
- For existing apps, click on the app name to view details
-
Retrieve Credentials:
- Once your app is created or selected, you'll see a screen with your:
- Client ID: A public identifier for your app
- Client Secret: A private key (shown after clicking "Show")
- Save these credentials securely as they are required for generating access tokens
- Once your app is created or selected, you'll see a screen with your:
Generating an Access Token
Using cURL
Replace CLIENT_ID and CLIENT_SECRET with your actual credentials. For production, use https://api-m.paypal.com instead of the sandbox URL.
Using Postman
- Create a new request to
https://api-m.sandbox.paypal.com/v1/oauth2/token - Set method to POST
- Under Authorization, select Basic Auth and enter your Client ID and Client Secret
- Under Body, select x-www-form-urlencoded and add a key
grant_typewith valueclient_credentials - Send the request
Response
A successful response will look like:
Copy the access_token value for use in your Claude Desktop integration.
Token Details
- Sandbox Tokens: Valid for 3-8 hours
- Production Tokens: Valid for 8 hours
- It's recommended to implement token refresh logic before expiration
Using the Token with Claude Desktop
Once you have your access token, update the PAYPAL_ACCESS_TOKEN value in your Claude Desktop connector configuration:
Best Practices
- Store client ID and client secret securely
- Implement token refresh logic to handle token expiration
- Use environment-specific tokens (sandbox for testing, production for real transactions)
- Avoid hardcoding tokens in application code
Disclaimer
@paypal/mcp provides access to AI-generated content that may be inaccurate or incomplete. Users are responsible for independently verifying any information before relying on it. PayPal makes no guarantees regarding output accuracy and is not liable for any decisions, actions, or consequences resulting from its use.
來源:README.md,提交 6b1ced2
工具
0版本歷史
1- v1.8.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Paypal 整合
Paypal
com.paypal.mcp官方發布者
一個遠端 PayPal MCP 伺服器,讓 AI 助理能存取 PayPal 的服務與操作。

PayPal, guarded
由 GitHub 帳號 Fizzl13 發布
PayPal Agent Toolkit 的 MCP 伺服器,讓助理讀取並操作 PayPal 商家帳戶,並由守護層限制退款額度、對高風險操作請本人核准。

Paypal Mcp
由 GitHub 帳號 mrfentmen 發布
查詢 PayPal 沙盒:訂單、擷取、帳單計劃。僅限沙盒。AI 翻譯

Paypal
由 GitHub 帳號 pipeworx-io 發布
透過 Pipeworx 閘道唯讀存取 PayPal:讓助理列出交易、訂單、發票與爭議,並可轉送其他資料問題。

Mcp Paypal
由 GitHub 帳號 codespar 發布
本機 MCP 伺服器,讓助理透過 PayPal REST API 建立、請款、退款與批次撥款,並管理訂閱與爭議。