Wechat-devtools MCP Server

把微信开发者工具封装为 MCP 服务,让编辑器里的 AI 直接完成小程序的编译、预览、调试、自动化测试闭环。Windows / macOS,已上架官方 MCP Registry。

Local serverstdio

What is the Wechat-devtools MCP Server?

WeChat DevTools is an MCP project maintained in the watertian/wechat-devtools-mcp repository. The maintainer describes its purpose as “把微信开发者工具封装为 MCP 服务,让编辑器里的 AI 直接完成小程序的编译、预览、调试、自动化测试闭环。Windows / macOS,已上架官方 MCP Registry。”. Read the project documentation for the complete scope.

Installation

The documented pypi package is wechat-devtools-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares WECHAT_DEVTOOLS_CLI, WECHAT_PROJECT_PATH. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Wechat-devtools MCP Server

{
  "mcpServers": {
    "wechat-devtools-mcp": {
      "command": "uvx",
      "args": [
        "wechat-devtools-mcp"
      ],
      "env": {
        "WECHAT_DEVTOOLS_CLI": "C:\\Program Files (x86)\\Tencent\\微信web开发者工具\\cli.bat",
        "WECHAT_PROJECT_PATH": "D:\\Your\\Project\\Path"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
WECHAT_DEVTOOLS_CLIDeclared in the maintainer’s client configuration.Check documentation
WECHAT_PROJECT_PATHDeclared in the maintainer’s client configuration.Check documentation