Skip to main content
Codanna is a local code intelligence MCP server and CLI for AI coding agents. Network mode exposes the MCP server over HTTP or HTTPS for multiple clients, with OAuth authentication and optional TLS.

HTTP Server

Includes OAuth authentication.

HTTPS Server

Includes TLS encryption.
Unlike stdio transport, HTTP/HTTPS requires a running server instance. Start the server process before connecting your client.

Config Path

When running outside your project directory (common in production), specify the full path:
Run one server per project index. Multiple servers with --watch on the same .codanna/ directory will conflict when re-indexing.

Client Configuration

The same clients from MCP Persistent are supported. The difference is the transport type: use http with a URL instead of command/args.

Claude Code

Add to .mcp.json in your project root:

Cursor

Add to .cursor/mcp.json in your project root:

Codex CLI

Add to ~/.codex/config.toml:

Gemini CLI

Add to your settings.json:
Gemini CLI auto-discovers OAuth endpoints for HTTPS servers.

HTTPS with Self-Signed Certificates

For secure local development with TLS encryption, see the HTTPS Setup guide.

Options

Custom Bind Address

When to Use

Security

  • Default binds to localhost only (127.0.0.1)
  • HTTP mode includes OAuth authentication
  • HTTPS mode provides TLS encryption
  • Use caution when binding to 0.0.0.0