Repository navigation
Commit bb69660
Simplify OpenCode MCP server setup instructions (#13639)
## Description
This PR simplifies the OpenCode configuration instructions on the [MCP
server docs page](https://docs.flutter.dev/ai/mcp-server#opencode).
Currently, the docs show a complex manual `~/.opencode/config.json`
editing workflow. Since [opencode PR
#31054](anomalyco/opencode#31054) was merged,
users can simply run:
```console
$ opencode mcp add dart-mcp-server -- dart mcp-server
```
This matches the pattern already used for Claude Code (`claude mcp add`)
and Codex CLI (`codex mcp add`) in the same page.
### Changes
- Replaced the 18-line manual JSON config block with a single CLI
command
- Updated the introductory text to match other client sections ("for the
current project, use the `opencode mcp add` CLI command")
Fixes #135711 parent 1363983 commit bb69660
1 file changed
Lines changed: 4 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
| 277 | + | |
| 278 | + | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 280 | + | |
| 281 | + | |
298 | 282 | | |
299 | 283 | | |
300 | 284 | | |
| |||
0 commit comments