@firfi/huly-mcp 0.55.1 → 0.55.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -87,6 +87,7 @@ Or add it directly to `~/.codex/config.toml`:
87
87
  [mcp_servers.huly]
88
88
  command = "npx"
89
89
  args = ["-y", "@firfi/huly-mcp@latest"]
90
+ startup_timeout_sec = 60
90
91
 
91
92
  [mcp_servers.huly.env]
92
93
  MCP_TRANSPORT = "stdio-resident"
@@ -228,7 +229,10 @@ the [production release guide](docs/NPM_PRODUCTION_RELEASE.md) for preflight che
228
229
 
229
230
  ## Shared resident stdio
230
231
 
231
- The setup examples explicitly select `MCP_TRANSPORT=stdio-resident`. MCP clients still use stdio, while compatible clients under the same OS user share a Node backend through small native bridges. Linux and macOS arm64/x64 binaries are included; no Rust installation is needed. If the native bridge cannot run, startup falls back to ordinary stdio before accepting requests. A failed active resident never reconnects or replays requests.
232
+ The setup examples explicitly select `MCP_TRANSPORT=stdio-resident`. MCP clients still use stdio, while compatible clients under the same OS user share a Node backend through small native bridges. Linux and macOS arm64/x64 binaries are included; no Rust installation is needed. Resident startup has a 30-second budget. If the native bridge cannot run or resident startup fails, the connection automatically falls back to ordinary stdio with its buffered MCP input preserved. This transition happens before any MCP request is sent to the resident. A failed active resident never reconnects or replays requests.
233
+
234
+ Allow at least 60 seconds for MCP startup in the client so it can wait for the resident attempt, cleanup, and ordinary stdio startup. For Codex, set `startup_timeout_sec = 60` in its Huly server configuration, including when adding the server through `codex mcp add`.
235
+ For Claude Code, set `MCP_TIMEOUT=60000` in the environment that launches `claude`, or add `"MCP_TIMEOUT": "60000"` under `env` in `~/.claude/settings.json` ([Claude Code environment variables](https://code.claude.com/docs/en/env-vars)). Setting it only in the Huly server's `env` does not increase the parent client's startup timeout.
232
236
 
233
237
  Omitting `MCP_TRANSPORT` still selects ordinary `stdio`, preserving existing installations. Set `MCP_TRANSPORT=stdio` explicitly to keep a separate backend per client. Restart the MCP client after changing the setting.
234
238