Skip to main content

中国移动支付服务(MCP)

中国移动支付(China Mobile Pay) MCP Server 服务,智能体开发者可轻松接入中移支付服务,目前提供了订单创建、订单查询、申请退款及退款查询功能。

主要功能

  • 订单创建create_wap_payment_order

    • 创建网页支付订单。
    • 输入:
      • product_name (str): 商品名称。
      • order_id (str): 商户订单号。
      • amount (int): 订单金额,单位为分。
    • 输出:
      • 订单信息,支付链接等。
  • 订单查询query_wep_payment_order

    • 交易支付状态信息。
    • 输入:
      • order_id (str): 商户订单号。
    • 输出:
      • 订单信息,支付时间、支付结果、支付金额等。
  • 申请退款refund_payment_order

    • 对交易进行退款操作。
    • 输入:
      • order_id (str): 商户订单号。
      • amount (int): 退款金额。
      • payNo (str): 流水号。
    • 输出:
      • 退款信息,退款时间、退款金额等。
  • 退款查询query_refund_payment_order

    • 交易订单退款信息查询。
    • 输入:
      • order_id (str): 商户订单号。
      • order_date (str): 商户订单日期。
    • 输出:
      • 退款信息,退款状态等。

环境变量

在和包商户端进行申请,配置以下环境变量:

  • MERCHANT_ID: 商户ID。
  • SIGN_KEY: 签名密钥。

示例用法

mcp-cmpay应由 MCP 客户端启动,因此必须进行相应的配置。对于 Claude Desktop,配置可以如下所示:

{
    "mcpServers": {
        "mcp-server-cmpay": {
            "command": "uvx",
            "args": [
                "mcp-cmpay"
            ],
            "env": {
                "MERCHANT_ID": "<YOUR_MERCHANT_ID>",
                "SIGN_KEY": "<YOUR_SIGN_KEY>"
            }
        }
    }
}

Metadata

Release files for mcp-cmpay 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-cmpay 0.2.1
File Size Uploaded Provenance
mcp_cmpay-0.2.1.tar.gz 33.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-cmpay 0.2.1
File Interpreter ABI Platform
mcp_cmpay-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 43.2 kB

Release files / mcp_cmpay-0.2.1.tar.gz

Download URL mcp_cmpay-0.2.1.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
34b6f1c857a241d97c901004a97c4484f3cb79d804893c030aaca1da808888b2
BLAKE2b-256 checksum
How to use checksums
fe1db7254fa79f8e3685ffa5a9bab2f3bb7d5d382af525ea0de49d212df4c8a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / mcp_cmpay-0.2.1-py3-none-any.whl

Download URL mcp_cmpay-0.2.1-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34721a218edb0e0ef65d5234103b0e7b0a613109e0ba4457c1bfe5333d1d01a5
BLAKE2b-256 checksum
How to use checksums
0b5e3b5002aae6722e349598a8da25e6c6af330c3b1d3817a8c891d9afb76a78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for mcp-cmpay 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page