
Wechat Devtools
Wire your coding agent to the WeChat Mini Program DevTools CLI so it can drive compile, preview, and test flows from Claude Code or Cursor without hand-running IDE commands.
Overview
io.github.WaterTian/wechat-devtools is a Build-phase MCP server that connects agents to the WeChat DevTools CLI to automate Mini Program development and testing on your local machine.
What is this MCP server?
- Stdio MCP package installable via uvx from PyPI (wechat-devtools-mcp identifier)
- Requires WECHAT_DEVTOOLS_CLI and WECHAT_PROJECT_PATH for Windows or macOS DevTools installs
- Configurable WECHAT_CLI_TIMEOUT (default 60s) and NODE_PATH for Node-backed CLI steps
- Automates Mini Program development and testing through the official WeChat web developer tools CLI
- stdio transport suited to local-only agent sessions on the machine where DevTools is installed
- Server schema version 0.1.0 with stdio transport
- 4 environment variables (2 required: WECHAT_DEVTOOLS_CLI, WECHAT_PROJECT_PATH)
- Default WECHAT_CLI_TIMEOUT of 60 seconds
What problem does it solve?
Agents cannot run WeChat Mini Program builds or simulator checks unless you manually click through DevTools or script the CLI yourself every time.
Who is it for?
Indie builders with WeChat DevTools installed who want Claude Code or Cursor to drive local mini program compile and test loops.
Skip if: Teams not targeting WeChat mini programs, CI-only pipelines without a local DevTools install, or builders who need hosted cloud build farms.
What do I get? / Deliverables
After registering the server with correct CLI and project env vars, your agent can trigger DevTools CLI workflows from the chat instead of context-switching into the IDE.
- Agent-callable DevTools CLI automation for the configured mini program project
- Repeatable local development and test invocations without manual IDE clicks
Recommended MCP Servers
Journey fit
Mini Program work sits in the Build phase when you are actively implementing and wiring the client against WeChat’s toolchain. This server is a CLI bridge to Tencent’s developer tools—not UI design—so it belongs on the integrations shelf alongside other external tool adapters.
How it compares
Local DevTools CLI MCP integration, not a hosted WeChat cloud build or a generic mobile CI skill.
Common Questions / FAQ
Who is io.github.WaterTian/wechat-devtools for?
It is for solo developers and small teams building WeChat Mini Programs who already use 微信web开发者工具 and want their AI agent to call the official CLI.
When should I use io.github.WaterTian/wechat-devtools?
Use it during the build phase when you are iterating on a mini program and want automated compile, preview, or test steps from your MCP-enabled editor.
How do I add io.github.WaterTian/wechat-devtools to my agent?
Add the PyPI package with uvx stdio transport, set WECHAT_DEVTOOLS_CLI to your cli.bat or MacOS cli path, set WECHAT_PROJECT_PATH to your project root, then register the server in Claude Code or Cursor MCP settings.