wechat-editor
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 |
|---|---|
| mp_check_statusC | 检查已连接的编辑页。 |
| mp_get_draftB | 读取当前图文的标题、正文和 HTML。 |
| mp_get_regionsB | 结构化读取当前图文的 title、author、summary、body 及各字段可写状态。 |
| mp_set_fieldB | 设置当前图文的一项元数据并回读;先用 mp_get_regions 检查 writable。 |
| mp_write_bodyB | 写入分段纯文本。append 追加,replace 替换全文。 |
| mp_get_layoutA | 读取浏览器布局、图片加载统计和最多 40 个段落框(编辑器视口 CSS 像素)。 |
| mp_show_passageA | 将包含指定唯一文字的段落滚动到视口中,供截图查看。 |
| mp_visual_verifyA | 返回已连接编辑页的当前可见画面(JPEG)。请在对应窗口显示该标签页。 |
| mp_device_previewB | 按设备视口在独立 Edge 中重排草稿正文并返回 JPEG。可指定唯一段落和横屏。 |
| mp_align_creditsC | 在包含图文和排版两行的署名区域对齐分隔线。 |
| mp_fit_captionC | 按短语排列图注。各段拼接后必须与已有图注完全匹配。 |
| mp_fit_bannerC | 对唯一匹配的背景图横幅标题设置左右内边距 8px、字距 0px。 |
| mp_replace_passageB | 局部替换唯一匹配的正文文字,并核对写入结果。 |
| mp_save_draftB | 点击当前编辑页的保存草稿按钮。返回值表示点击已执行。 |
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 14 tools
Most tools have clearly distinct purposes: reading state (mp_check_status, mp_get_draft, mp_get_regions, mp_get_layout), writing (mp_write_body, mp_set_field, mp_replace_passage), and verification (mp_visual_verify, mp_device_preview). The main overlaps are mp_get_draft vs mp_get_regions (both return title/body, one adds field metadata) and mp_write_body vs mp_replace_passage (whole-body write vs local replace), which descriptions do partially clarify.
All tools share the mp_ prefix and mostly follow a verb_noun pattern (check_status, get_draft, set_field, write_body, show_passage, align_credits, fit_caption, replace_passage, save_draft). Minor deviations exist: mp_visual_verify and mp_device_preview lead with an adjective/noun rather than a verb, but the set remains predictable.
14 tools is within a reasonable range for a page-editing automation server, and each maps to a concrete operation. A few highly specialized formatting tools (mp_align_credits, mp_fit_caption, mp_fit_banner) feel niche, but they correspond to real editorial tasks.
The surface covers reading, metadata/body writing, layout inspection, visual and device verification, and saving. However, there is no image upload/insertion tool, no way to create a new draft or article, and no publish/export step, which are notable gaps for a WeChat article editor workflow.