Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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.

企业微信文档读取工具。使用前需要先通过 set_wecom_cookie 设置 Cookie,或在 ~/.claude/wecom-doc-mcp/.env 中配置 WECOM_COOKIE。Cookie 获取方式:在浏览器中登录 doc.weixin.qq.com,打开开发者工具 → Network → 复制任意请求的 Cookie 请求头值。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_wecom_docA

抓取企业微信文档内容并转为 Markdown。文档(doc)、脑图(mind)、表格(sheet)有专用解析,智能表格(smartsheet)按表格同源结构解析;文档、表格、智能表格和脑图中的图片会输出为 Markdown 图片链接;表格按工作表返回 Markdown 表格,默认最多输出 100 行数据,行数较多时用 rowStart/rowEnd 指定数据行区间(1 基,不含表头,表头行之后计起);幻灯片、流程图等类型暂无专用解析,会返回页面文本并标注来源。

set_wecom_cookieA

保存企业微信 Cookie 到本地配置文件,后续请求自动使用。Cookie 获取:浏览器登录 doc.weixin.qq.com → F12 → Network → 复制 Cookie 头。

check_wecom_authA

检查当前保存的 Cookie 是否仍然有效

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: fetching document content, saving a cookie, and checking auth validity. There is little risk of misselection because the verbs and targets are explicit.

Naming Consistency5/5

All tools follow a consistent verb_wecom_noun pattern in snake_case: fetch_wecom_doc, set_wecom_cookie, check_wecom_auth. The convention is predictable and readable.

Tool Count5/5

Three tools are well-scoped for a focused WeCom document fetching server. Each tool earns its place: content retrieval plus auth setup and validation.

Completeness4/5

The core workflow is covered: authenticate, validate auth, and fetch document content. Minor gaps exist, such as clearing/removing a saved cookie or discovering/list documents, but these are workable around.