Skip to main content
Glama
README.md
# Xiangguangyu MCP Skills

[![npm](https://img.shields.io/npm/v/xiangguangyu-mcp-skills)](https://www.npmjs.com/package/xiangguangyu-mcp-skills)
[![MCP](https://img.shields.io/badge/MCP-1.0-blue)](https://modelcontextprotocol.io)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)
[![GitHub](https://img.shields.io/github/stars/Chromatic0618/alipay-mcp-server?style=social)](https://github.com/Chromatic0618/alipay-mcp-server)

An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server with **5 AI Skills** that supports **pay-per-use** via Alipay HTTP 402.

**Pay only when you use. ¥0.10–0.50 per call. No subscription.**

## Skills (5 Available)

| Skill | Price | Description |
|-------|-------|-------------|
| 🧠 MBTI Analysis | ¥0.10 | 2-20 person personality dynamics, group interaction matrix |
| 📡 Weekly Radar | ¥0.10 | Curated AI tool picks with pros/cons/comparison |
| 🎮 Game Audio Brief | ¥0.10 | One sentence → professional audio specification doc |
| 🔍 Deep Analysis (灼见) | ¥0.50 | 5-layer penetration: surface → structure → logic → essence → prediction |
| ✅ Fact Check (辩真) | ¥0.50 | Triple adversarial verification + source tracing |

### How it works

1. `discover_skills` → Browse all 5 skills with pricing
2. `get_skill_detail` → See **free preview** + value proposition
3. Pay via Alipay (¥0.10–0.50) → Get receipt
4. Retry with receipt → **Full content unlocked**

> No registration. No subscription. No pre-payment. Just scan & pay.

## 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)

```bash
npx -y xiangguangyu-mcp-skills@latest
```

### From Source

```bash
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`:

```json
{
  "mcpServers": {
    "alipay": {
      "command": "npx",
      "args": ["-y", "xiangguangyu-mcp-skills@latest"],
      "env": {
        "SKILL_API_BASE": "http://124.222.26.218:3000"
      }
    }
  }
}
```

### Cursor

Add to your MCP settings (`.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "alipay": {
      "command": "npx",
      "args": ["-y", "xiangguangyu-mcp-skills@latest"]
    }
  }
}
```

### Claude Code

```bash
claude mcp add alipay -- npx -y xiangguangyu-mcp-skills@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: MBTI Analysis (¥0.10), Weekly Radar (¥0.10), Game Audio (¥0.10),
   Deep Analysis (¥0.50), Fact Check (¥0.50)
```

### Get Skill Detail (free preview + pay to unlock)

```
→ get_skill_detail { skill: "mbti" }
← ## Skill: mbti
  > MBTI 十六型人格关系推演
  ### 🎯 Free Preview
  📋 示例输出(INFJ × ENFP): 共鸣度 82%, 核心共鸣...
  ⚠️ Payment Required — Price: ¥0.10
  Pay via Alipay → Retry with receipt → Full content
```

### Integration Guide

```
→ get_alipay_integration_guide { product: "pay_per_use", language: "nodejs" }
← Step-by-step guide with SDK install, sandbox setup, and code paths.
```

## Community

- 💬 [Discussions](https://github.com/Chromatic0618/alipay-mcp-server/discussions) — Feedback, ideas, questions
- 🐛 [Issues](https://github.com/Chromatic0618/alipay-mcp-server/issues) — Bug reports

## Author

**Chromatic0618 / 相光域**

## License

MIT

TDQS

A4.2/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: discovering skills, getting skill details, integration guide, and onboarding guide. No overlap in functionality.

Naming Consistency5/5

All tool names use a consistent verb_noun pattern in snake_case (discover_skills, get_alipay_integration_guide, etc.). The verbs are uniform ('discover' and 'get').

Tool Count5/5

4 tools is appropriate for a focused Alipay integration assistant. It covers the key areas without being too few or too many.

Completeness4/5

The tools cover skill discovery, detail retrieval, integration guide, and onboarding guide. Minor gap: lacks a tool for actual sandbox or payment testing, but the guides provide instructions.

Maintenance

ActivityMaintained
ResponsivenessSyncing