Skip to content
Beta. This surface may change before GA; breaking changes are dated in the changelog.

Cursor and Codex

From your repository, use Node.js 22 or later and replace team-engineering with your space handle.

Terminal window
npx @nicia-ai/cli connect team-engineering --client cursor

For a one-click setup with account OAuth, use Add to Cursor. The deep link opens Cursor with the Nicia MCP server prefilled. Confirm the installation, sign in when prompted, and choose which spaces Cursor can access.

The same button is in the Nicia console under Connect → Cursor in your space.

Use the same space handle with the Codex adapter. Follow the browser sign-in if the CLI prompts you.

Terminal window
npx @nicia-ai/cli connect team-engineering --client codex

Set the token environment variable printed by the CLI in the environment that launches Codex. Keep that token private. Restart Codex and ask about a decision you know is in the space. Ask for the source passage to verify that it used Nicia.

In your space, choose Connect, then VS Code, and click Add to VS Code. VS Code opens browser sign-in the first time the MCP server starts. You can also add the account connection from your terminal.

Terminal window
code --add-mcp '{"name":"nicia-brain","type":"http","url":"https://api.nicia.ai/mcp"}'

The MCP Registry lists ai.nicia/nicia@1.0.1. In VS Code, install it by name with vscode:mcp/by-name/ai.nicia/nicia.

Install the Nicia Agent Skills for guided audits and migrations from nicia-ai/skills.

Terminal window
npx skills add nicia-ai/skills

nicia-context-audit helps you find stale or oversized instructions. nicia-space-migration helps you preview files, import approved documents, and verify a cited answer. Both skills use the Nicia CLI.