Wechat Dev Mcp
@jiawei686
关于 Wechat Dev Mcp
mcp server for wechat dev tools
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"wechat-devtools": {
"command": "npx",
"args": [
"-y",
"wechat-dev-mcp"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Wechat Dev Mcp?
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.
How to use Wechat Dev Mcp?
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.
Key features of Wechat Dev Mcp
- 36 tools covering connection, navigation, and interaction
- Automated launch and WebSocket connection to DevTools
- Element interaction: tap, long-press, input text
- Code execution: evaluate JavaScript and call
wx.*APIs - Mini‑game specific tools (info, user info, cloud storage)
- Debugging: console logs, screenshots, health checks
Use cases of Wechat Dev Mcp
- Debug and test mini‑program pages (state, UI, navigation)
- Automate repetitive DevTools operations (build npm, deploy cloud functions)
- Interact with mini‑games: run scripts, call APIs, check logs
- Integrate WeChat DevTools into CI/CD or AI‑assisted workflows
- Verify code changes with health checks after each modification
FAQ from Wechat Dev Mcp
What prerequisites are needed?
Node.js v18+, WeChat DevTools installed with the Service Port enabled, and an open mini‑program or mini‑game project.
How do I connect to a running DevTools instance?
Use the launch tool (opens DevTools and a project) or the connect tool (connects via WebSocket, default ws://localhost:9420).
What should I do if I get a "Connection refused" error?
Ensure DevTools is running and the Service Port is enabled in the settings. Then retry the connection.
Can I use page tools (e.g., get_element) on a mini‑game?
No. Page tools return clear errors if used on a game project. Use evaluate, call_wx_method, or the game_* tools instead.
How can I verify everything works after making code changes?
Run the check_health tool. It checks connection, page path, network, console errors, and project type.
AI 与智能体 分类下的更多 MCP 服务器
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Web Agent Protocol
OTA-Tech-AI🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
评论