miniprogram-automator-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@miniprogram-automator-mcpconnect to my mini-program and get a snapshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
miniprogram-automator-mcp
一个基于 miniprogram-automator 的 MCP Server,用来让 Agent 自动化操作微信小程序。
核心功能
支持两种连接方式:
launch(本地启动)与connect(连接已有端点)提供类似 agent-browser 的交互树模式(
snapshot返回 refs/tree/nth),便于稳定定位与操作适合 Agent 场景下的稳定闭环操作(观察 -> 操作 -> 再观察)
Related MCP server: weapp-agent-mcp
前置要求
Node.js
>=18微信开发者工具版本
>= 1.02.1907232小程序基础库版本
>= 2.7.3已在微信开发者工具中开启安全设置里的 CLI/HTTP 调用能力(未开启会导致 automator 无法启动)
在 MCP 客户端中接入
{
"mcpServers": {
"weapp-automator": {
"command": "npx",
"args": ["-y", "miniprogram-automator-mcp"]
}
}
}会话接入
会话接入支持 launch 和 connect:本地直接调试时用 launch,已有运行中的 websocket 自动化端点时用 connect。
CLI 启动参数(可选)
你可以在启动 MCP Server 时通过参数指定默认会话配置。
查看帮助:
bunx miniprogram-automator-mcp --help
bunx miniprogram-automator-mcp launch --help
bunx miniprogram-automator-mcp connect --helplaunch 模式示例:
bunx miniprogram-automator-mcp \
launch \
--project-path /absolute/path/to/miniprogram \
--cli-path /Applications/wechatwebdevtools.app/Contents/MacOS/cli \
--port 9420connect 模式示例:
bunx miniprogram-automator-mcp \
connect \
--ws-endpoint ws://127.0.0.1:9420常用参数:
子命令:
launch(默认语义)或connect--project-path: 小程序项目路径(launch 必填)--cli-path: 微信开发者工具 CLI 路径(launch 可选)--port: 自动化端口(launch 可选)--account/--ticket/--trust-project/--cwd: launch 可选高级参数--ws-endpoint: 连接地址(connect 必填)
环境变量
MINIPROGRAM_AUTOMATOR_MODE:launch或connectMINIPROGRAM_PROJECT_PATH: 小程序项目路径(launch模式)MINIPROGRAM_CLI_PATH: 微信开发者工具 CLI 路径(launch模式)MINIPROGRAM_AUTOMATOR_PORT: 自动化端口(launch模式)MINIPROGRAM_AUTOMATOR_WS_ENDPOINT: ws 地址(connect模式)
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Control real Android and iOS devices with LLM agents — tap, swipe, type, automate flows.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI assistants to automate WeChat Developer Tools for mini programs, allowing navigation, inspection, and manipulation of pages and components through the miniprogram-automator API.2767174MIT
- AlicenseAqualityAmaintenanceMCP server for WeChat Mini Program debugging and automation, enabling agents to perform UI operations, screenshots, and regression testing through natural language commands.4417914MIT
- AlicenseNot gradedqualityDmaintenanceEnables automated testing of WeChat mini-programs via Model Context Protocol, providing tools for connecting to WeChat Developer Tools, querying and interacting with page elements, making assertions, navigating, and debugging.4377MIT
- FlicenseAqualityCmaintenanceEnables AI agents to control WeChat through MCP protocol, including sending messages, managing contacts, and searching messages.10-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/liqiha0/miniprogram-automator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server