> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nika.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Nika with Cursor

> One command (or one click) wires the read-only Nika oracle into ~/.cursor/mcp.json — plus the auto-attached authoring rule from nika init.

One command, or one click — binary first
(`brew install supernovae-st/tap/nika` ·
[other paths](https://docs.nika.sh/getting-started/installation.md)):

```sh theme={"system"}
nika wire cursor
```

[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=nika\&config=eyJjb21tYW5kIjogIm5pa2EiLCAiYXJncyI6IFsibWNwIl19)

## What it writes

`~/.cursor/mcp.json` — the `nika` entry under `mcpServers`; every unrelated
server survives, re-running prints `· current` (idempotent). The same block
by hand:

```json theme={"system"}
{ "mcpServers": { "nika": { "command": "nika", "args": ["mcp"] } } }
```

## The repo side

`nika init` writes `.cursor/rules/nika.mdc` — auto-attached on
`*.nika`, so Cursor's agent knows the check-before-run law without
being told — plus the Cursor subagents, `.cursor/mcp.json` and the Cursor
hooks ([what `nika init` writes](https://docs.nika.sh/getting-started/agents#nika-init-teach-the-repo)).
The VS Code extension also installs into Cursor via
[OpenVSX](https://open-vsx.org/extension/supernovae/nika). The editor extension, frozen at 0.120 and not qualified with 0.124: use `nika lsp` and the JSON Schema;
if you keep it, set its `nika.server.path` to your installed `nika` and trust
`nika check` if they disagree ([known limits](https://docs.nika.sh/changelog/known-limits.md)).

## Verify

Cursor's MCP settings list `nika` with the nine `nika_*` tools
([the oracle's contract](https://docs.nika.sh/reference/mcp-server.md): validate, explain, schema,
cost — no execution). Then prove the loop end-to-end:
[integrate in 10 minutes](https://docs.nika.sh/integrations/quickstart.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.