wecom-setup

企业微信 MCP 配置指南。当用户需要"添加企业微信"、"配置企微"、"启用企微消息"、"设置企业微信集成"时触发。提供完整的 MCP Server 配置、权限白名单设置和 Gateway 重启指引。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wecom-setup" with this command: npx skills add stliuexp/wecom-mcp-setup

企业微信 MCP 配置指南

本技能指导如何在 OpenClaw 中配置企业微信 MCP 集成,启用后可使用消息收发、待办管理、会议调度等功能。

前置条件

  • OpenClaw 已安装并正常运行
  • 企业微信管理员权限(用于获取 Corp ID、Agent ID 和 Secret)
  • 可用的 wecom-mcp-server

配置步骤

步骤 1:添加 MCP Server

编辑 ~/.openclaw/workspace/config/mcporter.json,在 mcpServers 中添加:

{
  "mcpServers": {
    "wecom_mcp": {
      "command": "npx",
      "args": ["-y", "wecom-mcp-server"],
      "env": {
        "WECOM_CORP_ID": "<你的企业ID>",
        "WECOM_AGENT_ID": "<你的应用ID>",
        "WECOM_SECRET": "<你的应用密钥>"
      }
    }
  }
}

获取凭证:登录企业微信管理后台 → 应用管理 → 选择应用 → 查看 Corp ID、Agent ID 和 Secret

步骤 2:配置工具权限白名单

检查当前权限配置:

openclaw config get tools.profile
  • 如果返回 full → 跳过此步骤,所有工具已无限制
  • 如果返回其他值 → 执行以下命令:
openclaw config set tools.alsoAllow '["wecom_mcp"]'

如果 alsoAllow 中已有其他工具,需要合并写入,例如:

openclaw config set tools.alsoAllow '["other_tool", "wecom_mcp"]'

步骤 3:重启 Gateway

配置变更后必须重启 Gateway:

openclaw gateway restart

步骤 4:验证配置

重启后,可以测试 MCP 是否正常工作:

mcporter list

如果看到 wecom_mcp 在列表中,说明配置成功。


可用的企业微信 Skills

配置完成后,以下 skills 将自动可用:

Skill功能
wecom-msg消息收发、聊天记录查看
wecom-get-todo-list待办列表查询
wecom-edit-todo待办创建/更新/删除
wecom-schedule日程管理
wecom-meeting-create会议创建
wecom-meeting-query会议查询
wecom-contact-lookup通讯录查询

故障排查

MCP Server 无法启动

  1. 检查 Node.js 版本(需要 18+)
  2. 确认凭证是否正确
  3. 查看 Gateway 日志:openclaw gateway logs

工具调用无权限

确认 tools.alsoAllow 包含 wecom_mcp

openclaw config get tools.alsoAllow

找不到 openclaw 命令

  • 确认 OpenClaw 已安装
  • 检查 PATH 环境变量

安全提示

  • 不要将包含真实凭证的配置文件分享给他人
  • 企业微信凭证应存储在本地配置文件中,不要提交到版本控制
  • 定期轮换应用密钥以保证安全

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated