anomalyco / anomalyco/opencode
MCP 扩展图标加载失败:dingtalk 与 lark(飞书)/ Broken MCP icons for dingtalk & lark
Open
@Hona is already working on this.
Since Aug 16, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
现象 / Summary
Settings > Extensions(扩展)页面中,dingtalk 与 lark(飞书)两个 MCP 的图标显示为破图(加载失败)。功能不受影响:两个 MCP 的连接与工具调用均正常。
The DingTalk and Lark (Feishu) MCP entries in Settings > Extensions render broken icons. Both MCPs work fine — only the icons fail to load.
环境 / Environment
- iPolloWork macOS 桌面版(Apple Silicon, darwin)
- 两条 MCP 均为 Cloud 下发配置(config.remote),导出内容如下(无 icon 字段):
dingtalk → npx -y @sputnicyoji/dingtalk-workspace-mcp
lark → npx -y @larksuiteoapi/lark-mcp mcp -a {env:LARK_APP_ID} -s {env:LARK_APP_SECRET}
已排查 / Investigation
- OpenCode 的
mcp配置 schema 不包含 icon 字段;本地opencode.jsonc与全局~/.config/opencode/opencode.json均无任何图标相关配置 —— 排除用户配置问题。 - 导出配置中无 icon 元数据,推测图标由应用内置品牌图标映射或 Cloud 扩展注册表元数据提供。
- 疑似原因:
@sputnicyoji/dingtalk-workspace-mcp为社区包,未收录进图标映射表;@larksuiteoapi/lark-mcp为官方包,可能是图标 URL 失效。
期望 / Expected
- 修复两个 MCP 的图标显示,或对未收录的包提供默认占位图标(fallback)而不是破图;
- 若计划支持自定义图标,建议开放 icon 配置字段。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.