MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

DragonMCP is a Model Context Protocol (MCP) server designed for AI Agents to interact with local life services in Greater China (Mainland China, HKSAR) and Asia. DragonMCP 是一个专为 AI Agent 设计的 Model Context Protocol (MCP) 服务器,旨在提供中国内地、中国香港及亚洲地区的本地生活服务接口。

Created 3/8/2026
Updated 1 day ago
Repository documentation and setup instructions
DragonMCP Logo

DragonMCP

The Neural Center for Chinese Local Life Agents

English | 简体中文 | 日本語 | 한국어 | Français | Deutsch

Let Claude / DeepSeek / Qwen directly order your takeout, hail a Didi, check high-speed rail tickets, and pay utility bills.

Product Requirements (PRD)ArchitectureContributing

License: MIT TypeScript MCP Node.js PRs Welcome


🌟 What is DragonMCP?

DragonMCP is a Model Context Protocol (MCP) server designed to bridge the gap between AI Agents and local life services in Greater China (Mainland China, Hong Kong) and Asia.

It aims to solve the "last mile" problem between AI Agents and real-world services.


🔥 Live Demo: MTR Real-time Schedule

We have implemented the MTR (Mass Transit Railway) Query Tool as our first MVP. AI Agents can now fetch real-time train schedules directly from MTR's Open API.

Scenario:

User: "When is the next train from Admiralty to Central?"

Agent Response:

"Next Island Line train from Admiralty to Central (towards Kennedy Town):

  • Arriving in: 2 min(s) (10:30:00)
  • Subsequent trains: 5 min(s) (10:33:00)"

(Try it yourself by connecting DragonMCP to your MCP client!)


🛠️ Supported Services (Beta)

We are actively expanding our support for local services. Below are the currently integrated interfaces (some are mocks/placeholders for development):

| Category | Service | Tool Name | Description | Status | | :------------ | :--------------- | :----------------------- | :----------------------------------------------- | :----- | | Travel | MTR (HK) | search_mtr_schedule | Real-time train schedule (Island/Tsuen Wan Line) | ✅ Live | | | Amap (Gaode) | amap_search_poi | Search for POIs (Restaurants, Hotels, etc.) | ✅ Live | | | Amap (Gaode) | amap_walking_direction | Walking route planning | ✅ Live | | | Didi | book_taxi_didi | Estimate price and book a ride | 🚧 Mock | | Payment | WeChat Pay | wechat_pay_create | Create payment order | 🚧 Mock | | | Alipay | alipay_pay_create | Create payment order | 🚧 Mock | | Lifestyle | Meituan | meituan_search_food | Search for food delivery | 🚧 Mock | | Shopping | Taobao | taobao_search_product | Search for products | 🚧 Mock |


🏗️ Architecture

DragonMCP acts as a middleware between AI Agents and various local service APIs.

graph TD
    A[AI Agent Client] -->|MCP Protocol| B[DragonMCP Server]
    B --> C[Service Router]
    
    subgraph "Service Modules"
        C --> D[Payment Service]
        C --> E[Travel Service]
        C --> F[Lifestyle Service]
        C --> G[Gov Service]
    end
    
    subgraph "External APIs"
        D -.-> H[WeChat/Alipay]
        E -.-> I[MTR/Amap/Didi]
        F -.-> J[Meituan/Taobao]
        G -.-> K[HK Gov/Mainland Gov]
    end

For more details, please refer to the Technical Architecture Document.


🗺️ Roadmap & Features

Phase 1: MVP (Current)

  • [x] Core Framework: Express + MCP SDK + TypeScript setup.
  • [x] Travel (MTR): Real-time schedule query for Island Line & Tsuen Wan Line.
  • [x] Travel (Amap): POI search and walking directions.
  • [x] Service Mocks: Basic structure for WeChat/Alipay/Didi/Meituan/Taobao.
  • [ ] Food Delivery (Demo): Simulate ordering process (Search Shop -> Menu -> Cart).
  • [ ] Basic Config: Environment variables & project structure.

Phase 2: Expansion

  • [ ] Payment Integration: WeChat Pay / Alipay (Sandbox/QR Code generation).
  • [ ] More Transport: High Speed Rail (12306) ticket check, Didi/Uber estimation.
  • [ ] E-commerce: Product search aggregation (Taobao/JD).
  • [ ] Multi-region Support: Switch context between Mainland China / HK / SG.

Phase 3: Ecosystem

  • [ ] Plugin System: Allow community to contribute individual service tools.
  • [ ] User Auth: Secure user token management for personal services.

🚀 Getting Started

Prerequisites

  • Node.js >= 18
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/arthurpanhku/DragonMCP.git
    cd DragonMCP
    
  2. Install dependencies:

    npm install
    
  3. Configure environment variables:

    cp .env.example .env
    # Edit .env (AMAP_API_KEY required for map services)
    

Running the Server

Start the development server with SSE support:

npm run dev

The server will start at http://localhost:3000. SSE Endpoint: http://localhost:3000/mcp/sse

Connect to Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "DragonMCP": {
      "command": "node",
      "args": ["/path/to/DragonMCP/dist/server.js"], 
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

(Note: For local dev, you might need to build first or point to the ts-node wrapper)


🧪 Testing

Run unit and integration tests:

# Enable experimental VM modules for Jest (ESM support)
NODE_OPTIONS="$NODE_OPTIONS --experimental-vm-modules" npm test

🤝 Contributing

We welcome all contributions! Whether you are a developer, designer, or product thinker.

We need help with:

  1. Playwright Scripts: Simulating food delivery apps (Meituan/Ele.me) web flows.
  2. More MTR Lines: Adding station data for East Rail Line, Tuen Ma Line, etc.
  3. Real API Integration: Replacing mocks with real APIs for WeChat/Alipay/Didi.

See CONTRIBUTING.md (Coming Soon) for details.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Quick Setup
Installation guide for this server

Install Package (if required)

npx @modelcontextprotocol/server-dragonmcp

Cursor configuration (mcp.json)

{ "mcpServers": { "arthurpanhku-dragonmcp": { "command": "npx", "args": [ "arthurpanhku-dragonmcp" ] } } }