Skip to main content
Glama

FileScopeMCP

あなたのAIはすでにコーディングの方法を知っています。今度はあなたのコードベースを知る番です。

Build Status Node.js License Trust Score

FileScopeMCPはあなたのコードを監視し、すべてのファイルの重要度をランク付けし、すべての依存関係をマッピングし、AIが生成した要約をバックグラウンドで常に最新の状態に保ちます。LLMが「このファイルは何をするもの?」と尋ねたとき、ソースコードを読み込ませることなく、正確な回答を得ることができます。

Claude CodeCursor AI、またはスタンドアロンのデーモンとして動作します。標準で12の言語をサポートしています。

主な機能

重要度ランキング — 依存関係の数、エクスポート内容、配置場所に基づいて、すべてのファイルが0〜10でスコアリングされます。LLMは重要なファイルを優先的に認識します。

依存関係マッピング — Python、JS/TS、C/C++、Rust、Go、Ruby、Lua、Zig、PHP、C#、Javaにわたる双方向のインポート追跡。循環依存関係も検出します。

常に最新 — ファイル監視機能とセマンティックな変更検知により、メタデータが自動的に更新されます。TS/JSはASTレベルの差分検知、それ以外はLLMによる分析を行います。実際に変更されたものだけを再処理します。

LLMブローカー — バックグラウンドプロセスが、llama.cppの llama-server(またはOpenAI互換のHTTP API)を通じてすべてのAI作業を調整します。優先順位付きキューにより、対話型クエリがバックグラウンド処理よりも優先されます。単一のGPUで動作します。

Nexusダッシュボードlocalhost:1234 で動作するWeb UI。すべてのリポジトリにわたるコードベースを視覚的に探索できます。インタラクティブな依存関係グラフ、ファイル詳細パネル、ライブブローカーアクティビティ、リポジトリごとの健全性監視を提供します。

Related MCP server: GonMCPtool

クイックスタート

git clone https://github.com/admica/FileScopeMCP.git
cd FileScopeMCP
./build.sh          # installs deps, compiles, registers with Claude Code

以上です。任意のプロジェクトでClaude Codeセッションを開くと、FileScopeMCPが自動的に初期化されます。以下を試してください:

find_important_files(limit: 5)
status()

AIによる要約が必要ですか? ./setup-llm.sh を実行して、プラットフォーム固有のガイドに従いllama.cppの llama-server をセットアップしてください。詳細は docs/llm-setup.md を参照してください。これを行わなくても、他の機能はすべて動作します。

プロジェクトの .gitignore に以下を追加してください:

.filescope/
.filescope-daemon.log

MCPツール

ツール

説明

find_important_files

重要度スコアの高いファイル

get_file_summary

ファイルに関するすべての情報:要約、概念、変更の影響、依存関係、鮮度

list_files

重要度付きのファイルツリー全体

detect_cycles

循環依存関係チェーンの検出

status

ブローカー接続、キューの深さ、LLMの進捗、監視状態

scan_all

コードベース全体をLLM処理キューに追加

set_base_directory

別のプロジェクトを指定

set_file_summary / set_file_importance

手動オーバーライド

exclude_and_remove

追跡対象からファイルやパターンを除外

get_cycles_for_file

特定のファイルに関連する循環依存関係

Nexusダッシュボード

npm run nexus       # opens at http://localhost:1234

マシン上のすべてのFileScopeMCPリポジトリに接続する読み取り専用のWebダッシュボードです:

  • プロジェクトビュー — 重要度によるヒートカラーと鮮度インジケーター付きのファイルツリー。ファイルをクリックすると詳細メタデータを表示

  • 依存関係グラフ — インタラクティブなCytoscape.jsによる可視化。ディレクトリによるフィルタリングやノードクリックによる調査が可能

  • システムビュー — ライブブローカー状態、リポジトリごとのトークン使用量、ストリーミングアクティビティログ

  • 設定 — 表示するリポジトリの管理、ブラックリストからの削除や復元

.filescope/data.db ディレクトリをスキャンしてリポジトリを自動検出します。設定は不要です。

仕組み

Your code changes
    → file watcher picks it up
    → AST diff classifies the change (exports? types? body only?)
    → importance scores recalculated
    → staleness cascades to dependents (only if exports/types changed)
    → LLM broker regenerates summaries, concepts, change impact
    → your AI's next query gets fresh answers

すべてはプロジェクトごとの .filescope/data.db(SQLite、WALモード)に保存されます。ブローカーは ~/.filescope/broker.sock のUnixソケットを介して、すべてのリポジトリのLLM作業を調整します。

ドキュメント

ドキュメント

内容

LLM Setup

llama.cpp / llama-serverのインストール(ローカル、WSL2+Windows、リモート)

Configuration

プロジェクトごとの設定、ブローカー設定、除外パターン

MCP Clients

Claude Code、Cursor AI、デーモンモードのセットアップ

Troubleshooting

よくある問題と解決策

Internals

依存関係検知、重要度計算式、カスケードエンジン、ストレージ

ライセンス

Copyright (c) 2026 admica. All rights reserved. LICENSE を参照してください。

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    C
    quality
    D
    maintenance
    A TypeScript-based Model Context Protocol toolkit that enables AI to interact with code files, manage translations, build projects, and search for files and code content.
    33
    7
    5
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A structural codebase indexer that exposes 18 tools via the Model Context Protocol for AI-assisted code navigation, enabling efficient querying of functions, classes, dependencies, and call chains without reading entire files.
    61
    AGPL 3.0
  • A
    license
    -
    quality
    B
    maintenance
    Enables Claude Code to query a TypeScript dependency graph and retrieve the minimal set of files needed for code review, implementation, or debugging.
    MIT

View all related MCP servers

Related MCP Connectors

  • Give your AI agent a persistent map of your project's structure, dependencies, and bugs.

  • AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).

  • Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.

View all MCP Connectors

Latest Blog Posts

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/admica/FileScopeMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server