Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions docs/mcp/connecting.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,10 @@ Add to your OpenCode MCP configuration in `~/.config/opencode/config.json`:
```json
{
"mcp": {
"servers": {
"tanstack": {
"type": "remote",
"url": "https://tanstack.com/api/mcp"
}
"tanstack": {
"type": "remote",
"url": "https://tanstack.com/api/mcp",
"enabled": true
}
}
}
Expand All @@ -183,14 +182,13 @@ This opens a browser to authorize access. After that, OpenCode will connect auto
```json
{
"mcp": {
"servers": {
"tanstack": {
"type": "remote",
"url": "https://tanstack.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
"tanstack": {
"type": "remote",
"url": "https://tanstack.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
"enabled": true
}
}
}
Expand Down