Docs: say when a UI tool reports a window connection error

docs/mcp.md now says that a UI-only tool returns the window-required
message in a headless session, including one the closed-app choice
started, and returns the window lookup, launch or authentication error
otherwise.
This commit is contained in:
dotCooCoo committed 2026-12-04 13:22:26 -08:00
1 parent 3b693e6e74
commit 4d30cb1b73
1 file changed
+5
+5
View File
@@ -44,6 +44,11 @@ launch|headless|error` overrides the choice for one server. A session that went
documents don't move under the agent. While agents may not use VectorCraft, plain `mcp` runs headless with
only the folders given on its command line, as before.
A UI-only tool returns the window-required message when the session is headless. This includes when the
closed-app policy selects headless mode, such as `--when-closed headless` with a stale connection file
whose port has no listener. For plain `mcp`, the tool returns any error reported by window lookup,
launch, or authentication.
Preferences › AI Integrations shows the switch's state, the port agents connect on, Control Port (0: any free
port), the two folders and the closed-app choice. Without the `AI-MCP` flag it only says that agents use
VectorCraft without a window. The same settings are the UI command `prefs.agents {controlPort?, readRoot?,