> ## 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 Qwen Code

> Add the read-only Nika oracle to Qwen Code's settings.json — same key as Gemini CLI, its own dotdir; one wire command in the next release.

[Qwen Code](https://github.com/QwenLM/qwen-code) is a Gemini CLI fork —
same `mcpServers` key, same user-scope `settings.json`, its own dotdir.
The binary comes first: `brew install supernovae-st/tap/nika`
([other paths](/getting-started/installation)).

Add the `nika` entry to `~/.qwen/settings.json`:

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

`nika wire qwen` ships in the next release and writes exactly this —
only the `mcpServers` key is touched, every other setting survives, and
re-running prints `· current` (idempotent).

## The repo side

`nika init` writes the agent-teaching surface (`AGENTS.md`, rules) plus
the `$schema` modeline for validation and completion on `*.nika.yaml`.

## Verify

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