易宝支付MCP服务集成

dreambt/yeepay-mcp
1 Stars 476 次浏览 更新于 2026-08-23

# 易宝MCP服务集成 易宝MCP服务通过模型上下文协议(MCP)提供与易宝服务的集成。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "yeepay-mcp": {
      "args": [
        "yeepay-mcp"
      ],
      "command": "npx"
    }
  }
}

该服务需要配置环境变量:YOP_APP_KEY、YOP_APP_PRIVATE_KEY、YOP_MERCHANT_NO、YOP_NOTIFY_URL、YOP_PARENT_MERCHANT_NO

服务介绍

Yeepay MCP Service Integration

The Yeepay MCP service provides integration with Yeepay services via the Model Context Protocol (MCP).

npm version
npm downloads

阅读中文文档

Features

  • create_webpage_yeepay_payment: Create Yeepay webpage payment order
    • Required parameters: orderId (string), amount (number), goodsName (string), userIp (string)
  • query_yeepay_payment_status: Query Yeepay payment order status
    • Required parameters: orderId (string)

Prerequisites

  • Node.js (LTS version recommended)
  • pnpm (or npm)

Usage

There are several ways to run and use this MCP service:

Configure in Cline

Configure this service in Cline's MCP settings file (cline_mcp_settings.json).

Configure using npx:

"yeepay-mcp": {
  "command": "npx",
  "args": [
    "yeepay-mcp" // Package name
    // You can add a version number, e.g., "yeepay-mcp@0.1.0"
    // You can also add arguments, e.g., "--port", "3001"
  ],
  "env": { // Same as above, env or .env file
    "YOP_PARENT_MERCHANT_NO": "Your parent merchant number",
    "YOP_MERCHANT_NO": "Your merchant number",
    "YOP_APP_PRIVATE_KEY": "Your private key",
    "YOP_APP_KEY": "Your application AppKey",
    "YOP_NOTIFY_URL": "https://your-domain.com/yeepay/notify"
  },
  "disabled": false,
  "alwaysAllow": []
}

License

This project is licensed under the Apache License. See the LICENSE file for details.

Contact

For questions or suggestions, please contact us via:

相关 MCP 服务