PayPal MCP Server
非公式PayPal MCPサーバー
PayPal API統合のためのモデルコンテキストプロトコル(MCP)サーバーのPython実装。このサーバーにより、大規模言語モデル(LLM)が関数呼び出しを通じてPayPal APIと連携できるようになります。
特徴
PayPal API のモデルコンテキストプロトコルの完全実装
すべての主要な PayPal API エンドポイントをサポート:
請求書: 作成、一覧表示、表示、送信、リマインダー、キャンセル、QR コード
注文:作成、取得、キャプチャ
製品: 作成、一覧表示、表示、更新
サブスクリプションプラン: 作成、リスト、表示
サブスクリプション: 作成、表示、キャンセル
出荷:作成、追跡
紛争: リスト、表示、承認
取引: リストとフィルタリング
Related MCP server: PayPal MCP Server
インストール
PyPIから
pip install paypal-mcp-serverソースから
git clone https://github.com/yourusername/paypal-mcp-server.git
cd paypal-mcp-server
pip install -e .Dockerの使用
docker pull ghcr.io/yourusername/paypal-mcp-server:latest使用法
コマンドライン
# Using environment variables
export PAYPAL_ACCESS_TOKEN="your_access_token"
export PAYPAL_ENVIRONMENT="SANDBOX" # or "PRODUCTION"
paypal-mcp --tools=all
# Or with command line arguments
paypal-mcp --tools=all --access-token=your_access_token --paypal-environment=SANDBOX特定のツールのみを有効にする
paypal-mcp --tools=invoices.create,invoices.list,orders.create --access-token=your_tokenDockerを使用
docker run -e PAYPAL_ACCESS_TOKEN="your_access_token" -e PAYPAL_ENVIRONMENT="SANDBOX" ghcr.io/yourusername/paypal-mcp-server:latest --tools=allClaude Desktopとの統合
~/Claude/claude_desktop_config.jsonに以下を追加します。
{
"mcpServers": {
"paypal": {
"command": "paypal-mcp",
"args": [
"--tools=all"
],
"env": {
"PAYPAL_ACCESS_TOKEN": "YOUR_PAYPAL_ACCESS_TOKEN",
"PAYPAL_ENVIRONMENT": "SANDBOX"
}
}
}
}PayPalアクセストークンの取得
クライアント ID とクライアント シークレットを使用して PayPal アクセス トークンを生成できます。
curl -v https://api-m.sandbox.paypal.com/v1/oauth2/token \
-H "Accept: application/json" \
-H "Accept-Language: en_US" \
-u "CLIENT_ID:CLIENT_SECRET" \
-d "grant_type=client_credentials"発達
開発環境のセットアップ
# Clone the repository
git clone https://github.com/yourusername/paypal-mcp-server.git
cd paypal-mcp-server
# Install dev dependencies
pip install -e ".[dev]"
# Install pre-commit hooks
pre-commit installテストの実行
pytest -xvsパッケージの構築
python -m buildライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
謝辞
PayPalのエージェントツールキットに基づく
モデルコンテキストプロトコル仕様と互換性がある
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, send and track invoices from a conversation in Claude, ChatGPT or any MCP client that supports OAuth. Draft an invoice from one sentence or from last month's invoice for the same client, finalize it, email it to your client and send payment reminders for overdue ones. See revenue by month and by client, download PDFs and e-invoices (ZUGFeRD, XRechnung), and export DATEV packages for your tax advisor. Invoices follow the tax rules of 25 countries, including reverse charge and the small-business VAT exemption. New invoices are drafts, and nothing is emailed until you ask. Pay per invoice with no subscription: the first invoice is free.
Pay-per-call tools for AI assistants: code, data, finance, spreadsheets, media, web, time.
Agentic Commerce Protocol sandbox: agent builds a cart, human approves a real PayPal payment.
Taiwan payments (ECPay 綠界 + NewebPay 藍新) & e-invoices for AI agents. Stateless, never holds funds.
Related MCP Servers
- 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
- AlicenseNot gradedqualityDmaintenanceThe 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.937 npm197-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with multiple payment providers (Stripe, Paystack) through a unified API. Supports payment initialization, verification, refunds, customer management, and invoicing without requiring knowledge of specific provider implementations.2-