alipay-mcp-server
An MCP server that exposes Alipay AI Pay capabilities to AI agents, enabling skill discovery, payment integration guides, and merchant onboarding workflows via Alipay's payment APIs.
README
Alipay AI Pay MCP Server
An MCP (Model Context Protocol) server that exposes Alipay AI Pay capabilities to any MCP-compatible AI client.
Enables AI agents (Claude Desktop, Cursor, Claude Code, Windsurf, etc.) to:
- Discover available AI skills on the marketplace
- Get detailed skill info including pricing (with HTTP 402 payment flow)
- Get step-by-step Alipay payment integration guides
- Access merchant onboarding (签约/入驻) workflows
Supported Products
| Product | Interface | Description |
|---|---|---|
| Pay-Per-Use (按量付费/402) | alipay.trade.pay |
Per-API-call billing for AI skills & SaaS |
| Website Payment (网站支付) | alipay.trade.page.pay |
Standard web payment (PC + mobile H5) |
| APP Payment (APP支付) | alipay.trade.app.pay |
In-app payment for native iOS/Android |
Note: This server does NOT support 当面付, 订单码支付, JSAPI支付, 预授权支付, or 商家扣款.
Tools
| Tool | Description |
|---|---|
discover_skills |
List all available AI skills on the marketplace with pricing |
get_skill_detail |
Get full SKILL.md content for a specific skill (handles HTTP 402 payment flow) |
get_alipay_integration_guide |
Step-by-step integration guide for a chosen product + language |
get_alipay_onboarding_guide |
Merchant onboarding workflow and required documents |
Prompts
| Prompt | Description |
|---|---|
integrate-alipay |
Start an Alipay payment integration project |
browse-skills |
Browse available AI skills on the marketplace |
Resources
| URI | Description |
|---|---|
alipay://products |
List of supported Alipay payment products |
Installation
Quick Install (npx)
npx -y @alipay/mcp-server-alipay@latest
From Source
git clone https://github.com/Chromatic0618/alipay-mcp-server.git
cd alipay-mcp-server
npm install
npm run build
Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"alipay": {
"command": "npx",
"args": ["-y", "@alipay/mcp-server-alipay@latest"],
"env": {
"SKILL_API_BASE": "http://124.222.26.218:3000"
}
}
}
}
Cursor
Add to your MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"alipay": {
"command": "npx",
"args": ["-y", "@alipay/mcp-server-alipay@latest"]
}
}
}
Claude Code
claude mcp add alipay -- npx -y @alipay/mcp-server-alipay@latest
Environment Variables
| Variable | Default | Description |
|---|---|---|
SKILL_API_BASE |
http://124.222.26.218:3000 |
Skill marketplace API base URL |
Usage Examples
Discover Skills
→ discover_skills
← 5 skills available, including Pay-Per-Use MBTI test, payment integration guides...
Get Skill Detail (with 402 payment)
→ get_skill_detail { skill: "mbti" }
← HTTP 402 — Payment Required. Price: ¥0.10/call. Use alipay-aipay to pay.
Integration Guide
→ get_alipay_integration_guide { product: "pay_per_use", language: "nodejs" }
← Step-by-step guide with SDK install, sandbox setup, and code paths.
Official Alipay AI Pay Skill
For the full guided integration experience (with sandbox setup, code generation, and validation), install the official skill:
npx -y @alipay/alipay-aipay@latest install
Author
Chromatic0618 / 相光域
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.