FileScopeMCP is a TypeScript-based MCP server that analyzes codebases to identify important files based on dependency relationships, providing AI tools with structural understanding of projects. It scans source files to detect imports across multiple languages (JavaScript, TypeScript, Python, C/C++, Rust, Lua, Zig), calculates importance scores (0-10) based on dependency patterns, and generates visualizations using Mermaid diagrams. The implementation features persistent storage of file trees, cross-platform path handling, and tools for querying file importance, finding critical components, and adding human-readable summaries to files, making it valuable for developers who want AI assistants to understand the architecture and significance of different files in their projects.
No reviews yet. Be the first to review!
Sign in to join the conversation
List all saved file trees.
Create a new file tree configuration for a specific directory.
Select an existing file tree to work with.
Delete a file tree configuration.
List all files in the project with their importance rankings.
Get detailed information about a specific file, including dependencies and dependents.
Find the most important files in the project based on configurable criteria.
Read the content of a specific file.
Recalculate importance values for all files based on dependencies.
Get the stored summary of a specific file.
Set or update the summary of a specific file.
Toggle file watching on/off.
Get the current status of file watching.
Update file watching configuration.
Create Mermaid diagrams with customizable options.