wechat-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wechat_statusA | 获取微信登录状态、Bot 运行信息和 Wechaty 初始化状态 |
| wechat_send_textA | 向联系人或群聊发送文本消息。contact 参数可以是联系人的 ID、昵称或群名称。 |
| wechat_send_fileA | 向联系人或群聊发送文件或图片,需要提供本地文件的绝对路径。 |
| wechat_get_contactsB | 获取所有联系人或按关键词搜索联系人。返回昵称、备注、ID 等信息。 |
| wechat_get_roomsA | 获取所有群聊列表,包含群名称和成员数。 |
| wechat_get_messagesA | 获取最近收到的消息列表。默认返回最近 50 条。 |
| wechat_search_messagesA | 按关键词搜索历史消息记录,支持按文本内容和发送者搜索。 |
| wechat_contact_infoA | 获取指定联系人的详细信息,包括昵称、备注名、地区、个性签名等。 |
| wechat_self_infoA | 获取当前登录微信账号的个人信息。 |
| wechat_setup_guideA | 获取 Wechaty 环境搭建指南、依赖状态和故障排查建议。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool targets a distinct action or resource: sending text/file, retrieving contacts/rooms/messages, searching history, and fetching status/self information. Even the seemingly similar contacts list and contact info tools are clearly differentiated by scope (list/search vs detailed profile).
All tools share the 'wechat_' prefix, and most follow a verb_noun pattern (wechat_send_text, wechat_get_contacts). However, several tools like wechat_status, wechat_contact_info, wechat_self_info, and wechat_setup_guide lack a leading verb, creating a mixed but still readable convention.
With 10 tools, the server is well-scoped for a WeChat bot, covering messaging, contacts, rooms, message history, and account info without unnecessary expansion. This falls comfortably within the ideal range for a domain-specific MCP server.
The tool set covers the core WeChat operations: sending text and files, listing contacts and rooms, retrieving recent messages, searching history, and accessing self/contact details. Minor gaps exist, such as no explicit tool for group member management or real-time event subscription, but these are not essential for typical bot workflows.