Skip to main content
Glama
bkmashiro

weixin-mcp

by bkmashiro

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WEIXIN_MCP_DIRNoCustom directory for data storage. Priority: $WEIXIN_MCP_DIR > ~/.openclaw/openclaw-weixin/ > ~/.weixin-mcp/

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
weixin_sendA

Send a WeChat text message to a user. Pass context_token from a received message to link the reply to the conversation thread.

weixin_pollA

Poll for new WeChat messages. Uses a persistent cursor to avoid re-delivering old messages. Returns new messages since last poll.

weixin_contactsA

List users who have messaged the bot. Returns userId, lastSeen, lastText, contextToken, msgCount. Use userId as 'to' in weixin_send.

weixin_send_imageA

Send an image to a WeChat user. Source can be a local file path or URL. Optionally include a text caption.

weixin_send_fileB

Send a file attachment to a WeChat user. Source can be a local file path or URL.

weixin_get_configA

Get bot config for a user — includes typing_ticket needed for sendTyping. Call before sending typing indicators.

weixin_downloadA

Download media (image/file/video) from a received message. Extract encrypt_query_param and aes_key from the message's image_item, file_item, or video_item.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 7 tools

Disambiguation5/5

Each tool has a distinct purpose: polling, contacts, sending different content types, config retrieval, and media download. The send variants are clearly differentiated by content type (text, image, file), and no two tools overlap.

Naming Consistency4/5

All tool names share the weixin_ prefix and use snake_case, but the pattern is not strictly verb_noun: weixin_contacts is a noun, and weixin_poll/weixin_send are bare verbs. Overall readable and predictable, with minor deviations.

Tool Count5/5

7 tools is well within the ideal range for a focused WeChat bot server, covering incoming messages, contacts, outgoing messages, config, and media download without redundancy.

Completeness4/5

Core send/receive workflows are covered, including text/image/file sending and media download. A minor gap exists: the config tool mentions a typing_ticket for sendTyping, but no send_typing tool is present.

Maintenance

ActivityStale
ResponsivenessNo issues