MCP.so
Sign In
L

Lfwin Payment Mcp

@litsen

About Lfwin Payment Mcp

LFWin Payment MCP Server 是一个面向 AI Agent 的支付能力服务,通过标准 MCP 协议,将创建支付订单、查询支付状态、发起退款、查询退款状态等能力开放给 Cursor、Cline、Claude Desktop、企业智能助手和自研 Agent 应用。

Basic information

Category

AI & Agents

Transports

stdio

Publisher

litsen

Submitted by

litsen

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "lfwin-payment-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@litsen/lfwin-payment-mcp"
      ]
    }
  }
}

Tools

4

Create a cashier payment order. Amount is in yuan. The merchant order number must be unique.

Query payment order status by the platform order number.

Create a refund request. mch_refund_no is the merchant refund number and must be unique.

Query refund status. Optionally pass mch_refund_no to locate a specific refund.

Overview

What is Lfwin Payment Mcp?

LFWin Payment MCP Server is a payment capability service for AI agents. It exposes payment order creation, status querying, refund initiation, and refund status querying via the standard MCP protocol to tools like Cursor, Cline, Claude Desktop, and custom agent applications.

How to use Lfwin Payment Mcp?

Install the Node.js version via npx -y @litsen/lfwin-payment-mcp or the Python version via pip install git+https://github.com/litsen/lfwin-payment-mcp.git. Configure environment variables PAYMENT_API_KEY and PAYMENT_SIGN_KEY, then add a stdio MCP server entry in your client (Cursor, Cline, etc.) pointing to the appropriate command.

Key features of Lfwin Payment Mcp

  • Create unified checkout payment orders with pay URL and QR code
  • Query payment order status by platform order number
  • Initiate refunds against completed payment orders
  • Query refund status by platform order and merchant refund number
  • Provides both Python and Node.js implementations with identical tools

Use cases of Lfwin Payment Mcp

  • An AI agent generates a payment order and presents a QR code for the user to scan and pay.
  • An automated refund workflow triggered by the agent after a payment has been completed.
  • A customer support agent checks the real-time status of a payment or refund order.

FAQ from Lfwin Payment Mcp

What tools does Lfwin Payment Mcp provide?

It provides four MCP tools: create_payment_order, query_payment_order, refund_payment_order, and query_refund_status.

What environment variables are required?

Both implementations require PAYMENT_API_KEY and PAYMENT_SIGN_KEY. Obtain these from the service provider.

Which transport protocol does Lfwin Payment Mcp use?

The server uses the stdio transport for local MCP services. Remote deployment requires adding authentication, tenant isolation, access control, and origin validation.

Are there two separate implementations?

Yes. A Python version in payment_mcp/ and a Node.js version in node-mcp/. They offer the same MCP tools; choose based on your environment.

How should I protect my API keys?

Never commit PAYMENT_API_KEY or PAYMENT_SIGN_KEY to version control. Use environment variables, IDE secrets, or a secret management system.

Comments

More AI & Agents MCP servers