docs: update OpenCode configuration example in README

---

## Explanation
The diff only modifies `Readme.md`, changing the OpenCode configuration snippet. The update replaces the old local config path with a global one, adds a `$schema` reference, restructures the `command` field, and introduces `type` and `enabled` properties. Therefore, a **docs**‑type conventional commit is appropriate, describing the documentation change.
This commit is contained in:
2026-04-14 18:10:58 +05:30
parent 726988e65e
commit 8e81078661
+6 -4
View File
@@ -49,13 +49,15 @@ Add to your MCP client configuration using `bunx` (no installation required):
}
```
**OpenCode** (`.opencode/mcp.json`):
**OpenCode** (global config `~/.config/opencode/opencode.json` or project config `opencode.json`):
```json
{
"servers": {
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ask262": {
"command": "bunx",
"args": ["ask262"]
"type": "local",
"command": ["bunx", "ask262"],
"enabled": true
}
}
}