DeepView MCP
ディープビューMCP
DeepView MCP は、Cursor や Windsurf などの IDE が Gemini の広範なコンテキスト ウィンドウを使用して大規模なコードベースを分析できるようにするモデル コンテキスト プロトコル サーバーです。
特徴
単一のテキスト ファイルからコードベース全体をロードする (例: repomix などのツールで作成)
Gemini の大きなコンテキスト ウィンドウを使用してコードベースをクエリする
CursorやWindsurfなどのMCPプロトコルをサポートするIDEに接続します。
コマンドライン引数による設定可能なGeminiモデル選択
Related MCP server: @lex-tools/codebase-context-dumper
前提条件
Python 3.13以上
Google AI Studioの Gemini API キー
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の DeepView を自動的にインストールするには:
npx -y @smithery/cli install @ai-1st/deepview-mcp --client claudepipの使用
pip install deepview-mcp使用法
サーバーの起動
注: サーバーを手動で起動する必要はありません。これらのパラメータは、IDE の MCP セットアップで設定されています(下記参照)。
# Basic usage with default settings
deepview-mcp [path/to/codebase.txt]
# Specify a different Gemini model
deepview-mcp [path/to/codebase.txt] --model gemini-2.0-pro
# Change log level
deepview-mcp [path/to/codebase.txt] --log-level DEBUGコードベースファイルのパラメータはオプションです。指定されていない場合は、クエリを実行する際に指定する必要があります。
コマンドラインオプション
--model MODEL: 使用する Gemini モデルを指定します (デフォルト: gemini-2.0-flash-lite)--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}: ログレベルを設定する (デフォルト: INFO)
IDE (カーソル/Windsurf/...) で使用する
IDE設定を開く
MCP構成に移動する
次の構成で新しい MCP サーバーを追加します。
{ "mcpServers": { "deepview": { "command": "/path/to/deepview-mcp", "args": [], "env": { "GEMINI_API_KEY": "your_gemini_api_key" } } } }
コードベースファイルの設定はオプションです。同じコードベースで作業している場合は、以下の設定を使用してデフォルトのコードベースファイルを設定できます。
{
"mcpServers": {
"deepview": {
"command": "/path/to/deepview-mcp",
"args": ["/path/to/codebase.txt"],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key"
}
}
}
}使用する Gemini バージョンを指定する方法は次のとおりです。
{
"mcpServers": {
"deepview": {
"command": "/path/to/deepview-mcp",
"args": ["--model", "gemini-2.5-pro-exp-03-25"],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key"
}
}
}
}MCP サーバーの構成を再読み込みします
利用可能なツール
サーバーは次のツールを 1 つ提供します。
deepview: コードベースについて質問する必須パラメータ:
question- コードベースについて尋ねる質問オプションパラメータ:
codebase_file- クエリを実行する前に読み込むコードベースファイルへのパス
コードベースの準備
DeepView MCPでは、コードベース全体を1つのファイルにまとめる必要があります。repomixを使用すると、AIに適した形式でコードベースを準備できます。
レポミックスの使用
基本的な使用法: プロジェクト ディレクトリで repomix を実行して、デフォルトの出力ファイルを作成します。
# Make sure you're using Node.js 18.17.0 or higher
npx repomixこれにより、コードベースを含むrepomix-output.xmlファイルが生成されます。
カスタム構成: パッケージ化するファイルと出力形式をカスタマイズするための構成ファイルを作成します。
npx repomix --initこれにより、次のことを編集できるrepomix.config.jsonファイルが作成されます。
特定のファイルまたはディレクトリを含める/除外する
出力形式を変更する(XML、JSON、TXT)
出力ファイル名を設定する
その他のパッケージオプションを構成する
repomix 設定例
repomix.config.jsonファイルの例を次に示します。
{
"include": [
"**/*.py",
"**/*.js",
"**/*.ts",
"**/*.jsx",
"**/*.tsx"
],
"exclude": [
"node_modules/**",
"venv/**",
"**/__pycache__/**",
"**/test/**"
],
"output": {
"format": "xml",
"filename": "my-codebase.xml"
}
}repomix の詳細については、 repomix GitHub リポジトリをご覧ください。
ライセンス
マサチューセッツ工科大学
著者
ドミトリー・デグチャレフ ( ddegtyarev@gmail.com )
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceA Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup14997MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server designed to easily dump your codebase context into Large Language Models (LLMs).163Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that connects AI clients to local code repositories, using Gemini 2.0 Flash to analyze codebases and generate targeted context based on user queries.10

CodeAlive MCPofficial
AlicenseNot gradedqualityAmaintenanceA Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.88MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-1st/deepview-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server