Build a compact Node artifact and run it behind a process manager / reverse proxy.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.
Build
dist/ using your project’s tsconfig.json (the
CLI passes --project tsconfig.json when present, otherwise falls back to
inline tsc flags).
Start
frontmcp create and frontmcp init don’t add a start script by default —
run the compiled bundle directly. The default node target emits a CommonJS
single-file bundle at dist/{name}.bundle.js (where {name} is your
package.json name):
package.json:
Recommended runtime setup
- Use a process manager (PM2, systemd) for restarts and logs.
- Put a reverse proxy (NGINX, Traefik, Caddy) in front for TLS and path routing.
- Pin matching versions of all
@frontmcp/*packages.
Example NGINX snippet
Troubleshooting
- Version mismatch at boot → align all
@frontmcp/*versions and reinstall. - No decorators working → ensure
experimentalDecorators+emitDecoratorMetadataandimport 'reflect-metadata'at the top ofmain.ts. - Port conflicts → set
http.portin@FrontMcpor usePORTenv.