Skip to main content
Glama

PayPal Account Updater Subscription Connector

by rishabh17081

用于 MCP 的 PayPal 帐户更新程序订阅连接器

此 MCP(模型上下文协议)连接器提供与 PayPal 的帐户更新程序服务集成的工具,有助于在您的电子商务系统中维护最新的支付卡信息。

特征

  • 订阅 PayPal 帐户更新服务中的支付卡
  • 检索订阅详细信息
  • 处理卡片更新的 Webhook 通知
  • 使用最新的卡信息更新您的商家数据库

安装

# Clone the repository git clone https://github.com/rishabh17081/paypal-au-subscription-connector.git # Install dependencies pip install fastmcp requests

用法

运行 MCP 服务器

# Set environment variables export PAYPAL_CLIENT_ID="your_client_id" export PAYPAL_CLIENT_SECRET="your_client_secret" export PAYPAL_ENVIRONMENT="SANDBOX" # or "LIVE" or "MOCKDB" # Run the MCP server python -m fastmcp run paypal_au_subscription_mcp.py

与 Claude 一起使用

将 MCP 服务器添加到您的 Claude 配置中:

{ "mcpServers": { "paypal-au": { "command": "python", "args": ["-m", "fastmcp", "run", "/path/to/paypal_au_subscription_mcp.py"], "env": { "PAYPAL_CLIENT_ID": "your_client_id", "PAYPAL_CLIENT_SECRET": "your_client_secret", "PAYPAL_ENVIRONMENT": "SANDBOX" } } } }

可用工具

获取新鲜卡片解决

提供有关 PayPal 帐户更新程序作为卡新鲜度管理解决方案的信息。

创建订阅

在 PayPal 中创建帐户状态订阅。

create_subscription(pan="4111111111111111", expiry_date="2025-12")

获取订阅

获取 PayPal 中帐户状态订阅的详细信息。

get_subscription(subscription_id="SUB-1234567890")

订阅商家到 PayPal 服务

提供商户卡订阅PayPal AU服务的说明。

setup_webhook_events_in_merchant_code_base

在商家的代码库中设置 webhook 事件处理代码。

setup_webhook_events_in_merchant_code_base(url="/path/to/merchant/codebase")

Webhook 集成

要接收卡片更新通知,请在您的应用程序中设置一个 Webhook 端点,用于监听 PayPal 的卡片更新事件。连接器包含用于实现此 Webhook 的示例代码。

环境变量

  • PAYPAL_CLIENT_ID :您的 PayPal API 客户端 ID
  • PAYPAL_CLIENT_SECRET :您的 PayPal API 客户端密钥
  • PAYPAL_ENVIRONMENT :要使用的环境(“SANDBOX”、“LIVE”或“MOCKDB”)

执照

麻省理工学院

-
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 帐户更新服务的集成,使商家能够通过订阅管理和 webhook 通知在其电子商务系统中维护最新的支付卡信息。

  1. 特征
    1. 安装
      1. 用法
        1. 运行 MCP 服务器
        2. 与 Claude 一起使用
      2. 可用工具
        1. 获取新鲜卡片解决
        2. 创建订阅
        3. 获取订阅
        4. 订阅商家到 PayPal 服务
        5. setup\_webhook\_events\_in\_merchant\_code\_base
      3. Webhook 集成
        1. 环境变量
          1. 执照

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A server that integrates with Stripe for handling payments, customers, and refunds through the Model Context Protocol, providing a secure API to manage financial transactions.
              Last updated -
              13
              Python
              MIT License
              • Apple
            • -
              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

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/rishabh17081/paypal-au-subscription-connector'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server