nx:set-up-ai-agents
Sets up the Nx MCP & rule files for common AI Agents.
Please do not extend this schema as it is part of Nx internal usage.
Sets up the Nx MCP & rule files for common AI Agents.
1nx generate set-up-ai-agents ...
2By default, Nx will search for set-up-ai-agents in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g nx:set-up-ai-agents ...
2Show what will be generated without writing to disk:
1nx g set-up-ai-agents ... --dry-run
2.Directory where the AI agent configuration files will be generated
[claude,gemini,codex,cursor,copilot]claude, gemini, codex, cursor, copilotThe agents to setup Nx configuration for.
latestThe version of the package to use
falseWhether to write Nx Cloud rules