opencode中使用gitcode mcp server
opencode中使用gitcode mcp server
获取mcp server
官方项目地址为:https://gitcode.com/gitcode-ai/gitcode_mcp_server
1 | git clone https://gitcode.com/gitcode-ai/gitcode_mcp_server.git |
1 | # .env 中输入 GitCode个人访问令牌 |
1 | # 切换python 环境 |
opencode 配置
在 opencode.json 中配置mcp server
GITCODE_TOKEN 替换为 gitcode 个人设置中的访问令牌
1 | { |
之后即可在 opencode 中使用
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.