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