Weapp Agent MCP Server
by chaixueyuanio.github.Chaixueyuan/weapp-agent-mcpv0.4.8
Agent-first MCP server for WeChat Mini Program debugging, automation, and lightweight testing
context tax
pending
security
97/100
cold start
pending
freshness
Slowing4mo ago
Our reading of Weapp Agent, from the data
Weapp Agent is a testing & qa MCP server from chaixueyuan, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is slowing: the last public signal was 4 months ago (2026-07-01). For comparison, 63% of testing & qa servers are active or maintained.
With 18 GitHub stars it ranks #61 of 419 testing & qa servers we index.
It runs locally on your machine over stdio and needs 2 secrets (WEAPP_AUTO_ACCOUNT, WEAPP_DEVTOOLS_TICKET); use a scoped, least-privilege key.
Install Weapp Agent MCP server
Install in Claude Code
claude mcp add weapp-agent -e WEAPP_AUTO_ACCOUNT='<weapp-auto-account>' -e WEAPP_DEVTOOLS_TICKET='<weapp-devtools-ticket>' -- npx -y @chaixueyuan/weapp-agent-mcpInstall in Cursor
{
"mcpServers": {
"weapp-agent": {
"command": "npx",
"args": [
"-y",
"@chaixueyuan/weapp-agent-mcp"
],
"env": {
"WEAPP_AUTO_ACCOUNT": "<weapp-auto-account>",
"WEAPP_DEVTOOLS_TICKET": "<weapp-devtools-ticket>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"weapp-agent": {
"command": "npx",
"args": [
"-y",
"@chaixueyuan/weapp-agent-mcp"
],
"env": {
"WEAPP_AUTO_ACCOUNT": "<weapp-auto-account>",
"WEAPP_DEVTOOLS_TICKET": "<weapp-devtools-ticket>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"weapp-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@chaixueyuan/weapp-agent-mcp"
],
"env": {
"WEAPP_AUTO_ACCOUNT": "<weapp-auto-account>",
"WEAPP_DEVTOOLS_TICKET": "<weapp-devtools-ticket>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"weapp-agent": {
"command": "npx",
"args": [
"-y",
"@chaixueyuan/weapp-agent-mcp"
],
"env": {
"WEAPP_AUTO_ACCOUNT": "<weapp-auto-account>",
"WEAPP_DEVTOOLS_TICKET": "<weapp-devtools-ticket>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @chaixueyuan/weapp-agent-mcp
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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 | — | yes | Optional account passed to miniprogram-automator launch. |
| WEAPP_DEVTOOLS_TICKET | — | yes | Optional DevTools launch ticket. |
| WEAPP_TRUST_PROJECT | — | — | Whether launch mode should trust the project. Accepts true/false, 1/0, yes/no, or on/off. |
| WEAPP_DEVTOOLS_ARGS | — | — | Additional whitespace-separated CLI arguments passed during launch. |
| WEAPP_DEVTOOLS_CWD | — | — | Optional working directory passed to the DevTools launch process. |
| WEAPP_AUTOCLOSE | — | — | Whether to close or disconnect the automator session after each tool call. Accepts true/false, 1/0, yes/no, or on/off. |
| WEAPP_AUTOLAUNCH | — | — | Allow mp_ensureConnection to launch local WeChat DevTools with cli auto when the configured local automation port is not listening. Defaults to enabled; set false to disable. |
| WEAPP_LAUNCH_TIMEOUT | — | — | Milliseconds to wait for a locally auto-launched automation port (default 45000). |
| WEAPP_CONNECT_TIMEOUT | — | — | Milliseconds to wait for an automator websocket connection (default 45000). |
Security signals
97/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-01 · 4mo ago · GitHub
Latest release
2026-07-01 · 4mo ago · GitHub · v0.4.8
Package published
no data · npm/PyPI
Registry entry updated
2026-07-01 · 4mo ago · official registry · v0.4.8
How it compares in Testing & QA
Against the most-starred testing & qa servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Weapp Agent (this) | 18 | — | not measured | Slowing | local |
| Browser | 39,318 | 21 | 1,574 | Active | local + hosted |
| Playwright | 38,349 | 25 | 3,710 | Active | local |
| Keploy | 18,643 | — | not measured | Active | hosted |
| SeleniumBase | 13,091 | — | not measured | Active | local |
| e2e | 11,249 | 4 | 1,000 | Active | local |
FAQ
›How do I install the Weapp Agent MCP server in Claude Code?
Run: claude mcp add weapp-agent -e WEAPP_AUTO_ACCOUNT='<weapp-auto-account>' -e WEAPP_DEVTOOLS_TICKET='<weapp-devtools-ticket>' -- npx -y @chaixueyuan/weapp-agent-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Weapp Agent require an API key?
Yes. It expects WEAPP_AUTO_ACCOUNT, WEAPP_DEVTOOLS_TICKET, of which 2 are secrets.
›Can I use Weapp Agent as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Weapp Agent in the official MCP registry?
Yes, as io.github.Chaixueyuan/weapp-agent-mcp.
Sources and method
- Official MCP Registry entry
- updated 2026-07-01
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Weapp Agent
Other testing & qa MCP servers.