From 5fada99e2575af11063c7415b84bcb5c8a3793df Mon Sep 17 00:00:00 2001 From: Pouzor Date: Sun, 12 Jul 2026 00:04:59 +0200 Subject: [PATCH] docs: fix MCP client transport to http (was sse) Server uses Streamable HTTP (StreamableHTTPSessionManager), but README told users to register the client with --transport sse / "type": "sse". An SSE client waits for an endpoint event the server never emits, so Claude Code reports "Failed to connect" despite a healthy container. Switch all client config snippets to http transport and point at the trailing-slash /mcp/ URL to avoid the 307 redirect that can drop the auth header. Fixes #274 ha-relevant: no --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e68e30c..539d70b 100644 --- a/README.md +++ b/README.md @@ -317,7 +317,7 @@ docker compose up -d mcp **Claude Code** — run this command in your terminal: ```bash -claude mcp add --transport sse homelable http://:8001/mcp \ +claude mcp add --transport http homelable http://:8001/mcp/ \ --header "X-API-Key: mcp_sk_yourkey" ``` @@ -326,8 +326,8 @@ Or add it manually to `~/.claude.json`: { "mcpServers": { "homelable": { - "type": "sse", - "url": "http://:8001/mcp", + "type": "http", + "url": "http://:8001/mcp/", "headers": { "X-API-Key": "mcp_sk_yourkey" } @@ -341,8 +341,8 @@ Or add it manually to `~/.claude.json`: { "mcpServers": { "homelable": { - "type": "sse", - "url": "http://:8001/mcp", + "type": "http", + "url": "http://:8001/mcp/", "headers": { "X-API-Key": "mcp_sk_yourkey" }