From 3fc103b204e5c2b9e90562ff79799e38d413514c Mon Sep 17 00:00:00 2001 From: Ziad Arafat Date: Wed, 25 Nov 2026 13:53:22 -0700 Subject: [PATCH] Launch agent MCP wrappers via /bin/sh so GUI-launched agents resolve them without PATH --- config/antigravity/mcp_config.json | 7 +++++-- config/cursor/mcp.json | 14 ++++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/config/antigravity/mcp_config.json b/config/antigravity/mcp_config.json index fea5c51..fed4a75 100644 --- a/config/antigravity/mcp_config.json +++ b/config/antigravity/mcp_config.json @@ -1,8 +1,11 @@ { "mcpServers": { "wiki": { - "command": "mcp-wiki-remote", - "args": [] + "command": "/bin/sh", + "args": [ + "-c", + "\"$HOME/.dotfiles/bin/mcp-wiki-remote\"" + ] }, "lapis": { "command": "/home/ziadarafat/.local/share/mise/installs/node/24/bin/node", diff --git a/config/cursor/mcp.json b/config/cursor/mcp.json index ecc9c24..f89e237 100644 --- a/config/cursor/mcp.json +++ b/config/cursor/mcp.json @@ -2,13 +2,19 @@ "mcpServers": { "wiki": { "type": "stdio", - "command": "mcp-wiki-remote", - "args": [] + "command": "/bin/sh", + "args": [ + "-c", + "\"$HOME/.dotfiles/bin/mcp-wiki-remote\"" + ] }, "lapis": { "type": "stdio", - "command": "mcp-lapis", - "args": [] + "command": "/bin/sh", + "args": [ + "-c", + "\"$HOME/.dotfiles/bin/mcp-lapis\"" + ] } } }