72 (@ageovb) 在 【72 的开发工具 004】OpenCode 安装 oh-my-opencode 并配置 CLIProxyAPI、MCP 中发帖
1、安装 OpenCode
pnpm install -g opencode-ai
2、打开 OpenCode
opencode
3、安装 oh-my-opencode 插件
把这个链接复制粘贴到 opencode 会话里,让它自己动:
Install and configure by following the instructions here https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/README.md
4、编辑 OpenCode 配置文件
全局配置文件路径为 ~/.config/opencode/opencode.json(支持后缀修改为 jsonc)
在上述配置文件中添加模型和 MCP 配置:
{
"$schema": "https://raw.g...