Repository navigation
Description
Follow-up to #863 (which made the desktop-commander entry portable).
The same portability wart remains for two other entries in the tracked project config .mcpx.json:
codedb:command: "/home/user/bin/codedb"fff:command: "/home/user/.local/bin/fff-mcp"
These absolute paths only resolve on machines whose home is /home/user. Because mcpx project scope overrides user scope, a machine with a different home directory cannot shadow them with working user-level entries — the broken project entries win and the servers fail to start.
Observed on the Muse sandbox (home /home/hatch), merged project view via mcpx status:
server "codedb": start /home/user/bin/codedb: fork/exec ...server "fff": start /home/user/.local/bin/fff-mcp: fork/exec ...
Possible directions (not prescribed): portable npx-style commands like the rest of the file where a published package exists, a PATH-relative command name, or an env-substituted path if mcpx config supports it. Any change should keep the laptop (home /home/user) working unchanged in behavior.
Acceptance criteria
- The
codedbandfffentries in the tracked.mcpx.jsonno longer hard-code/home/userabsolute paths; they resolve on machines with a different home directory (verified on the Muse sandbox, home/home/hatch, viamcpx statuswith no fork/exec errors for these servers). - Behavior on the laptop (home
/home/user) is unchanged: both servers still start and respond. - The chosen mechanism (PATH-relative name, published package command, or env substitution) matches the portability approach already used for the
desktop-commanderentry in mcpx: make desktop-commander entry portable (npx form) #863.
Activity
dezren39 commentedon Oct 26, 2026
Intake review
Fleet monitor intake pass (2026-10-25 run). Acceptance criteria appended to the body this pass (original body preserved verbatim above it).
Still live — verified this run: No sibling issue or PR found addressing the
codedb/fffentries (search this run: none); #863 fixed only thedesktop-commanderentry, and this is its named follow-up.Related: #863 (the desktop-commander portability fix — its mechanism is the precedent to match). Cross-repo note: mcpx also lives in dezren39/nix, but this issue is specifically about this repo's tracked
.mcpx.jsonproject entries, so it stays single-repo per the fleet's one-change-one-issue rule; if the fix turns out to be an mcpx config-mechanism change (e.g. env substitution support), that part would be a set handled from the origin issue.Notes / suggested approach: Because project scope overrides user scope in mcpx, these two entries are actively broken on any non-
/home/usermachine (observed fork/exec failures on the Muse sandbox, home/home/hatch). Prefer, in order: a PATH-relative command name if both tools are reliably on PATH, a published-package command like the rest of the file where one exists, or env substitution if mcpx supports it. Verify on both homes (sandbox/home/hatchand laptop/home/user) per the criteria.Risks: Low. Only real risk is picking a mechanism that resolves differently under the systemd/user-session PATH vs an interactive shell — the
mcpx statuscheck on each machine covers it.dezren39 commentedon Nov 1, 2026
🤖 Agent note · picked up
.mcpx.jsonstill use /home/user absolute paths on current main; route the fix.dezren39 commentedon Nov 1, 2026
🤖 Triage verdict — CONFIRMED, with one dormancy nuance and one scope expansion (queue task 2277, lane B)
Verified on current main b56ccda (
.mcpx.jsonread fromorigin/main):fff— confirmed, active. Line 13 (activemcpServers):"command": "/home/user/.local/bin/fff-mcp". Project scope overrides user scope, so this breaks fff on every machine whose home isn't/home/user— the failure mode in the issue stands.codedb— path confirmed, impact dormant. Line 89 still has"command": "/home/user/bin/codedb", but the entry now sits underdisabledMcpServers— parked there by 387a0cf ("mcpx: park the codedb server under disabledMcpServers", Drew 2026-10-29). It cannot fail to start while parked; the wart returns the moment it's re-enabled, so it stays in the fix scope at lower urgency. Its parked state is Drew's call and the fix does not re-enable it.fff-nix(lines 79–80) andfff-worktree(lines 83–84) are active entries with the same absolute command plus absolute-path args —/home/user/codeand/home/user/.local/share/opencode/worktree. Those args name machine-specific roots, so they're in the fix packet too.exec.Command, so bare command names resolve through PATH exactly like the existingnpx/goentries (the mcpx: make desktop-commander entry portable (npx form) #863 desktop-commander precedent, 789b7f9); there is no$HOME/tilde expansion of server command/args inpkgs/mcpx/internal/config, so "just write$HOME/..." is not an available spelling today.Remainder, routed as one scoped small_fix packet (enqueued as task 4865, packet-864-fix.json): bare-name commands for
fff/codedbafter PATH verification in the daemon environments;fff-nix/fff-worktreeremoved from the tracked project config (machine-specific roots belong in user scope) unless a portable root spelling is proven; grep-verified zero/home/userin.mcpx.json; file stays biome/treefmt-clean. No mcpx expansion machinery, no codedb re-enable.29 remaining items
dezren39 commentedon Nov 13, 2026
Blocked-claim validation — UNBLOCKED (dropped-thread catcher, 2026-11-13T05:31Z)
Checked live, not the claim's wording:
.mcpx.jsonstill carries the absolute paths —fff(line 13),fff-nix(line 75, arg/home/user/code),fff-worktree(line 82, arg under/home/user/.local/share/opencode/worktree), and the dormantcodedbentry (line ~90). No open PR addresses mcpx: codedb and fff entries in .mcpx.json still use /home/user absolute paths #864.fff-mcpcommand does not resolve from the live mcpx daemon's PATH, which omits/home/user/.local/bin. That PATH gap is fleet configuration, not an external dependency and not a Drew decision.Scope expansion approved under standing fleet authority: the fix for this issue may include making
fff-mcpresolvable from the daemon's PATH (repo install step / PATH directory / daemon environment) in addition to the.mcpx.jsonportability edits, so the bare-name fix the triage verified (resolvable on both the sandbox and the laptop login PATH) also works for the daemon. Thecodedbentry stays disabled/dormant per Drew's 2026-10-29 park — fix its path, do not re-enable it.Labels:
status/blocked+queue/blockedremoved;queue/queued(already present) is the live route. Resume task 4865's scope under this expanded packet.dezren39 commentedon Nov 13, 2026
Agent note — PR opened (task 4865, lane any-d, 2026-11-13)
mcpx: portable fff/codedb entries + daemon PATH for home bins (#864) (#…
dezren39 commentedon Nov 13, 2026
Agent note — done (task 4865, lane any-d, 2026-11-13)
PR #9380 squash-merged at 2026-11-13T08:29:59Z, merge commit 6aeef4c; issue #864 auto-closed by the merge. Codex review could not run (Codex usage limits — review failed with no findings); CodeRabbit neutral/rate-limited; GitHub Actions checks had not queued in the fleet Actions stall, so the merge rests on the local verification recorded on PR #9380 (grep, JSON parse, nix parse, clean-env PATH resolution), per standing merge authority. The daemon PATH/settings change takes effect at the next home switch via the mcpx deploy handover.