math_milian on Discord: fff-mcp worked in their agent, but Library → MCP
said "fff exited (1)". fff-mcp indexes the folder it starts in and
refuses a file system root or home ("Can not run certain FFF features in
a file system root or home directories"), exiting 1. magpie's check
starts every stdio server in home (#1727), where agents never start it;
they start it in their project.
When a local check exits, it now starts the server once more in an empty
project folder of its own (removed after). If it answers there:
- given to agents that start it themselves (no router, not Codex on
magpie, or hub "direct"), the row shows its tools, and the tooltip says
it exits in home, with what it said;
- run by magpie in home for agents (the MCP router, or Codex on magpie's
RunPath), the row says "won't start in home" (why "home"), and its
editor offers "Through the MCP router" to turn off, even with the router
off, so each agent starts it in its project.
A server that exits in both places reads as before. WSL checks are
unchanged. healthKey (Go and client.js) now includes whether magpie runs
it in home, so a router change checks it again. startServer takes the
dir; the hub and the RunPath runner still pass home.
Run:
- go test -count=1 -timeout 30m ./internal/library on mote: ok (159s).
- TestCheckServerThatRefusesHome red on the old code: State error, Why
exited, Code 1, with fff's text, the reporter's case.
- Real fff-mcp 0.11.0 (cargo-built on mote, sandbox HOME resolved through
/private/var) via CheckServer: direct ok, 3 tools, Project; router on,
Why home, Code 1.
- go vet ./internal/library ./internal/gui (darwin), GOOS=windows and
GOOS=linux go vet ./internal/library on mote; gofmt -l clean.
- GUI on mote, Chromium + WebKit: mcp-home-health (new, every language,
1100 and 390), library-mcp-health, mcp-hub-direct, library-mcp-hub,
library-mcp-health-wsl, i18n-en-no-cjk, i18n-keys: 91 of 92 ok. The red
is i18n-keys "a plugin's words are its own" on search_row_archive_test.go's
"View routing", red on main since 73c98ebc2 (#5327, #5332).
Broken by hand: the new test run against the old mcp_check.go (red as
above).
Not tried: Windows and WSL runs; a real agent session through the router
or Codex's RunPath; the whole GUI suite.