frontmcp build from the project root. The node target produces a bundled server; other targets (vercel, lambda, cloudflare) compile with tsc and bundle the result. Code imported through tsconfig path aliases (for example @my-org/shared from a workspace library) is resolved and bundled for every target.
The executor runs the
frontmcp CLI installed in your workspace (node_modules/.bin/frontmcp) and never downloads
one with npx. Install it with nx add @frontmcp/nx or npm install -D frontmcp.Usage
Configuration
project.json
Options
Caching
This executor is cacheable. Projects generated by@frontmcp/nx set "cache": true on the build target, and nx add @frontmcp/nx (the init generator) registers the same for @frontmcp/nx:build and @frontmcp/nx:build-exec in nx.json targetDefaults. Nx skips the build if inputs haven’t changed.
nx.json