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

# Per-client MCP wiring

> One stanza, every client: Cursor, Claude Code, Codex, Zed, Gemini CLI, Windsurf, Continue, Cline, Aider — one dedicated page per tool.

Every MCP-capable client wires the same read-only oracle
([what it exposes](https://docs.nika.sh/reference/mcp-server.md)) with the same two fields —
`command: nika` · `args: [mcp]`. The binary comes first:
`brew install supernovae-st/tap/nika` ([other paths](https://docs.nika.sh/getting-started/installation.md)).
This page is the matrix; every client has a dedicated page with the exact
file, shape, reload behavior and verify step.

One-click where the client supports it (binary still required first):

[![Install in VS Code](https://img.shields.io/badge/VS_Code-install%20nika%20mcp-0098FF?logo=githubcopilot)](https://insiders.vscode.dev/redirect/mcp/install?name=nika\&config=%7B%22command%22%3A%20%22nika%22%2C%20%22args%22%3A%20%5B%22mcp%22%5D%7D)
[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=nika\&config=eyJjb21tYW5kIjogIm5pa2EiLCAiYXJncyI6IFsibWNwIl19)

And in every case, `nika init` first — the agent-teaching surface
(`AGENTS.md`, rules, the repo skill) is what makes the oracle useful.

## Wire what this machine has

The recommended door previews, then wires, every client this machine shows:

```sh theme={"system"}
nika wire detected --dry-run   # the plan: created · updated · current · manual
nika wire detected             # write it
```

`nika wire <client>` wires one client by name, and `nika wire all` is the
advanced sweep over every supported client (previewed, then confirmed on a
terminal or with `--yes`). `nika wire --help` lists the targets your binary
knows.

## The client matrix

| Client | Wire | Where it lands |
| - | - | - |
| [Claude Code](https://docs.nika.sh/integrations/clients/claude-code.md) | `nika wire claude` | `~/.claude.json` |
| [Claude Desktop](https://docs.nika.sh/integrations/clients/claude-desktop.md) | `nika wire claude-desktop` | `claude_desktop_config.json` (app-config dir) |
| [VS Code / Copilot](https://docs.nika.sh/integrations/clients/vscode.md) | `nika wire vscode` | `.vscode/mcp.json` (repo-local) |
| [Cursor](https://docs.nika.sh/integrations/clients/cursor.md) | `nika wire cursor` | `~/.cursor/mcp.json` |
| [Windsurf](https://docs.nika.sh/integrations/clients/windsurf.md) | `nika wire windsurf` | `~/.codeium/windsurf/mcp_config.json` |
| [Zed](https://docs.nika.sh/integrations/clients/zed.md) | `nika wire zed` | `~/.config/zed/settings.json` |
| [Codex](https://docs.nika.sh/integrations/clients/codex.md) | `nika wire codex` | `~/.codex/config.toml` |
| [OpenCode](https://docs.nika.sh/integrations/opencode.md) | `nika wire opencode` | `opencode.json` (repo-local) |
| [Hermes](https://docs.nika.sh/integrations/hermes.md) | `nika wire hermes` | `~/.hermes/config.yaml` |
| [Gemini CLI](https://docs.nika.sh/integrations/clients/gemini-cli.md) | `nika wire gemini` | `~/.gemini/settings.json` |
| [Qwen Code](https://docs.nika.sh/integrations/clients/qwen-code.md) | `nika wire qwen` | `~/.qwen/settings.json` |
| [Kimi Code](https://docs.nika.sh/integrations/clients/kimi-code.md) | `nika wire kimi` | `~/.kimi-code/mcp.json` |
| [Grok Build](https://docs.nika.sh/integrations/clients/grok-build.md) | `nika wire grok` | `~/.grok/config.toml` |
| [Antigravity](#antigravity) | `nika wire antigravity` | `~/.gemini/config/mcp_config.json` |
| [Kiro](#kiro) | `nika wire kiro` | `~/.kiro/settings/mcp.json` |
| [GitHub Copilot CLI](#github-copilot-cli) | `nika wire copilot` | `~/.copilot/mcp-config.json` |
| [Amp](#amp) | `nika wire amp` | `~/.config/amp/settings.json` |
| [Cline](https://docs.nika.sh/integrations/clients/cline.md) | `nika wire cline` | `cline_mcp_settings.json` (resolved) |
| [Continue](https://docs.nika.sh/integrations/clients/continue.md) | `nika wire continue` | `~/.continue/mcpServers/nika.json` |
| [LM Studio](https://docs.nika.sh/integrations/clients/lm-studio.md) | `nika wire lmstudio` | `~/.lmstudio/mcp.json` (resolved) |
| [Junie](https://docs.nika.sh/integrations/clients/junie.md) | `nika wire junie` | `.junie/mcp/mcp.json` (repo-local) |
| [goose](https://docs.nika.sh/integrations/clients/goose.md) | manual stanza | goose config `extensions:` |
| [Open WebUI](https://docs.nika.sh/integrations/clients/open-webui.md) | manual — mcpo recipe | OpenAPI tool server |
| [AnythingLLM](https://docs.nika.sh/integrations/clients/anythingllm.md) | manual stanza | its `mcpServers` file |
| [Cherry Studio](https://docs.nika.sh/integrations/clients/cherry-studio.md) | manual stanza | settings UI (stdio) |
| [Jan](https://docs.nika.sh/integrations/clients/jan.md) | manual stanza | settings UI (stdio) |
| [Neovim](#neovim) | manual stanza (mcphub.nvim) | `~/.config/mcphub/servers.json` |
| [Aider](#aider) | no MCP — `AGENTS.md` covers it | `.aider.conf.yml` |

Every `nika wire` write is idempotent (re-run prints `· current`) and
preserves unrelated servers.

The sections below give each client's essentials for directory deep-links;
most point to a dedicated page.

## Cursor

`nika wire cursor` → `~/.cursor/mcp.json`, plus the one-click deeplink and
the auto-attached `.cursor/rules/nika.mdc` —
[full page](https://docs.nika.sh/integrations/clients/cursor.md).

## Claude Code

`nika wire claude` → `~/.claude.json`, plus the first-party plugin
(`claude plugin install nika@nika`) —
[full page](https://docs.nika.sh/integrations/clients/claude-code.md).

## Codex

`nika wire codex` → `~/.codex/config.toml` (comments preserved), plus the
plugin — [full page](https://docs.nika.sh/integrations/clients/codex.md).

## VS Code / Copilot

`nika wire vscode` → repo-local `.vscode/mcp.json`, plus the marketplace
extension — [full page](https://docs.nika.sh/integrations/clients/vscode.md).

## Zed

`nika wire zed` → `context_servers` in `~/.config/zed/settings.json`, with
the JSONC-respecting contract —
[full page](https://docs.nika.sh/integrations/clients/zed.md).

## Gemini CLI

`nika wire gemini` → `~/.gemini/settings.json` —
[full page](https://docs.nika.sh/integrations/clients/gemini-cli.md).

## Windsurf

`nika wire windsurf` → `~/.codeium/windsurf/mcp_config.json` —
[full page](https://docs.nika.sh/integrations/clients/windsurf.md).

## OpenCode

Native `AGENTS.md` + repo-skill discovery — see the dedicated
[OpenCode page](https://docs.nika.sh/integrations/opencode.md).

## Hermes

Tap-installable delegation skill + `mcp_servers` stanza — see the dedicated
[Hermes page](https://docs.nika.sh/integrations/hermes.md).

## Continue

An own-file drop: `~/.continue/mcpServers/nika.json` — reload to pick it
up — [full page](https://docs.nika.sh/integrations/clients/continue.md).

## Cline

`cline_mcp_settings.json` (hot-reloaded; the file's two possible homes
resolved) — [full page](https://docs.nika.sh/integrations/clients/cline.md).

## LM Studio

Cursor-notation `mcp.json`, with the real macOS path quirk —
[full page](https://docs.nika.sh/integrations/clients/lm-studio.md).

## goose

A stdio extension stanza + native `AGENTS.md` reading —
[full page](https://docs.nika.sh/integrations/clients/goose.md).

## Antigravity

`nika wire antigravity` → `~/.gemini/config/mcp_config.json`, the same
`mcpServers` stanza Gemini CLI uses:

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

## Kiro

`nika wire kiro` → `~/.kiro/settings/mcp.json`, with the same `mcpServers`
stanza.

## GitHub Copilot CLI

`nika wire copilot` → `~/.copilot/mcp-config.json`, the machine-level
configuration. Copilot's local servers carry a type and a tool list:

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

Inside a repository, the `.mcp.json` and `AGENTS.md` that `nika init` writes
cover it too.

## Amp

`nika wire amp` → `~/.config/amp/settings.json`, under Amp's own key:

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

Amp also reads the `AGENTS.md` and `.agents/skills` that `nika init` writes.

## Neovim

Neovim reaches MCP through [mcphub.nvim](https://github.com/ravitemer/mcphub.nvim),
which serves avante and codecompanion. `nika wire` has no Neovim target: add
the stdio stanza by hand to mcphub's servers file, `~/.config/mcphub/servers.json`
by default.

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

Nika's listing in the mcphub registry is a submission still under review
([ravitemer/mcp-registry#39](https://github.com/ravitemer/mcp-registry/pull/39)),
so the registry does not offer it yet.

## Aider

Aider reads repo conventions rather than MCP: `nika init`'s `AGENTS.md`
covers it (add `CONVENTIONS.md: AGENTS.md` to `.aider.conf.yml` if you keep
conventions elsewhere). The check loop is the same:
`nika check <file>` after every edit.

## Verify (any client)

Ask the agent to list its tools — the nine `nika_*` names should appear.
Then prove the loop end-to-end:
[integrate in 10 minutes](https://docs.nika.sh/integrations/quickstart.md).

> Client config formats move fast. The stable contract is the stanza
> (`nika` + `mcp`) and the oracle's read-only surface — if a client's
> documented path has moved, the stanza still applies.


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