Lfwin Payment Mcp
@litsen
Lfwin Payment Mcp について
LFWin Payment MCP Server 是一个面向 AI Agent 的支付能力服务,通过标准 MCP 协议,将创建支付订单、查询支付状态、发起退款、查询退款状态等能力开放给 Cursor、Cline、Claude Desktop、企业智能助手和自研 Agent 应用。
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"lfwin-payment-mcp": {
"command": "npx",
"args": [
"-y",
"@litsen/lfwin-payment-mcp"
]
}
}
}ツール
4Create 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.
概要
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.
「AI とエージェント」の他のコンテンツ
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
Web Agent Protocol
OTA-Tech-AI🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
コメント