Skip to main content

Prerequisites

  • Node.js 22+ (24 recommended)
  • npm 10+ (or yarn/pnpm)

Option A: New Monorepo

Scaffold a complete FrontMCP Nx workspace from scratch:
This creates:
  • Nx workspace with nx.json configuration
  • apps/, libs/, servers/ directory structure
  • @frontmcp/sdk, @frontmcp/cli, @frontmcp/nx pre-installed
  • Sample application (optional)
  • TypeScript, Jest, ESLint pre-configured

Package Manager

Choose your package manager during creation:

Option B: Existing Nx Workspace

Add @frontmcp/nx to an existing Nx workspace:
Ensure your tsconfig.base.json includes decorator support:

Verify Installation

List available generators to confirm the plugin is installed:
You should see all 14 generators and 7 executors listed.

Next Steps

Quickstart

Build your first monorepo project

Generators

Explore all 14 generators