
rn1024/creatoria-miniapp-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
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.jsonorapp.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:
- Connect to WeChat DevTools automation interface
- Control mini program UI through natural language
- Verify behavior with built-in assertions
- Debug with snapshots and recordings
Auto-Detection
The server automatically searches for mini program projects:
- Current directory (checks for
project.config.jsonorapp.json)
설치
npx -y @creatoria/miniapp-mcp설정
{
"mcpServers": {
"miniprogram": {
"command": "npx",
"args": ["-y", "@creatoria/miniapp-mcp"]
}
}
}