Back to MCP directory
publicPublicdnsLocal runtime

VectorCode

VectorCode是一个代码仓库索引工具,旨在通过索引和提供代码仓库信息来优化编程大语言模型(LLM)的提示构建。它支持多种嵌入引擎,提供命令行工具和Neovim插件,帮助开发者更高效地利用项目上下文提升模型输出质量。

article

README

🚀 VectorCode 罗码工具

VectorCode罗码工具是一款代码仓库索引工具,它能通过构建更优质的提示词,为编码LLM注入上下文信息,助力其更好地理解你正在处理的代码仓库。此外,该仓库还配备了对应的Neovim插件,因为开发者正是在这个环境下使用此工具进行开发的。

codecov Test and Coverage pypi

⚠️ 重要提示

该项目处于beta阶段,仅实现了一些基本的检索和嵌入功能。还有很多改进空间,欢迎任何帮助!

💡 使用建议

Chromadb(https://www.trychroma.com/),此项目背后的向量数据库后端,支持多种嵌入引擎。开发者使用SentenceTransformer开发了这个工具,如果你在不同的嵌入函数上遇到问题,请打开问题(甚至更好,提交pull request:D)。

🚀 快速开始

罗码工具是一个代码仓库索引工具。它帮助你通过构建更好的提示词为你的编码LLM注入上下文信息,从而更好地理解你正在处理的代码仓库。

✨ 主要特性

  • 支持闭源项目。
  • 支持LLM上下文注入。

📚 详细文档

  • cli.md:命令行界面文档。
  • neovim.md:Neovim插件文档。

📋 待办事项

  • [x] 支持闭源项目。
  • [x] 支持LLM上下文注入。
  • [ ] 实现代码片段检索。
  • [ ] 支持多种编程语言。

🙏 致谢

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client