Kontxt
基于Gemini AI的代码库索引MCP服务器. Kontxt is a Model Context Protocol (MCP) server maintained by ReyNeill. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 4 tools, including get_codebase_context, list_repository_structure, read_files and grep_codebase, that an agent can call directly. It is categorized under AI/LLM and Tool/Server.
什么是MCP
Kontxt是一个模型上下文协议(MCP)服务器,利用Gemini 2.0 Flash的100万token上下文窗口,为AI客户端提供代码库上下文。它通过分析代码仓库,帮助AI工具理解代码结构和内容。
如何使用MCP
使用本地仓库路径运行服务器,配置您的AI客户端(如Cursor)通过SSE或stdio传输连接,即可对代码库进行查询。服务器会自动处理上下文生成和文件分析。
MCP的用途
通过提供代码库上下文增强AI辅助编程能力,包括分析仓库结构、实现方案对比、回答项目技术问题,同时跟踪token使用情况。
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the Kontxt MCP server?
Kontxt is a Model Context Protocol server from ReyNeill. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect Kontxt to my AI client?
Add Kontxt to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does Kontxt provide?
Kontxt provides 4 tools: get_codebase_context, list_repository_structure, read_files and grep_codebase.
Is Kontxt free to use?
Kontxt is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
