wecom-msg-audit-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PROXY | No | 代理地址 | |
| CORP_ID | Yes | 企业 ID(我的企业 → 企业信息) | |
| MCP_HOST | No | HTTP 模式监听地址 | 127.0.0.1 |
| MCP_PORT | No | HTTP 模式监听端口 | 8331 |
| R2_S3_ID | No | R2 S3 兼容 AccessKey ID | |
| R2_TOKEN | No | 兼容字段(当前未使用) | |
| SEQ_FILE | No | seq 进度文件 | ./wecom_msg_seq.txt |
| R2_BUCKET | No | R2 存储桶 | |
| R2_S3_KEY | No | R2 S3 兼容 AccessKey Secret | |
| FETCH_LIMIT | No | 单次拉取条数,1-1000 | 100 |
| R2_ENDPOINT | No | Cloudflare R2 端点 | |
| SDK_TIMEOUT | No | SDK 请求超时(秒) | 30 |
| OUTPUT_JSONL | No | 解密消息输出文件 | ./wecom_messages.jsonl |
| SDK_LIB_PATH | No | SDK 动态库路径 | ./libWeWorkFinanceSdk_C.so |
| MCP_TRANSPORT | No | stdio 或 http | stdio |
| PROXY_PASSWORD | No | 代理密码 | |
| MSGAUDIT_SECRET | Yes | 会话内容存档 Secret(不是普通应用 Secret) | |
| MCP_BEARER_TOKEN | No | HTTP 模式下的 Bearer 鉴权 Token | |
| PRIVATE_KEY_PATH | No | RSA 私钥路径 | ./private_key.pem |
| R2_CUSTOM_DOMAIN | No | 自定义访问域名 | |
| EXTERNAL_CONTACT_SECRET | No | 客户联系可调用应用 Secret(用于外部客户群) |
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": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wecom_get_config_statusA | 检查服务是否就绪(消息拉取、群聊查询等能力是否可用)。 |
| wecom_pull_messagesA | 从企业微信会话存档 SDK 拉取并解密聊天记录。 从上次保存的 seq 位置继续拉取,解密后返回消息列表,并自动更新 seq。 |
| wecom_get_seqA | 获取当前消息拉取进度 seq。 |
| wecom_set_seqB | 设置消息拉取起始 seq(用于重置或跳过历史消息)。 |
| wecom_query_messagesC | 查询本地已保存的解密聊天记录。 |
| wecom_extract_roomidsA | 从本地消息记录中提取所有群聊 roomid。 |
| wecom_get_group_infoB | 获取群聊详情(外部客户群或内部群)。 |
| wecom_list_external_groupsC | 列出外部客户群。 |
| wecom_download_mediaA | 下载消息中的媒体文件(图片、视频、语音、文件等)。 通过 sdkfileid 下载媒体内容。图片上传到 R2 并返回预签名访问链接,其他文件保存到磁盘。 也可指定 save_to 路径将文件保存到指定位置。 |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/deadmau5v/wecom-msg-audit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server