Create 贴图/图文 in the WeChat Official Account console; save or publish. 公众号后台:建贴图/图文,存草稿或发表。
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add wechatmp-mcp \ -- uvx wechatmp-publish-mcp==0.1.2
Environment
WXMP_PROFILE_DIR (optional, not in the config above): Directory of the persistent Playwright profile that holds the console login. Defaults to ./.state/profileWXMP_OUT_DIR (optional, not in the config above): Directory for screenshots (QR code, composer, publish evidence). Defaults to ./outWXMP_BROWSER_CHANNEL (optional, not in the config above): Installed browser to drive: msedge (default) or chrome. Empty string uses Playwright's bundled chromium, which needs `playwright install chromium`.WXMP_HEADLESS (optional, not in the config above): Set to 1 to run without a visible window. Not recommended: the QR scan needs the window and the console is friendlier with a human watching.WXMP_CDP_URL (optional, not in the config above): Attach to an already-running Chrome (for example http://127.0.0.1:9222) instead of launching one.WXMP_HTTP_TOKEN (optional, not in the config above): Optional bearer token required by the Streamable HTTP transport.We don't run packages, so we can't list this server's tools.