From 4f8f0ced19940a28855bdeca92b7aabd69320a1d Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Sat, 5 Sep 2026 09:37:56 -0400 Subject: [PATCH] mcp: drop fleet/chat/prox/paper stdio from .mcp.json (kept as local http daemons) Newer Claude Code flags a project-vs-local endpoint conflict when the same server name is defined as stdio in .mcp.json and as an http daemon at local scope. install-daemons.sh registers these four (and grafana) as local http fronts on daemon-running hosts; that is the live, canonical path. Removing the project-scope stdio entries clears the conflict and keeps the daemons. Machines that want these servers run install-daemons.sh. --- .mcp.json | 30 +----------------------------- toolchain/mcp/install-daemons.sh | 4 +++- 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/.mcp.json b/.mcp.json index 65df19a128..dec5702385 100644 --- a/.mcp.json +++ b/.mcp.json @@ -7,13 +7,6 @@ "toolchain/mcp/acin-mcp.mjs" ] }, - "fleet": { - "type": "stdio", - "command": "node", - "args": [ - "slab/bin/fleet-mcp.mjs" - ] - }, "illy": { "type": "stdio", "command": "node", @@ -28,27 +21,6 @@ "toolchain/mcp/slack-mcp.sh" ] }, - "chat": { - "type": "stdio", - "command": "node", - "args": [ - "slab/bin/chat-mcp.mjs" - ] - }, - "prox": { - "type": "stdio", - "command": "node", - "args": [ - "slab/bin/prox-mcp.mjs" - ] - }, - "paper": { - "type": "stdio", - "command": "node", - "args": [ - "slab/bin/paper-mcp.mjs" - ] - }, "instagram": { "type": "stdio", "command": "node", @@ -78,4 +50,4 @@ ] } } -} +} \ No newline at end of file diff --git a/toolchain/mcp/install-daemons.sh b/toolchain/mcp/install-daemons.sh index 9f469d59fd..30b3d6a1a3 100755 --- a/toolchain/mcp/install-daemons.sh +++ b/toolchain/mcp/install-daemons.sh @@ -271,7 +271,9 @@ while read -r name port script; do write_plist "$name" "computer.aesthetic.$name-mcp" "$REPO/$script" "$port" echo "✓ $name-mcp → 127.0.0.1:$port" if [ "$HAVE_CLAUDE" = 1 ]; then - # Local scope shadows the stdio entry of the same name in .mcp.json. + # These daemon servers live only at local scope pointing at the running + # http front; they were removed from .mcp.json so newer Claude Code does not + # flag a project-vs-local endpoint conflict. Remove-then-add is idempotent. claude mcp remove "$name" --scope local >/dev/null 2>&1 || true claude mcp add --transport http --scope local "$name" "http://127.0.0.1:$port/mcp" >/dev/null echo " ↳ claude → http://127.0.0.1:$port/mcp (local scope)" -- 2.51.2