Skip to content

Commit e08b1f3

Browse files
committed
docs: add OpenCode setup instructions
Document the recommended OpenCode MCP configuration and mention the interactive setup command so users can onboard without guessing the right format.
1 parent c36b6be commit e08b1f3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,25 @@ Open Settings > MCP and add:
114114
}
115115
```
116116

117+
### OpenCode
118+
119+
Add `opencode.json` to your project root:
120+
121+
```json
122+
{
123+
"$schema": "https://opencode.ai/config.json",
124+
"mcp": {
125+
"codebase-context": {
126+
"type": "local",
127+
"command": ["npx", "-y", "codebase-context", "/path/to/your/project"],
128+
"enabled": true
129+
}
130+
}
131+
}
132+
```
133+
134+
OpenCode also supports interactive setup via `opencode mcp add`.
135+
117136
### Codex
118137

119138
```bash

0 commit comments

Comments
 (0)