返回板块
S08 腾讯微云Skill连接SOP
源文件:
C:/Users/xub/.workbuddy/spec/3.行政法规/SOP/S08_腾讯微云Skill连接SOP.md类别:SOP(用户级全域规范)
名称释义:mcporter 接微云 MCP;token 写入 ~/.mcporter/mcporter.json
权威源:C:\Users\xub\.workbuddy\MEMORY.md§二 WorkBuddy 多端文件体系
固化位置:~/.workbuddy/MEMORY.md(所有 Agent 一律生效)
腾讯微云 Skill 连接(2026-08-16 跑通)
- Skill 位置:
~/.workbuddy/skills/weiyun(已预装 v1.0.5,比官方 zip 里的 1.0.3 新)。 - 连接机制:微云 Skill 通过
mcporter调微云 MCP 服务,不是直接靠WEIYUN_MCP_TOKEN环境变量。 mcporter已装:~/.workbuddy/binaries/node/versions/22.22.2/mcporter(v0.8.1,注意是versions/22.22.2/目录下、没有bin/子目录)。- token 真正生效的位置:
~/.mcporter/mcporter.json,header 格式为WyHeader=mcp_token=<token>。 - 写入命令:
mcporter config add weiyun "https://www.weiyun.com/api/v3/mcpserver" --header "WyHeader=mcp_token=<token>" --transport http --scope home - 验证命令:
mcporter call --server weiyun --tool weiyun.list limit=50 order_by=2 --output json(注意 limit 范围 1~50,超过会报limit must be between 1 and 50)。 - ⚠️ 必须用
--server weiyun --tool weiyun.list这种显式 flag;用weiyun.weiyun.list选择器会被解析成 tool=weiyun而报tool not found。 - 健康检查:
mcporter list(显示 weiyun 14 tools / healthy)。 - 关键错误码:
117407(token 已被禁用,原因:取消授权)→ 重新授权,不是重置 token;若被安全误打击需联系微云客服解封。117402(token 无效/过期)→ 重新生成 token。117401(每日配额耗尽)→ 次日零点重置或开会员。- token 获取/重置页:
https://www.weiyun.com/act/openclaw(需微信/QQ 登录后才显示 token 区)。
利衡辨 · 全域资料站 | 全域七链元路由 · 一进一出
宪法 > 基本法 > 行政法规 > 地方法规 > 地方规章
宪法 > 基本法 > 行政法规 > 地方法规 > 地方规章