docs: fix Claude Code MCP setup instructions (use claude mcp add CLI command)

This commit is contained in:
Pouzor
2026-03-13 16:52:36 +01:00
parent 593335648f
commit e1d16b86e3
+8 -2
View File
@@ -199,7 +199,13 @@ docker compose up -d mcp
**3. Configure your AI client:**
**Claude Code** (`~/.claude/claude_desktop_config.json` or via `/mcp` in the CLI):
**Claude Code** — run this command in your terminal:
```bash
claude mcp add --transport sse homelable http://<your-homelab-ip>:8001/mcp \
--header "X-API-Key: mcp_sk_yourkey"
```
Or add it manually to `~/.claude.json`:
```json
{
"mcpServers": {
@@ -214,7 +220,7 @@ docker compose up -d mcp
}
```
**Claude Desktop** (same config file, usually `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
**Claude Desktop** — edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
```json
{
"mcpServers": {