Lets IDEs such as Cursor and Windsurf analyse large codebases by loading them into the Gemini large context window.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add deepview -- npx @ai-1st/deepview-mcp '{{config.CODEBASE_FILE}}' --model '{{config.GEMINI_MODEL}}' --log-level '{{config.LOG_LEVEL}}'~/.codex/config.toml
[mcp_servers.deepview]
command = "npx"
args = ["@ai-1st/deepview-mcp", "{{config.CODEBASE_FILE}}", "--model", "{{config.GEMINI_MODEL}}", "--log-level", "{{config.LOG_LEVEL}}"]
# codex mcp add deepview -- npx @ai-1st/deepview-mcp '{{config.CODEBASE_FILE}}' --model '{{config.GEMINI_MODEL}}' --log-level '{{config.LOG_LEVEL}}'~/.cursor/mcp.json
{
"mcpServers": {
"deepview": {
"command": "npx",
"args": [
"@ai-1st/deepview-mcp",
"{{config.CODEBASE_FILE}}",
"--model",
"{{config.GEMINI_MODEL}}",
"--log-level",
"{{config.LOG_LEVEL}}"
]
}
}
}.vscode/mcp.json
{
"servers": {
"deepview": {
"type": "stdio",
"command": "npx",
"args": [
"@ai-1st/deepview-mcp",
"{{config.CODEBASE_FILE}}",
"--model",
"{{config.GEMINI_MODEL}}",
"--log-level",
"{{config.LOG_LEVEL}}"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"deepview": {
"command": "npx",
"args": [
"@ai-1st/deepview-mcp",
"{{config.CODEBASE_FILE}}",
"--model",
"{{config.GEMINI_MODEL}}",
"--log-level",
"{{config.LOG_LEVEL}}"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"deepview": {
"command": "npx",
"args": [
"@ai-1st/deepview-mcp",
"{{config.CODEBASE_FILE}}",
"--model",
"{{config.GEMINI_MODEL}}",
"--log-level",
"{{config.LOG_LEVEL}}"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"deepview": {
"command": "npx",
"args": [
"@ai-1st/deepview-mcp",
"{{config.CODEBASE_FILE}}",
"--model",
"{{config.GEMINI_MODEL}}",
"--log-level",
"{{config.LOG_LEVEL}}"
]
}
}
}