Skip to content

Commit 0caa265

Browse files
loktar00SamMorrowDrums
authored andcommitted
docs: add Windows notes for Claude MCP HTTP setup
Add a Windows/CLI note that `claude mcp add-json` may return "Invalid input" when adding an HTTP server, and point users to the legacy `claude mcp add --transport http ...` format. Also add a Windows (PowerShell) example for the legacy command when the CLI expects the MCP server name immediately after `claude mcp add`.
1 parent 7569d5c commit 0caa265

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/installation-guides/install-claude.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ echo -e ".env\n.mcp.json" >> .gitignore
2929
### Remote Server Setup (Streamable HTTP)
3030

3131
> **Note**: For Claude Code versions **2.1.1 and newer**, use the `add-json` command format below. For older versions, see the [legacy command format](#for-older-versions-of-claude-code).
32+
>
33+
> **Windows / CLI note**: `claude mcp add-json` may return `Invalid input` when adding an HTTP server. If that happens, use the legacy `claude mcp add --transport http ...` command format below.
3234
3335
1. Run the following command in the terminal (not in Claude Code CLI):
3436
```bash
@@ -95,6 +97,15 @@ With an environment variable:
9597
claude mcp add --transport http github https://api.githubcopilot.com/mcp -H "Authorization: Bearer $(grep GITHUB_PAT .env | cut -d '=' -f2)"
9698
```
9799

100+
#### Windows (PowerShell)
101+
102+
If you see `missing required argument 'name'`, put the server name immediately after `claude mcp add`:
103+
104+
```powershell
105+
$pat = "YOUR_GITHUB_PAT"
106+
claude mcp add github --transport http https://api.githubcopilot.com/mcp/ -H "Authorization: Bearer $pat"
107+
```
108+
98109
---
99110

100111
## Claude Desktop

0 commit comments

Comments
 (0)