CodebaseIndexMCP MCP Server

为指定的代码库目录创建语义索引。索引是实现 `SemanticCodeSearch` 的前提。此过程会在后台运行,并自动启用文件监控以进行增量更新。

Local serverstdio

What is the CodebaseIndexMCP MCP server?

If you want an AI assistant working directly with CodebaseIndexMCP, the codebaseindexmcp mcp server is the bridge. 为指定的代码库目录创建语义索引。索引是实现 SemanticCodeSearch 的前提。此过程会在后台运行,并自动启用文件监控以进行增量更新。.

What CodebaseIndexMCP does

为指定的代码库目录创建语义索引。索引是实现 SemanticCodeSearch 的前提。此过程会在后台运行,并自动启用文件监控以进行增量更新。

Tools it exposes

Once connected, the assistant can call these 4 tools directly:

  • ModelContextProtocol — MCP 协议实现
  • Qdrant.Client — 向量数据库客户端
  • Newtonsoft.Json — JSON 序列化
  • Microsoft.Extensions.Hosting — 应用程序主机

Installing the codebaseindexmcp mcp server

The server is distributed via a container image as qdrant/qdrant, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. CodebaseIndexMCP sits in that group, and the shape of its toolset — ModelContextProtocol, Qdrant.Client, Newtonsoft.Json among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by mengtoumingren.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the codebaseindexmcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
ModelContextProtocolMCP 协议实现
Qdrant.Client向量数据库客户端
Newtonsoft.JsonJSON 序列化
Microsoft.Extensions.Hosting应用程序主机

How to install the CodebaseIndexMCP MCP server

{
  "mcpServers": {
    "codebase-search": {
      "url": "http://localhost:5000/sse",
      "alwaysAllow": [
        "SemanticCodeSearch",
        "GetIndexingStatus"
      ],
      "timeout": 30
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use CodebaseIndexMCP to ModelContextProtocol.
  • Use CodebaseIndexMCP to Qdrant.Client.
  • Use CodebaseIndexMCP to Newtonsoft.Json.

Frequently asked questions

It connects CodebaseIndexMCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (ModelContextProtocol, Qdrant.Client, Newtonsoft.Json, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with CodebaseIndexMCP directly.