What prerequisites are needed?
Node.js v18+, WeChat DevTools installed with the Service Port enabled, and an open mini‑program or mini‑game project.
@jiawei686
基本信息
mcp server for wechat dev tools
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"wechat-devtools": {
"command": "npx",
"args": [
"-y",
"wechat-dev-mcp"
]
}
}
}Launch and connect to WeChat Developer Tools. [REQUIRED INITIAL STEP] Use this tool first to start controlling a mini-program. Requires the absolute project path.
Connect to an already running WeChat Developer Tools instance via WebSocket. Use this if 'launch' fails or you want to attach to an existing session.
[CRITICAL] Use this tool to verify if the mini-program is running correctly after ANY code changes. It returns the current page path, network status, and recent console errors.
Navigate to a specific page in the mini-program.
Get the data of the current page. Useful for verifying state changes after interactions or API calls.
Set data on the current page. Use this to mock state or trigger UI updates for testing.
Get information about an element (text, wxml, attributes, computed style) or interact with it (tap, input, trigger). Use this to inspect UI or perform actions.
Call a method on the current page.
Disconnect from the mini-program.
It controls WeChat Developer Tools and mini‑programs/mini‑games via the Model Context Protocol (MCP). It works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible AI agent.
Install Node.js v18+ and enable the Service Port in WeChat DevTools (设置 → 安全设置 → 服务端口). Add the server configuration (using npx -y wechat-dev-mcp or a globally installed wechat-dev-mcp command) to your MCP client’s settings. Then use the provided tools to launch, connect, and automate DevTools.
wx.* APIsNode.js v18+, WeChat DevTools installed with the Service Port enabled, and an open mini‑program or mini‑game project.
Use the `launch` tool (opens DevTools and a project) or the `connect` tool (connects via WebSocket, default `ws://localhost:9420`).
Ensure DevTools is running and the Service Port is enabled in the settings. Then retry the connection.
No. Page tools return clear errors if used on a game project. Use `evaluate`, `call_wx_method`, or the `game_*` tools instead.
Run the `check_health` tool. It checks connection, page path, network, console errors, and project type.

Live Texas Hold'em for AI agents: your assistant plays your 3D star, talks trash, anyone can watch.
XDC AI is a remote MCP server available at https://xdcai.tech.
HeyLead: AI agent for LinkedIn outreach. Finds the right people, writes in your voice, follows up and handles replies, from Claude Code, Cursor, any MCP client or a web dashboard.

Agent skill: turn what your AI assistant knows about you into a personalized hypnosis session on hypnothera.ai

Instant blogs for AI agents: a publishing CMS with no dashboard. One signup call returns a blog, an API key and a live URL; then publish markdown posts and get public URLs back.
评论