W

Weapp Agent Mcp

MCP server · by Chaixueyuan

Developer Tools npm v0.4.8

Agent-first MCP server for WeChat Mini Program debugging & automation via WeChat DevTools.

View source ↗ Generate config for multiple servers More servers

Install

registry version 0.4.8

npm
npx -y @chaixueyuan/weapp-agent-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "weapp-agent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chaixueyuan/weapp-agent-mcp"
      ],
      "env": {
        "WEAPP_AUTO_ACCOUNT": "<YOUR_WEAPP_AUTO_ACCOUNT>",
        "WEAPP_DEVTOOLS_TICKET": "<YOUR_WEAPP_DEVTOOLS_TICKET>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • WEAPP_WS_ENDPOINT — Automation WebSocket endpoint for the 'connect' flow (e.g. ws://localhost:9420). When a local endpoint is not listening and auto-launch is enabled, mp_ensureConnection may start DevTools if it can resolve a project.
  • WEAPP_AUTOMATOR_MODE — Force 'launch' or 'connect' mode. Defaults to 'launch' unless WEAPP_WS_ENDPOINT is set.
  • WEAPP_PROJECT_PATH — Optional Mini Program project directory used by launch and local auto-launch flows. The server can also resolve a persisted default, a recent project, or the current working directory.
  • WECHAT_DEVTOOLS_CLI_PATH — Optional override for the WeChat DevTools CLI binary path (e.g. /Applications/wechatwebdevtools.app/Contents/MacOS/cli on macOS).
  • WEAPP_DEVTOOLS_PORT — Automation websocket port passed to 'cli auto --auto-port' in launch mode (default 9420).
  • WEAPP_DEVTOOLS_TIMEOUT — Milliseconds passed to miniprogram-automator when launching WeChat DevTools.
  • WEAPP_AUTO_ACCOUNT secret — Optional account passed to miniprogram-automator launch.
  • WEAPP_DEVTOOLS_TICKET secret — Optional DevTools launch ticket.

GitHub

⭐ 18 stars · 最近更新于 120 天前 · MIT license

About this server

weapp agent mcp Agent first MCP server for WeChat Mini Program debugging, automation, and lightweight regression testing. 面向 agent 的微信小程序 MCP 服务 — 让 Claude Code / Cursor / Codex 等 agent 在对话中直接驱动微信开发者工具完成调试、UI 操作、页面巡检与轻量测试。…

Summary from the project README — github.com/Chaixueyuan/weapp-agent-mcp

Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the Weapp Agent Mcp MCP server do?

weapp agent mcp Agent first MCP server for WeChat Mini Program debugging, automation, and lightweight regression testing. 面向 agent 的微信小程序 MCP 服务 — 让 Claude Code / Cursor / Codex 等 agent 在对话中直接驱动微信开发者工具完成调试、UI 操作、页面巡检与轻量测试。

How do I install Weapp Agent Mcp?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Weapp Agent Mcp free to use?

The MCP server itself is free to install. The source is public on https://github.com/Chaixueyuan/weapp-agent-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Weapp Agent Mcp?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/weapp-agent-mcp.svg)](https://mcpnav.net/server/weapp-agent-mcp/)

HTML

<a href="https://mcpnav.net/server/weapp-agent-mcp/"><img src="https://mcpnav.net/badge/weapp-agent-mcp.svg" alt="Listed on MCPNav" height="20"></a>