Integration With Coding Assistants

Integration With Coding Assistants

The core goal of Kodit is to make your AI coding experience more accurate by providing better context. That means you need to integrate Kodit with your favourite assistant.

MCP Connection Methods

Kodit supports three different ways to run the MCP server, depending on your integration needs. Each method exposes the same code search capabilities, but differs in how the connection is established and which assistants/tools it is compatible with.

See the MCP Reference for comprehensive integration instructions for popular coding assistants like Cursor, Claude, Cline, etc.

1. HTTP Streaming (Recommended)

This is the default and recommended method for most users. Kodit runs an HTTP server that streams responses to connected AI coding assistants over the /mcp endpoint.

Configure your AI coding assistant to connect to https://kodit.helix.ml/mcp

More information about the hosted service is available in the hosted Kodit documentation.

Local HTTP Streaming

  1. Start the Kodit server:
kodit serve

The Kodit container runs this command by default.

  1. Configure your AI coding assistant to connect to the /mcp endpoint, for example: http://localhost:8080/mcp.

2. STDIO Mode

Kodit can run as an MCP server over standard input/output (STDIO) for direct integration with local AI coding assistants that support MCP stdio transport. No network port is opened.

  1. Configure your AI coding assistant to start Kodit’s STDIO server:
kodit stdio

3. SSE (Server-Sent Events) [Deprecated]

Kodit also supports the older SSE protocol on the /sse endpoint. This is provided for backward compatibility with tools that require SSE.

Configure your AI coding assistant to connect to https://kodit.helix.ml/sse

Local SSE

  1. Start the Kodit server:
kodit serve

The Kodit container runs this command by default.

  1. Configure your AI coding assistant to connect to the /sse endpoint, for example http://localhost:8080/sse.

HTTP API Connection Methods

Helix also exposes a REST API with an /api/v1/search endpoint to allow integration with other tools. See the Kodit HTTP API documentation for more information.