This guide walks you through migrating an existing standalone FrontMCP project into an Nx monorepo.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.
Overview
Copy your source files
Copy your existing tools, resources, prompts, and app files into the generated app:Update
apps/my-app/src/my-app.app.ts to import all your components:Extract shared code into libraries
Identify code that could be shared across future apps:Move shared utilities into
libs/ and update imports using your workspace’s path mappings in tsconfig.base.json.Update imports
Update imports to use workspace path aliases:Path aliases are defined in
tsconfig.base.json:Checklist
- Workspace created with
--nxflag - App generated and source files copied
- Shared code extracted into
libs/ - Imports updated to use workspace path aliases
- Server generated with correct deployment target
-
nx devstarts successfully -
nx buildcompiles without errors -
nx testpasses all tests - Old standalone project can be archived