Lets IDEs such as Cursor and Windsurf analyse large codebases by loading them into the Gemini large context window.
Setup
Choose your client, copy the config, then fill in any required environment variables.
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}}"
]
}
}
}