Skip to main content
Glama

WeChat Mini Program Dev MCP

by yfmeii

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WEAPP_AUTOCLOSENo设置为 true 时,每次工具调用后关闭开发者工具会话
WEAPP_WS_ENDPOINTNo【推荐】已运行的开发者工具 WebSocket 端点。设置后,服务器使用 connect 模式而不是启动新实例。示例:ws://localhost:9420
WEAPP_AUTO_ACCOUNTNo传递给 --auto-account 用于自动登录
WEAPP_DEVTOOLS_CWDNo传递给开发者工具进程的工作目录
WEAPP_DEVTOOLS_ARGSNo启动时的额外 CLI 参数(空格分隔)
WEAPP_DEVTOOLS_PORTNo启动开发者工具时的首选端口(回退到可用端口)
WEAPP_TRUST_PROJECTNo设置为 true 以在启动时包含 --trust-project
WEAPP_AUTOMATOR_MODENo强制使用 launch 或 connect 模式。除非提供了 WEAPP_WS_ENDPOINT,否则默认为 launch
WEAPP_DEVTOOLS_TICKETNo启动时传递给 --ticket
WEAPP_DEVTOOLS_TIMEOUTNo启动超时时间(毫秒,默认 30000)30000
WECHAT_DEVTOOLS_CLI_PATHNo微信开发者工具 CLI 路径(如果默认路径有效则可选)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yfmeii/weapp-dev-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server