Skip to main content
Glama
zero-times

wechat-official-studio-mcp-server

by zero-times

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WECHAT_OFFICIAL_COOKIENoCookie for WeChat Official Account backend. If set, overrides the .wechat-cookie file.
WECHAT_OFFICIAL_UPLOAD_ROOTSNoColon-separated (semicolon on Windows) list of directories allowed for image uploads. Must be set before using upload tools.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
wechat_official_check_authA

Validate the locally stored WeChat Official Platform cookie and return non-secret session/account status. Call this first before backend reads. Never pass a cookie as an argument.

wechat_official_get_account_infoA

Read the nickname, original ID, avatar, and account type for the currently logged-in WeChat Official Account. Does not expose cookies or login tokens.

wechat_official_list_published_articlesA

List or search articles published by the currently logged-in account. This reads the account's own publication history; it is not an arbitrary third-party account crawler.

wechat_official_read_articleA

Extract title, account, author, date, summary, images, links, and readable text from one public mp.weixin.qq.com/s article URL. Defaults to an anonymous request, then performs an authentication preflight and retries once with the local backend Cookie only if WeChat returns an environment challenge.

wechat_official_get_article_reportA

Read the currently logged-in account's official exported article analytics for a fixed date range of at most 100 days. Returns the columns supplied by WeChat without inventing metrics.

wechat_official_get_follower_reportA

Read the currently logged-in account's official exported follower analytics for a fixed date range of at most 100 days. Returns the source columns as supplied by WeChat.

wechat_official_validate_draftA

Local-only validation of article drafts for a WeChat Official Account. Checks title/author/digest lengths, HTML content for forbidden tags and URLs, and cover media IDs. Returns errors, warnings, and per-article summaries. Does not access the network.

wechat_official_upload_imageA

Upload one local JPEG, PNG, or GIF image to the logged-in WeChat Official Account as material (cover) or article body image. Returns safe metadata (filename, size, MIME, media_id, CDN URL). Requires confirm=true. Never publishes.

wechat_official_create_draftA

Create and save up to 8 articles as a draft on the logged-in WeChat Official Account. Uses cover media IDs from prior uploads. Requires confirm=true. The draft is saved but never published.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/zero-times/wechat-official-studio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server