Skip to content
Source
Sign inSign up
TanStack/alt-cli

docs(mcp): add OpenCode setup instructions #1

Openfgonzalezurriola(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/1/headopened

Showing 1 changed file with 25 additions and 0 deletions.

x
0 of 1 viewed, 1 left
25 additions and 0 deletionsdocs/mcp/overview.mdModified
View file
@@ -24,6 +24,31 @@
​
> "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\<username>\.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