FileScopeMCP
If you are the rightful owner of FileScopeMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
FileScopeMCP is a TypeScript-based tool designed to analyze codebases, rank files by importance, track dependencies, and provide summaries to enhance code understanding.
FileScopeMCP is a Model Context Protocol server that helps developers understand their codebase by analyzing file importance and dependencies. It assigns importance scores to files based on their role in the codebase, tracks bidirectional dependencies, and allows for custom file summaries. The server supports multiple programming languages and provides visualization tools to generate diagrams of file relationships. It also offers persistent storage of data and supports multiple project configurations, making it a versatile tool for managing complex codebases.
Features
- File Importance Analysis: Ranks files on a 0-10 scale based on dependencies, file type, location, and name significance.
- Dependency Tracking: Maps bidirectional dependencies between files, supporting multiple languages like Python, JavaScript, and C++.
- Visualization: Generates Mermaid diagrams to visualize file relationships with color-coded importance scores.
- File Summaries: Allows adding and retrieving human or AI-generated summaries for files, persisting across server restarts.
- Multiple Project Support: Manages multiple file trees for different projects with cached data for faster operations.
Tools
list_saved_trees
List all saved file trees.
create_file_tree
Create a new file tree configuration for a specific directory.
select_file_tree
Select an existing file tree to work with.
delete_file_tree
Delete a file tree configuration.
list_files
List all files in the project with their importance rankings.
get_file_importance
Get detailed information about a specific file, including dependencies and dependents.
find_important_files
Find the most important files in the project based on configurable criteria.
read_file_content
Read the content of a specific file.
recalculate_importance
Recalculate importance values for all files based on dependencies.
get_file_summary
Get the stored summary of a specific file.
set_file_summary
Set or update the summary of a specific file.
toggle_file_watching
Toggle file watching on/off.
get_file_watching_status
Get the current status of file watching.
update_file_watching_config
Update file watching configuration.
generate_diagram
Create Mermaid diagrams with customizable options.