Loading...
{
"mcpServers": {
"FileScopeMCP": {
"command": "node",
"args": ["<build script sets this>/mcp-server.js","--base-dir=C:/Users/admica/my/project/base"],
"transport": "stdio",
"disabled": false,
"alwaysAllow": []
}
}
}list_saved_treesLists all saved file tree configurations.
Read-only operation, no modification of data.
create_file_treeCreates a new file tree configuration for a specific directory.
Creates a new configuration file, but does not access sensitive data.
select_file_treeSelects an existing file tree to work with.
Read-only operation, selects a configuration file.
delete_file_treeDeletes a file tree configuration.
Deletes a configuration file, potentially losing analysis data.
list_filesLists all files in the project with their importance rankings.
Read-only operation, no modification of data.
get_file_importanceGets detailed information about a specific file, including dependencies and dependents.
Read-only operation, no modification of data.
find_important_filesFinds the most important files in the project based on configurable criteria.
Read-only operation, no modification of data.
read_file_contentReads the content of a specific file.
Read-only operation, accesses file content.
recalculate_importanceRecalculates importance values for all files based on dependencies.
Read-only operation, recalculates values based on existing data.
get_file_summaryGets the stored summary of a specific file.
Read-only operation, retrieves stored summary.
set_file_summarySets or updates the summary of a specific file.
Writes a summary to the configuration file.
toggle_file_watchingToggles file watching on/off.
Modifies the file watching configuration.
get_file_watching_statusGets the current status of file watching.
Read-only operation, retrieves file watching status.
update_file_watching_configUpdates file watching configuration.
Modifies the file watching configuration.
generate_diagramCreates Mermaid diagrams with customizable options.
Generates diagram files based on project structure.
The FileScopeMCP server is relatively safe for read-only operations and code analysis. Risks are elevated when enabling file watching or when AI is used to generate summaries, as this could expose sensitive information. Ensure the base directory is properly scoped and file watching is configured with appropriate exclusions.