RC

rn1024/creatoria-miniapp-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

9 stars 5 forks 品質 65 トレンド 21

Model Context Protocol (MCP) server for WeChat Mini Program automation using the official miniprogram-automator SDK.

概要

Model Context Protocol (MCP) server for WeChat Mini Program automation using the official miniprogram-automator SDK. - : 65 AI-optimized tools for natural language automation - : Automator, MiniProgram, Page, Element, Assert, Snapshot, Record, Network tools - : Built-in timeout protection and retry mechanism for all async operations - : Auto-detects project path from project.config.json or app.json - : No installation needed, just npx -y @creatoria/miniapp-mcp - : Built-in assertion and recording capabilities - : Full type definitions with comprehensive test coverage Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json): The server will automatically detect your mini program project. The server wraps WeChat's official miniprogram-automator SDK, exposing it through the Model Context Protocol. This allows AI assistants like Claude to: 1. to WeChat DevTools automation interface 2. mini program UI through natural language 3.

README

以下は原文 README の抜粋です。原文を見る。

WeChat Mini Program MCP Server

Model Context Protocol (MCP) server for WeChat Mini Program automation using the official miniprogram-automator SDK.


Features

  • LLM-Friendly: 65 AI-optimized tools for natural language automation
  • Complete Coverage: Automator, MiniProgram, Page, Element, Assert, Snapshot, Record, Network tools
  • Robust Runtime: Built-in timeout protection and retry mechanism for all async operations
  • Zero Config: Auto-detects project path from project.config.json or app.json
  • npx Ready: No installation needed, just npx -y @creatoria/miniapp-mcp
  • Test Automation: Built-in assertion and recording capabilities
  • TypeScript: Full type definitions with comprehensive test coverage

Quick Start

Installation

Use with npx (recommended):

npx -y @creatoria/miniapp-mcp

Or install globally:

npm install -g @creatoria/miniapp-mcp

Configuration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "miniprogram": {
      "command": "npx",
      "args": ["-y", "@creatoria/miniapp-mcp"]
    }
  }
}

That’s it! The server will automatically detect your mini program project.

How It Works

The server wraps WeChat’s official miniprogram-automator SDK, exposing it through the Model Context Protocol. This allows AI assistants like Claude to:

  1. Connect to WeChat DevTools automation interface
  2. Control mini program UI through natural language
  3. Verify behavior with built-in assertions
  4. Debug with snapshots and recordings

Auto-Detection

The server automatically searches for mini program projects:

  • Current directory (checks for project.config.json or app.json)
GitHub で README 全文を見る

インストール

npx -y @creatoria/miniapp-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "miniprogram": { "command": "npx", "args": ["-y", "@creatoria/miniapp-mcp"] } } }