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

> Add the read-only Nika oracle to JetBrains Junie via project-scope .junie/mcp/mcp.json.

[Junie](https://www.jetbrains.com/junie/) — JetBrains' coding agent —
reads MCP servers from project-scope `.junie/mcp/mcp.json` (`mcpServers`
root). The binary comes first: `brew install supernovae-st/tap/nika`
([other paths](https://docs.nika.sh/getting-started/installation.md)).

Create `.junie/mcp/mcp.json` at the repo root:

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

A global `~/.junie/mcp/mcp.json` exists too, but the project file is the
least-privilege home — the repo the oracle serves, same reasoning as
[OpenCode](https://docs.nika.sh/integrations/opencode.md).

`nika wire junie` writes exactly this — idempotent, unrelated servers
preserved.

## The repo side

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

## Verify

Junie's MCP listing shows `nika` with the nine `nika_*` tools
([the oracle's contract](https://docs.nika.sh/reference/mcp-server.md): validate, explain, schema,
cost — no execution, no mutation). 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.