wechat-mp-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WECHAT_MP_MCP_DB | No | Override the default SQLite database path (default: ~/.config/wechat-mp-mcp/wechat.db) |
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_accountA | Search a WeChat Official Account by name. Returns candidates with fakeid. Use the returned fakeid as input for list_articles / crawl_incremental. |
| list_articles_pageA | Fetch one page of articles for a given fakeid and store metadata. Use this for a first-time full crawl: call repeatedly with begin += count
until the returned |
| crawl_incrementalA | Pull only newer articles than what is already stored locally. Walks pages from newest to older, stopping once a page contains no articles newer than the latest stored update_time, or when max_pages is reached. Anti-detection: page size varies per call (3-6), delays are jittered, and occasional 30-90s pauses are inserted. Calls are gated to local work hours (env: WECHAT_MP_MCP_WORK_HOURS, default 8-23). Pass override_work_hours=True to bypass the gate for urgent runs. |
| fetch_articleA | Fetch an article's full body, parse to Markdown, and optionally cache it.
|
| quota_statusA | Report today's API call usage against the daily safety cap. Only counts calls that hit the mp.weixin.qq.com backend (searchbiz + appmsg). Reading public article URLs does not count. |
| list_stored_articlesC | List articles already stored locally for a given fakeid, newest first. |
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 6 tools
Each tool has a clearly distinct purpose: incremental crawling, fetching articles, paginated listing, local store querying, usage monitoring, and account search. No overlapping functionality.
Most names follow verb_noun snake_case (e.g., fetch_article, list_articles_page), but quota_status is noun_noun, a minor deviation. Overall pattern is clear.
Six tools cover the main operations for interacting with WeChat MP: account lookup, article listing, incremental crawling, content fetching, and usage monitoring. Well-scoped.
The set covers search, listing (both paginated and incremental), fetching, and caching. For a read-focused API, this is complete. No essential operations missing.