> ## 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 Zed

> Wire the read-only Nika oracle into Zed's context_servers — one command that respects your commented settings.json, plus the manual stanza.

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

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

## What it writes

`~/.config/zed/settings.json` — on **every** platform, macOS included
(Zed's deliberate upstream choice). The entry lands under
`context_servers`, the shape from
[zed.dev/docs/ai/mcp](https://zed.dev/docs/ai/mcp):

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

> [!NOTE]
>
> Zed's `settings.json` is JSONC — the default file ships with comments, and
> comments would be destroyed by a rewrite. `nika wire zed` only rewrites a
> file it can round-trip losslessly; if yours carries comments it prints the
> exact snippet (`✋ manual`) and leaves the file byte-identical. Paste the
> `"nika"` entry into `context_servers` yourself.

## Verify

Zed's agent panel lists `nika` among its context servers, with the nine
`nika_*` tools ([the oracle's contract](https://docs.nika.sh/reference/mcp-server.md)). The repo
side comes from `nika init` — `AGENTS.md` plus the `$schema` modeline for
validation and completion. 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.