Nx
Enterprise
Nx
Sign in / Sign up
Open main menu
Nx
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
35655
540a51d0 fix(core): allow `nx mcp` to run outside of an Nx workspace The `mcp` command delegates entirely to `nx-mcp@latest` via the package manager's dlx, which supports running outside of an Nx workspace. The CLI entry point in `bin/nx.ts` was bailing out before the `mcp` handler could run, because `mcp` was missing from the allow-list of commands that are permitted to run without a workspace. This broke MCP clients (e.g. Codex CLI) that spawn `npx nx mcp` over stdio JSON-RPC: the workspace-not-found banner was written to stdout (corrupting the JSON-RPC stream) and the process exited with code 1 before initialize completed. Add `'mcp'` to the allow-list so the handler can run. The handler uses `workspaceRoot` only as cwd for the spawned `nx-mcp@latest`; `workspaceRoot` already gracefully falls back to `process.cwd()` outside a workspace.
by Max Kless
M
Failed
35655
Flaky task
→
540a51d0 fix(core): allow `nx mcp` to run outside of an Nx workspace The `mcp` command delegates entirely to `nx-mcp@latest` via the package manager's dlx, which supports running outside of an Nx workspace. The CLI entry point in `bin/nx.ts` was bailing out before the `mcp` handler could run, because `mcp` was missing from the allow-list of commands that are permitted to run without a workspace. This broke MCP clients (e.g. Codex CLI) that spawn `npx nx mcp` over stdio JSON-RPC: the workspace-not-found banner was written to stdout (corrupting the JSON-RPC stream) and the process exited with code 1 before initialize completed. Add `'mcp'` to the allow-list so the handler can run. The handler uses `workspaceRoot` only as cwd for the spawned `nx-mcp@latest`; `workspaceRoot` already gracefully falls back to `process.cwd()` outside a workspace.
by Max Kless
M
Previous page
Previous
Next
Next page