Skip to main content
Glama
arbuthnot-eth

PayPal MCP Server

PayPal MCP サーバー

ライセンス: MIT

PayPal APIとの統合を実現するモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、標準化されたインターフェースを通じて、PayPalの支払い処理、請求、サブスクリプション管理、そしてビジネスオペレーションとのシームレスな連携を実現します。

特徴

  • 支払い処理: 支払い、注文、支払いトークンの作成と取得

  • サブスクリプション管理: 定期サブスクリプションの作成と管理

  • ビジネスオペレーション:製品、請求書を作成し、支払いを処理する

  • ユーザー管理: ユーザー情報を取得し、Webプロファイルを作成します

  • 安全な認証: リフレッシュ処理による自動トークン管理

  • 入力検証: Zodスキーマを使用した包括的な検証

  • エラー処理: 堅牢なエラー処理とログ記録

Related MCP server: PayPal

インストール

# Clone the repository
git clone https://github.com/arbuthnot-eth/PayPal-MCP-Backdated.git
cd PayPal-MCP-Backdated

# Install dependencies
npm install

# Build the project
npm run build

構成

PayPal API 認証情報を使用して、ルート ディレクトリに.envファイルを作成します。

PAYPAL_CLIENT_ID=your_client_id_here
PAYPAL_CLIENT_SECRET=your_client_secret_here
PAYPAL_ENVIRONMENT=sandbox  # or 'live' for production

使用法

サーバーの実行

# Start the server
npm start

# For development with auto-reload
npm run dev

MCP構成

MCP 構成ファイルにサーバーを追加します。

{
  "mcpServers": {
    "paypal": {
      "command": "node",
      "args": ["path/to/paypal-mcp/build/index.js"],
      "env": {
        "PAYPAL_CLIENT_ID": "your_client_id",
        "PAYPAL_CLIENT_SECRET": "your_client_secret",
        "PAYPAL_ENVIRONMENT": "sandbox"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

利用可能なツール

支払いツール

  • create_payment_token : 将来使用するために支払いトークンを作成する

  • create_order : PayPalで新しい注文を作成する

  • capture_order : 承認された注文の支払いをキャプチャする

  • create_payment : 直接支払いを作成する

  • create_subscription : 定期課金のサブスクリプションを作成する

ビジネスツール

  • create_product : カタログに新しい製品を作成する

  • create_invoice : 新しい請求書を生成する

  • create_payout : 一括支払いを処理する

ユーザーツール

  • get_userinfo : ユーザー情報を取得する

  • create_web_profile : Webエクスペリエンスプロファイルを作成する

  • get_web_profiles : Webエクスペリエンスプロファイルのリストを取得する

発達

# Run linting
npm run lint

# Run tests
npm test

# Format code
npm run format

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    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.
    7
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    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.
    742 npm
    197
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Python implementation that enables Large Language Models to interact with PayPal's APIs through function calling, supporting features like invoices, orders, products, subscriptions, and transactions.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    This read-only MCP Server allows you to connect to PayPal data from Claude Desktop through CData JDBC Drivers. Free (beta) read/write servers available at https://www.cdata.com/solutions/mcp
    MIT