Skip to main content

WeChat Pay MCP Tools

微信支付 MCP 工具包,提供微信支付 JSAPI 支付和订单查询功能的 MCP(Model Context Protocol)实现。

功能特性

  • 创建 JSAPI 支付订单
  • 查询订单状态
  • 支持服务商模式
  • 完整的签名验证
  • 详细的日志记录

快速开始

环境要求

  • Python 3.8+
  • pip 或 uv 包管理器

安装

# 使用 pip 安装
pip install -r requirements.txt

# 或使用 uv 安装
uv pip install -r requirements.txt

配置

  1. 复制环境变量配置文件:
cp .env.example .env
  1. 编辑 .env 文件,至少填写其中的所有必填项

使用示例

TODO

开发指南

TODO

安全说明

  • 请妥善保管您的 API 凭证和私钥文件
  • 不要将 .env 文件提交到版本控制系统
  • 建议在生产环境中使用环境变量而不是配置文件
  • 确保您的服务器时间准确,以避免签名验证失败

贡献指南

欢迎提交 Issue 和 Pull Request!在提交之前,请确保:

  1. 代码符合 PEP 8 规范
  2. 添加了必要的测试
  3. 更新了相关文档

许可证

MIT License

联系方式

如有问题,请提交 Issue 或联系维护者。

Metadata

Release files for wxpay-mcp-python 0.1.2

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

Source distribution (sdist)

Source distribution for wxpay-mcp-python 0.1.2
File Size Uploaded Provenance
wxpay_mcp_python-0.1.2.tar.gz 7.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wxpay-mcp-python 0.1.2
File Interpreter ABI Platform
wxpay_mcp_python-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / wxpay_mcp_python-0.1.2.tar.gz

Download URL wxpay_mcp_python-0.1.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e74b172a6694b4f789bc80390a2bcf601fc196145698d68d93af6bfbd2989e15
BLAKE2b-256 checksum
How to use checksums
ecad37b72feeeca16565f227138ee26a19f4f696bb093f970a5e09a65bee5215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / wxpay_mcp_python-0.1.2-py3-none-any.whl

Download URL wxpay_mcp_python-0.1.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d252ef122668e7a5692ac5f70207c3ed849a0c17fc7180e2e048f0166fad6ba
BLAKE2b-256 checksum
How to use checksums
fe6dd3b1ad4a35d1a004e8d628e14b2a1cd87d570fe184eb80da61e747c7c31f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for wxpay-mcp-python 0.1.2

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.

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