fentaris.json at the project root. The CLI uses this file to discover the project, run scripts, validate local state, and build runtime metadata. When an app starts without explicit port or path options, @fentaris/core also searches upward from the current working directory and uses the nearest project config defaults.
SDK-only projects do not need fentaris.json for local secrets commands. When fentaris secrets cannot find a project config file, it can discover the nearest package.json that depends on @fentaris/core and use optional package.json metadata for the secrets entrypoint and local runtime directory.
Quick Start
Fields
name
Project name used in generated metadata and CLI output.
packageManager
Package manager used for generated scripts. During fentaris init, the selected binary is also used for dependency installation unless --skip-install is passed.
pnpmnpmbun
entrypoint
Runtime entrypoint copied into build metadata.
port
Local port printed by fentaris dev, used by runtime checks, and used by app.start() when the app does not pass an explicit port.
path
MCP endpoint path served by the generated proxy. app.start() uses this path when the app does not pass an explicit path.
http://localhost:4000/mcp.
authDir
Directory for local encrypted credentials and CLI auth state.
Generated projects include
.gitignore entries for .fentaris/ because it contains local credentials and build output. The committed .fentaris/secrets.manifest.json schema is not ignored.secrets
Optional secrets provider settings. Generated projects default to the local encrypted store.
fentaris
Optional Fentaris Cloud project metadata for forward-compatible cloud sync. Cloud sync is not available yet; keep using the local encrypted store.
SDK-Only Secrets Metadata
SDK-only projects can configurefentaris secrets without creating fentaris.json:
entrypoint- TypeScript file scanned byfentaris secrets manifest.authDir- local runtime directory forsecrets.manifest.jsonandcredentials.enc.json.port,host, andpath- optional defaults used by the synthetic secrets project model.
entrypoint is omitted, fentaris secrets manifest checks src/index.ts, src/main.ts, and index.ts. Pass --entrypoint <path> when the file uses another name.
Legacy Filename
The CLI can still discoverfentaris.config.json, but generated projects use fentaris.json.