Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt

Use this file to discover all available pages before exploring further.

Prerequisites

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

Option A: New Monorepo

Scaffold a complete FrontMCP Nx workspace from scratch:
npx frontmcp create my-workspace --nx
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:
npx frontmcp create my-workspace --nx --pm yarn
npx frontmcp create my-workspace --nx --pm pnpm
npx frontmcp create my-workspace --nx --pm npm   # default

Option B: Existing Nx Workspace

Add @frontmcp/nx to an existing Nx workspace:
npm install -D @frontmcp/nx @frontmcp/sdk @frontmcp/cli @frontmcp/testing
Ensure your tsconfig.base.json includes decorator support:
{
  "compilerOptions": {
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "target": "es2022",
    "module": "esnext",
    "strict": true
  }
}

Verify Installation

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

Next Steps

Quickstart

Build your first monorepo project

Generators

Explore all 14 generators