From eb0bc1ea3c901646c401d6321287a6689cc8e9a0 Mon Sep 17 00:00:00 2001 From: fgonzalezurriola <140219655+fgonzalezurriola@users.noreply.github.com> Date: Thu, 22 Jan 2026 20:22:39 -0300 Subject: [PATCH] docs(cli): added OpenCode how to install mcp section Added how to configure the Tanstack mcp in OpenCode. I tested on Windows and Linux (CachyOs) --- docs/mcp/overview.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/mcp/overview.md b/docs/mcp/overview.md index ddf5aa4..6c882be 100644 --- a/docs/mcp/overview.md +++ b/docs/mcp/overview.md @@ -24,6 +24,31 @@ Restart Claude Desktop. Then: > "Create a TanStack Start project called 'my-app' with Clerk auth and Drizzle ORM" +## OpenCode + +Configuration file location: + +Add to `~/.config/opencode/opencode.json` (macOS/Linux) or in `C:\Users\\.config\opencode\opencode.json` (Windows): + +```json +{ + "mcp": { + "tanstack": { + "type": "local", + "command": [ + "npx", + "-y", + "@tanstack/cli", + "mcp" + ], + "enabled": true + } + } +} +``` + +Restart OpenCode to apply changes. + ## Manual Start ```bash