npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@yyysylvia/mcp-server-alipay-prepay

v1.0.1

Published

由支付宝开放平台提供的支付创建和管理 MCP 服务。A mcp server to create and process payment with Alipay open APIs.

Readme

1. 简介

本包为支持预下单能力的临时mcp版本,支持将支付宝开放平台提供的交易预创建、查询、退款等能力集成到你的 LLM 应用中,并进一步创建具备支付能力的智能工具。

2. 支持的能力

以下表格列出了所有可用的支付工具能力:

| 名称 | 描述 | 参数 | 输出 | |-------|------|------|------| | create-prepay-alipay-payment | 预创建一笔支付宝订单,返回prepay_id。 | - outTradeNo: 商户订单号,最长 64 个字符- totalAmount: 支付金额,单位:元,最小 0.01- orderTitle: 订单标题,最长 256 个字符 | - prepay_id: 预创单id | | create-web-page-alipay-payment | 创建一笔支付宝订单,返回带有支付链接的 Markdown 文本,该链接在电脑浏览器中打开后会展示支付二维码,用户可扫码支付。本工具适用于桌面网站或电脑客户端。 | - outTradeNo: 商户订单号,最长 64 个字符- totalAmount: 支付金额,单位:元,最小 0.01- orderTitle: 订单标题,最长 256 个字符 | - url: 支付链接的 markdown 文本 | | query-alipay-payment | 查询一笔支付宝订单,并返回带有订单信息的文本 | - outTradeNo: 商户订单号,最长 64 个字符 | - tradeStatus: 订单的交易状态- totalAmount: 订单的交易金额- tradeNo: 支付宝交易号 | | refund-alipay-payment | 对交易发起退款,并返回退款状态和退款金额 | - outTradeNo: 商户订单号,最长 64 个字符- refundAmount: 退款金额,单位:元,最小 0.01- outRequestNo: 退款请求号,最长 64 个字符- refundReason: 退款原因,最长 256 个字符(可选) | - tradeNo: 支付宝交易号- refundResult: 退款结果 | | query-alipay-refund | 查询一笔支付宝退款,并返回退款状态和退款金额 | - outRequestNo: 退款请求号,最长 64 个字符- outTradeNo: 商户订单号,最长 64 个字符 | - tradeNo: 支付宝交易号- refundAmount: 退款金额- refundStatus: 退款状态 |