Skip to main content
Gemini CLI reads MCP servers from mcpServers in its user-scope ~/.gemini/settings.json. The binary comes first: brew install supernovae-st/tap/nika (other paths). Add the nika entry to ~/.gemini/settings.json:
{ "mcpServers": { "nika": { "command": "nika", "args": ["mcp"] } } }
nika wire gemini ships in the next release and writes exactly this — it touches only the mcpServers key, so every other setting in the shared file survives, and re-running prints · current (idempotent).
Gemini CLI’s policy parser splits server names on underscores — a server named my_server misbehaves upstream. nika is underscore-free, safe as-is.

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

/mcp in a Gemini CLI session lists nika with the eight nika_* tools (the oracle’s contract: validate, explain, schema, cost — no execution). Then prove the loop end-to-end: integrate in 10 minutes.