Skip to content

Commit 83f656f

Browse files
docs(mcp): add missing --transport http flag to Claude Code command (#661)
The Claude Code CLI requires the --transport http flag when adding HTTP-based MCP servers. Without it, the URL is interpreted as a stdio command, causing the connection to fail. Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent 5323004 commit 83f656f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mcp/connecting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Restart Claude Desktop. On first use, a browser window will open to authorize ac
7272
## Claude Code
7373

7474
```bash
75-
claude mcp add tanstack https://tanstack.com/api/mcp
75+
claude mcp add --transport http tanstack https://tanstack.com/api/mcp
7676
```
7777

7878
On first use, a browser window will open to authorize access.

0 commit comments

Comments
 (0)