WeChat Local Agent MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WECHAT_CLI_RELEASE_ZIP | No | Path to a local zip file of the wechat-cli release, used for offline installation. | |
| WECHAT_CLI_RELEASE_SHA256 | No | SHA256 checksum of the wechat-cli release zip, used to verify the offline zip. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| statusB | Check live-read readiness and opt-in enrichment capabilities without identity paths. |
| sessionsB | List sessions; use type_filter=group for group-chat workflows. |
| resolve_chatC | Resolve a display name to a stable talker; prefer type_filter=group when applicable. |
| searchB | Search local messages with optional chat, sender, type, and half-open time range. |
| timelineA | Read one bounded timeline page; loop with data.page.next_cursor until done. |
| read_chat_rangeA | Read one stable page inside an explicit [after,before) range; reuse next_cursor. |
| read_chat_dayB | Read one page for a day/natural period; loop with next_cursor until data.page.done. |
| read_multiple_chats_dayA | Read one page per chat for the same day; continue each chat with returned cursors. |
| count_messagesB | Count a bounded period without returning bodies; scans stable 200-message pages. |
| unreadB | List unread sessions, optionally restricted to group/private chats. |
| read_eventsA | Read one incremental event batch; no follow loop, sending, or UI control. |
| group_membersB | List group members and group nicknames for a resolved group chat. |
| contextB | Read bounded context around exactly one stable message anchor. |
| message_detailsB | Expand one message, including safe quote/forward/link/file structures without debug secrets. |
| message_mediaC | Locate existing local message media paths; requires WECHAT_MCP_ENABLE_MEDIA=1. |
| ocr_message_imagesC | OCR readable local images with macOS Vision; explicit MEDIA and OCR opt-in required. |
| extract_message_filesA | Extract text from local txt/PDF/Office files; explicit MEDIA and FILE_TEXT opt-in required. |
| fetch_message_linksB | Fetch public HTTPS links referenced by one message; explicit NETWORK opt-in required. |
| transcribe_message_voiceA | Transcribe a local voice file using a user-configured argv-only local transcriber. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/hetiankong/wechat-local-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server