From 3939d825d2e79e2e1c386791e1492440c1ac2381 Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Fri, 13 Nov 2026 02:20:00 -0600 Subject: [PATCH] mcpx: portable fff/codedb entries + daemon PATH for home bins (#864) --- .mcpx.json | 18 ++---------------- home/common/default.nix | 2 +- home/common/mcpx-settings.nix | 6 +++--- 3 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.mcpx.json b/.mcpx.json index 975289b04f..10da756c08 100644 --- a/.mcpx.json +++ b/.mcpx.json @@ -10,7 +10,7 @@ } }, "fff": { - "command": "/home/user/.local/bin/fff-mcp", + "command": "fff-mcp", "args": [], "mcpx": { "readOnlyTools": ["find_files", "grep", "multi_grep"] @@ -71,23 +71,9 @@ "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.deepwiki.com/mcp"] }, - "fff-nix": { - "command": "/home/user/.local/bin/fff-mcp", - "args": ["/home/user/code"], - "mcpx": { - "readOnlyTools": ["find_files", "grep", "multi_grep"] - } - }, - "fff-worktree": { - "command": "/home/user/.local/bin/fff-mcp", - "args": ["/home/user/.local/share/opencode/worktree"], - "mcpx": { - "readOnlyTools": ["find_files", "grep", "multi_grep"] - } - }, "codedb": { "command": "node", - "args": ["/home/user/git/code/bin/codedb-bridge.mjs"], + "args": ["bin/codedb-bridge.mjs"], "env": { "CODEDB_NO_TELEMETRY": "1", "CODEDB_DAEMON_URL": "http://127.0.0.1:7719" diff --git a/home/common/default.nix b/home/common/default.nix index 816fd8424c..0429bcdf3d 100644 --- a/home/common/default.nix +++ b/home/common/default.nix @@ -277,7 +277,7 @@ let pkgs.antigravity-cli pkgs.git pkgs.openssh - ]; + ] + ":/home/user/.local/bin:/home/user/bin"; }; # The daemon's configuration (the former ~/code/.mcpx.json), and the # config file the mcpx module renders from it: reproduced here so diff --git a/home/common/mcpx-settings.nix b/home/common/mcpx-settings.nix index ab6749a361..68fa7b0df4 100644 --- a/home/common/mcpx-settings.nix +++ b/home/common/mcpx-settings.nix @@ -102,7 +102,7 @@ # searches; the operator declares them read-only here. "fff" = { "args" = [ ]; - "command" = "/home/user/.local/bin/fff-mcp"; + "command" = "fff-mcp"; "mcpx" = { "readOnlyTools" = [ "find_files" @@ -113,7 +113,7 @@ }; "fff-nix" = { "args" = [ "/home/user/code" ]; - "command" = "/home/user/.local/bin/fff-mcp"; + "command" = "fff-mcp"; "mcpx" = { "readOnlyTools" = [ "find_files" @@ -124,7 +124,7 @@ }; "fff-worktree" = { "args" = [ "/home/user/.local/share/opencode/worktree" ]; - "command" = "/home/user/.local/bin/fff-mcp"; + "command" = "fff-mcp"; "mcpx" = { "readOnlyTools" = [ "find_files"