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) |
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 |
|---|---|
| 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 | |
Latest Blog Posts
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/fdslk/WECHAT-MP-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server