Build
dist/ using tsconfig.build.json.
Start
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.