MCP Catalogs
首页

src-to-kb

by vezlo·32·综合分 43

MCP服务器将源代码转换为可搜索的知识库,支持IDE集成。

developer-toolsai-llmknowledge-graph
7
Forks
3
活跃 Issue
5 个月前
最近提交
2 天前
收录于

概述

src-to-kb是一个全面的工具,它通过智能分块、嵌入生成和AI驱动的搜索,将源代码仓库转换为可搜索的知识库。MCP服务器集成实现了与Claude Code和Cursor IDE的直接连接,使开发人员能够在开发环境中自然地查询他们的代码库。它支持多种编程语言,并为不同类型的用户提供各种答案模式。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:在Claude Code和Cursor等IDE中使用自然语言查询搜索代码库
:为代码库探索生成嵌入和向量搜索
:将Notion文档与源代码集成到统一的知识库中
:src-to-kb支持哪些编程语言?
:MCP服务器如何与IDE集成?

什么时候选它

当您需要对大型代码库进行 AI 驱动的搜索,并希望与 Claude Code 或 Cursor 进行直接 IDE 集成时,选择此 MCP 服务器。

什么时候不要选它

如果您需要实时代码分析,或者您更喜欢开源许可证(因为它是 AGPL v3 许可),则避免使用此工具。

此 server 暴露的工具

从 README 抽取出 5 个工具
  • src-to-kb

    Generate knowledge base from source code or Notion pages

  • src-to-kb-search

    Search the generated knowledge base with different answer modes

  • src-to-kb-upload

    Upload local knowledge base to external server

  • src-to-kb-mcp

    Start MCP server for IDE integration

  • src-to-kb-mcp-install

    Auto-configure Claude Code/Cursor with MCP

说明:Extracted from CLI commands in the README, as there's no explicit 'Tools' section. These appear to be the main tools exposed by the server, though exact MCP tool names may differ from CLI commands.

可对比工具

code-search-mcpgithub-copilot-mcpsourcegraph-mcp

安装

通过npm全局安装包:

npm install -g @vezlo/src-to-kb

启动MCP服务器:

src-to-kb-mcp

对于Claude Desktop集成,请将其添加到您的claude_desktop_config.json中:

{
  "mcpServers": {
    "src-to-kb": {
      "command": "src-to-kb-mcp"
    }
  }
}

FAQ

src-to-kb支持哪些编程语言?
它支持JavaScript、TypeScript、Python、Java、C++、Go、Rust等多种语言。
MCP服务器如何与IDE集成?
它通过MCP协议与Claude Code和Cursor IDE实现直接集成,允许在开发环境中使用自然语言查询。

src-to-kb 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。