PayPal MCP Server

Integrations

  • Enables interaction with PayPal's APIs, supporting operations for invoices, orders, products, subscription plans, subscriptions, shipments, disputes, and transactions. Allows creating, listing, viewing, and managing PayPal resources programmatically.

非公式PayPal MCPサーバー

PayPal API統合のためのモデルコンテキストプロトコル(MCP)サーバーのPython実装。このサーバーにより、大規模言語モデル(LLM)が関数呼び出しを通じてPayPal APIと連携できるようになります。

特徴

  • PayPal API のモデルコンテキストプロトコルの完全実装
  • すべての主要な PayPal API エンドポイントをサポート:
    • 請求書: 作成、一覧表示、表示、送信、リマインダー、キャンセル、QR コード
    • 注文:作成、取得、キャプチャ
    • 製品: 作成、一覧表示、表示、更新
    • サブスクリプションプラン: 作成、リスト、表示
    • サブスクリプション: 作成、表示、キャンセル
    • 出荷:作成、追跡
    • 紛争: リスト、表示、承認
    • 取引: リストとフィルタリング

インストール

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_token

Dockerを使用

docker run -e PAYPAL_ACCESS_TOKEN="your_access_token" -e PAYPAL_ENVIRONMENT="SANDBOX" ghcr.io/yourusername/paypal-mcp-server:latest --tools=all

Claude 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 ファイルを参照してください。

謝辞

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

関数呼び出しを通じて大規模言語モデルが PayPal の API と対話できるようにし、請求書、注文、製品、サブスクリプション、取引などの機能をサポートする Python 実装。

  1. 特徴
    1. インストール
      1. PyPIから
      2. ソースから
      3. Dockerの使用
    2. 使用法
      1. コマンドライン
      2. 特定のツールのみを有効にする
      3. Dockerを使用
    3. Claude Desktopとの統合
      1. PayPalアクセストークンの取得
        1. 発達
          1. 開発環境のセットアップ
          2. テストの実行
          3. パッケージの構築
        2. ライセンス
          1. 謝辞

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A 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 -
              TypeScript
            • -
              security
              A
              license
              -
              quality
              Provides integration with PayPal's Account Updater service, enabling merchants to maintain fresh payment card information in their e-commerce systems through subscription management and webhook notifications.
              Last updated -
              Python
              MIT License
            • -
              security
              A
              license
              -
              quality
              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.
              Last updated -
              TypeScript
              Apache 2.0
            • -
              security
              A
              license
              -
              quality
              A 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 -
              TypeScript
              MIT License

            View all related MCP servers

            ID: eau1y6qg7q