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"] } } }