Connect your agent¶
CodeNavi speaks MCP over streamable HTTP, one server, one /mcp endpoint, every client. Pick your agent below for the exact config and per-client notes; the guides in this section also cover token auth, tool approvals, and each client's gotchas.
Four shortcuts worth knowing:
- On a running server, open
http://localhost:8765/connect, the built-in wizard renders your client's config with your real token filled in and a live Verify button. Server on another machine? Open it from the client at the server's address (http://<server-ip>:8765/connect), the snippets follow the address in the browser bar. Server-side bind, firewall and the Claude Code env block: Remote access → Same LAN. - Let your agent do it. Paste
Set up CodeNavi by following the instructions at https://codenavi.com/docs/setup-agent.mdinto Claude Code, Codex or Antigravity, the agent setup runbook installs or connects, wires the client and verifies a first search. - Want the commands, skills and hooks too? Claude Code, Codex, Antigravity and Cursor get a plugin from your server, see Plugins for what each one ships.
- No server yet? The public preview of the same wizard at codenavi.com/connect-preview shows the config for 23 clients with placeholders you fill in.

Client guides¶
-
The bundled plugin: one-command install, 13 slash commands, skills, statusline.
-
Connect via custom connectors: including from another machine on your LAN.
-
Bundled plugin with wrapper commands, or plain
config.tomlMCP wiring. -
copilot mcp addplus the bundled plugin's skills; runs offline on a local model. -
Bundled plugin for the
agyCLI; the IDE and the desktop app share its MCP config, see also the Windows guide. -
opencode.jsonMCP config with per-tool permissions; on 2.x set"codemode": falsefor local models. -
Native MCP on Pi 0.99+ (older Pi: the adapter); config and caveats.
-
Native MCP support (agent mode), the config shape most MCP-capable editors share.
-
Context server config; runs air-gapped with local models.
-
AI Assistant, Junie and Junie CLI: one
mcpServersblock withurl+headers. -
Google's terminal agent:
url+"type": "http"in~/.gemini/settings.json, orgemini mcp add. -
Agentic IDE:
.kiro/settings/mcp.json; HTTPS for a server on another machine. -
Local-first chat workspace over your CodeNavi index.
-
GitHub / Forgejo Actions: CodeNavi-backed review in your pipeline.
Other MCP clients¶
Cursor, Windsurf/Devin, Cline, Roo Code, Continue, and anything else that speaks MCP connect with the same endpoint and token, the config is a minor variation of the VS Code shape. Cursor also gets a plugin with both skills and both hooks. Grab the exact snippet for your client from the connect-preview picker, or from your own server's /connect wizard.
Exposing the server beyond localhost (HTTPS, reverse proxy, tokens)? See Remote access.