--yes, it writes the project config for every
detected agent.
The command adds a momentic server entry that runs npx -y momentic mcp.
Other servers in the file are kept. Comments in JSON files are kept.
Supported agents
Agents with no project config get the user config.
Options
string
One or more agents to configure. Defaults to the agents detected in the
project and on your machine.
string
project writes a file in the current directory that you can commit. user
writes the config for your machine only.string
Path to the Momentic config file to pass to the server. Project configs store
it relative to the project root.
string
Write this API key into the config as
MOMENTIC_API_KEY.boolean
Write your saved API key into the config. Do not use this for files that you
commit to Git. Without it, the server reads
MOMENTIC_API_KEY from your
environment or from ~/.momentic/auth.json after npx momentic login.boolean
Skip prompts and use the defaults.