With codemode = true and the claude CLI backend, hx mcp-serve also exposes the codemode tool (claude sees it as mcp__hx__codemode). Scripts can call hx's tools (read/write/edit/bash/grep/..., web, MCP servers, lsp). claude keeps its own built-in tools. Permissions: bash/write/edit/web_fetch/secret reads called from a script ask like any hx tool; mcp-serve forwards the question over the existing permission socket (approve::remote_permit) to the TUI, no socket = deny. Env HX_CODEMODE=1 switches it on in the mcp-serve child. Tests: remote_permit allow/deny/no-socket unit test; claude_cli e2e runs a codemode script through mcp-serve (fake claude). Real claude not tested. Note: mcp-serve now starts the MCP hub when codemode is on (slower claude start).
With `codemode = true` and the claude CLI backend, `hx mcp-serve` also exposes the `codemode` tool (claude sees it as mcp__hx__codemode). Scripts can call hx's tools (read/write/edit/bash/grep/..., web, MCP servers, lsp). claude keeps its own built-in tools. Permissions: bash/write/edit/web_fetch/secret reads called from a script ask like any hx tool; mcp-serve forwards the question over the existing permission socket (`approve::remote_permit`) to the TUI, no socket = deny. Env HX_CODEMODE=1 switches it on in the mcp-serve child. Tests: remote_permit allow/deny/no-socket unit test; claude_cli e2e runs a codemode script through mcp-serve (fake claude). Real claude not tested. Note: mcp-serve now starts the MCP hub when codemode is on (slower claude start).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
With
codemode = trueand the claude CLI backend,hx mcp-servealso exposes thecodemodetool (claude sees it as mcp__hx__codemode). Scripts can call hx's tools (read/write/edit/bash/grep/..., web, MCP servers, lsp). claude keeps its own built-in tools. Permissions: bash/write/edit/web_fetch/secret reads called from a script ask like any hx tool; mcp-serve forwards the question over the existing permission socket (approve::remote_permit) to the TUI, no socket = deny. Env HX_CODEMODE=1 switches it on in the mcp-serve child. Tests: remote_permit allow/deny/no-socket unit test; claude_cli e2e runs a codemode script through mcp-serve (fake claude). Real claude not tested. Note: mcp-serve now starts the MCP hub when codemode is on (slower claude start).