> ## 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](/getting-started/installation)):

```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.yaml`, so Cursor's agent knows the check-before-run law without
being told. The VS Code extension also installs into Cursor via
[OpenVSX](https://open-vsx.org/extension/supernovae/nika).

## Verify

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