Choose a Setup Path
Setup with an agent
Install the Fentaris agent skills when you want an agent to ask setup questions, choose the project shape, configure upstream MCP servers, and run validation.
Setup with the CLI
Install
@fentaris/cli when you want generated files, fentaris.json, package scripts, and a local proxy running at the default endpoint.Manual setup
Install
@fentaris/core directly when you already have a TypeScript project or want full control over the proxy declaration.CLI Setup
Install the CLI and generate a project:--skip-install, the package manager passed to --package-manager must be installed and available on PATH.
The proxy listens on http://localhost:4000/mcp by default. Generated projects read port and path from fentaris.json, so fentaris dev and app.start() stay aligned without hardcoding the endpoint in src/index.ts.
The generated app explicitly allows all upstream operations and does not configure authentication. Replace the development policy with API-key auth and an allow-list policy before exposing the proxy outside your machine.
Generated Project
fentaris init creates these files:
src/index.tswith the runnable proxy example.fentaris.jsonfor CLI project discovery and runtimeport/pathdefaults..gitignore, TypeScript config, and package scripts.
package.json pins @fentaris/core to a caret range that matches the CLI release (currently ^2.0.0). This makes local SDK/CLI integration tests deterministic — the app installs the same core the CLI was validated against instead of whatever happens to be latest on npm.
fentaris init initializes a git repository when git is available. Pass --skip-git to create only the project files.Local development against the monorepo
If you are working inside the Fentaris repository and want a generated project to import the local@fentaris/core instead of the pinned range, pass a workspace or file reference to --core-version:
Connect a Client
Point your MCP client to the endpoint printed byfentaris dev, usually:
mcp-session-id header from the initialize response:
mcp-session-id header: