diff --git a/docs/mcp.md b/docs/mcp.md index 2fd8648262..421575e3cc 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -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?,