DeepView MCP:模型上下文协议服务器

DeepView MCP:模型上下文协议服务器

DeepView MCP 是一个支持 IDE 分析大型代码库的模型上下文协议服务器。

快速入门

安装

使用 pip 安装:

pip install deepview-mcp

使用

  1. 启动服务器(IDE 配置中设置)。
  2. 创建代码库文件(可选,使用 repomix 工具生成)。
  3. 在 IDE 的 MCP 配置中添加服务器信息,示例:

{ "mcpServers": { "deepview": { "command": "/path/to/deepview-mcp", "args": ["/path/to/codebase.txt"], "env": { "GEMINI_API_KEY": "your_gemini_api_key" } } } }

  1. 设置 Gemini 模型版本(可选,默认 gemini-2.0-flash-lite)。
  2. 查询代码库问题时调用 deepview 工具。

更多详情参阅 README。