MCP ScannerCustom audit
All servers

admica/FileScopeMCP

Analyzes your codebase identifying important files based on dependency relationships. Generates diagrams and importance scores per file, helping AI assistants understand the codebase. Automatically parses popular programming languages such as Python, C, C++, Rust, Zig, Lua.

PackageFileScopeMCP
Version1.0.0 in package.json
Publisheradmica community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 303Forks 31Last push 2026-05-10
TypeScript 95.0%JavaScript 5.0%by source files the scanner reads
Code safetypartly tracedExposure7.6Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence81%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure7.6/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • Some paths pass through more than 8 functions one inside another; the scanner stops there
  • In 43 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 4 source files could be read only in part

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 17 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
exclude_and_remove, find_callees, find_callers, get_communities, get_cycles_for_file, get_file_summary and 5 more
11 of 17

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files3 tools · get_file_summary, scan_all, status

Tool annotations

17 of 17 tools declare annotations. readOnlyHint 12, destructiveHint 1, idempotentHint 14, openWorldHint 1.

Tools, prompts and resources (17: 17 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

detect_cyclestool **When to call:** when the user asks about circular dependencies, tightly-coupled modules, or import cycles, before any large refactor. Detect all circular deperead-only (declared)
**When to call:** when the user asks about circular dependencies, tightly-coupled modules, or import cycles, before any large refactor. Detect all circular dependency groups in the project's local import graph. Returns an array of cycle groups (each group is an array of file paths forming a cycle), total cycle count, and total files involved. Use to identify tightly-coupled modules that may need refactoring.
exclude_and_removetool **When to call:** only for generated files, build artifacts, or false positives. Destructive — confirm with the user before invoking. Permanently exclude a fileFilesdestructive (declared)
**When to call:** only for generated files, build artifacts, or false positives. Destructive — confirm with the user before invoking. Permanently exclude a file or glob pattern from tracking and remove it from the database. DESTRUCTIVE: this deletes metadata and cannot be undone without a re-scan. Persists the pattern to .filescope/config.json (excludePatterns) so it survives restarts. Use for generated files, build artifacts, or false positives.
find_calleestool Filesread-only (declared)
No description.
find_callerstool Filesread-only (declared)
No description.
find_important_filestool **When to call:** when orienting to a new codebase, or when the user asks 'what's important in this project'. Find the highest-importance files in the project. read-only (declared)
**When to call:** when orienting to a new codebase, or when the user asks 'what's important in this project'. Find the highest-importance files in the project. Returns files sorted by importance descending with dependency counts and staleness flags. Use this over list_files when you need the top N files by importance with relationship metadata. Precondition: server must be initialized.
find_symboltool read-only (declared)
No description.
get_communitiestool **When to call:** when the user asks about module structure, file groupings, or which files change together. Get file communities detected by Louvain clusteringFilesread-only (declared)
**When to call:** when the user asks about module structure, file groupings, or which files change together. Get file communities detected by Louvain clustering on the local import graph. Returns groups of tightly-coupled files identified by their highest-importance representative. Optionally filter to the community containing a specific file. Communities are lazily recomputed only when the dependency graph changes.
get_cycles_for_filetool **When to call:** when investigating a single file's involvement in cycles — typically as a follow-up to detect_cycles(). Get all dependency cycle groups that iFilesread-only (declared)
**When to call:** when investigating a single file's involvement in cycles — typically as a follow-up to detect_cycles(). Get all dependency cycle groups that include a specific file. Returns only the cycles containing the specified file path, useful for understanding a single file's circular dependency involvement. Returns NOT_FOUND if the file is not tracked.
get_file_summarytool **When to call:** before editing any file in this project that you have not previously summarized in this session. Source tells you what the file is; this tellsFilesoutside textread-only (declared)
**When to call:** before editing any file in this project that you have not previously summarized in this session. Source tells you what the file is; this tells you who uses it and what would break — you need both. Skip only if the file is brand-new and not yet in .filescope/data.db. Get full intelligence for a single file: LLM-generated summary, importance score (0-10), dependency list with edge types (imports/inherits/re_exports) and confidence scores, dependents with the imported names + line numbers each dependent uses (use importLines to jump directly to the import statement), exported top-level symbols (exports[] with name/kind/startLine/endLine — Phase 34), package dependencies, concepts, change impact analysis, and staleness flags. Use this before editing a file to understand its role and relationships. Returns NOT_FOUND if the file is not in the scan database.
list_changed_sincetool Filesread-only (declared)
No description.
list_filestool **When to call:** only when you need the full file tree. Prefer find_important_files for top-N navigation — it's cheaper and more relevant. List all tracked filread-only (declared)
**When to call:** only when you need the full file tree. Prefer find_important_files for top-N navigation — it's cheaper and more relevant. List all tracked files with importance rankings. Without maxItems: returns a nested directory tree structure. With maxItems: returns a flat list of the N most important files sorted by importance descending, with truncation metadata. Call status first to verify initialization.
scan_alltool **When to call:** after first project setup, after major codebase changes, or when status() reports stale summaries. Use remaining_only=true for incremental refFilesoutside text
**When to call:** after first project setup, after major codebase changes, or when status() reports stale summaries. Use remaining_only=true for incremental refresh. Queue files for LLM summarization via the broker. Uses min_importance to filter low-value files (default 1, skips zero-importance). Set remaining_only=true to skip already-summarized files. Requires an active broker connection (llm.enabled=true in config). Returns BROKER_DISCONNECTED if the broker is unreachable.
searchtool **When to call:** when the user asks 'where is X handled' with a concept noun (auth, config, caching, error handling, etc.). Searches LLM-generated summaries, nread-only (declared)
**When to call:** when the user asks 'where is X handled' with a concept noun (auth, config, caching, error handling, etc.). Searches LLM-generated summaries, not just text — understands intent, not strings. Prefer find_symbol when looking for a specific named entity. Search file metadata across symbols (function/class/interface names), purpose descriptions, LLM summaries, and file paths. Multi-word queries are tokenized: each word is matched independently and per-row scores are summed, so 'file watcher debounce' correctly surfaces a file whose summary mentions debounce and whose path contains 'file-watcher' even if no field contains the literal phrase. Quote a phrase to require it as a unit: '"change impact"'. Per-token column ranks: symbol=100, purpose/affectedAreas=50, summary=20, path=10. Use this to find files by what they do, not just their name. Tokens shorter than 2 chars are dropped.
set_base_directorytool **When to call:** when status() returns NOT_INITIALIZED, or when switching projects in one session. Override the base directory for analysis. Initializes the fi
**When to call:** when status() returns NOT_INITIALIZED, or when switching projects in one session. Override the base directory for analysis. Initializes the file watcher, database, and broker connection for the specified path. Call this first if --base-dir was not passed at startup. Subsequent calls re-initialize to a new directory.
set_file_importancetool **When to call:** rarely; use only when the auto-calculated importance is clearly wrong for a specific entry-point file. Manually set the importance ranking (0-Files
**When to call:** rarely; use only when the auto-calculated importance is clearly wrong for a specific entry-point file. Manually set the importance ranking (0-10) for a file. Overrides the auto-calculated importance. Falls back to basename matching if the exact path is not found. Idempotent: repeated calls with the same value are safe.
set_file_summarytool **When to call:** when an auto-generated summary is wrong and you want to override it; not part of routine workflow. Manually set or override the LLM-generated Files
**When to call:** when an auto-generated summary is wrong and you want to override it; not part of routine workflow. Manually set or override the LLM-generated summary for a file. Use when the auto-generated summary is inaccurate or you want to annotate a file with custom context. Idempotent: repeated calls with the same summary are safe. Returns NOT_FOUND if the file is not tracked.
statustool **When to call:** at session start, or any time a tool returns NOT_INITIALIZED to diagnose. Get system health: broker connection state, LLM processing queue depFilesoutside textread-only (declared)
**When to call:** at session start, or any time a tool returns NOT_INITIALIZED to diagnose. Get system health: broker connection state, LLM processing queue depth and progress, file watching status, and project info (root path, file count, last update time). Call this to verify initialization state and diagnose issues.

Text the model reads (17)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

set_base_directory tool
**When to call:** when status() returns NOT_INITIALIZED, or when switching projects in one session. Override the base directory for analysis. Initializes the file watcher, database, and broker connection for the specified path. Call this first if --base-dir was not passed at startup. Subsequent calls re-initialize to a new directory.
list_files tool
**When to call:** only when you need the full file tree. Prefer find_important_files for top-N navigation — it's cheaper and more relevant. List all tracked files with importance rankings. Without maxItems: returns a nested directory tree structure. With maxItems: returns a flat list of the N most important files sorted by importance descending, with truncation metadata. Call status first to verify initialization.
find_important_files tool
**When to call:** when orienting to a new codebase, or when the user asks 'what's important in this project'. Find the highest-importance files in the project. Returns files sorted by importance descending with dependency counts and staleness flags. Use this over list_files when you need the top N files by importance with relationship metadata. Precondition: server must be initialized.
get_file_summary tool
**When to call:** before editing any file in this project that you have not previously summarized in this session. Source tells you what the file is; this tells you who uses it and what would break — you need both. Skip only if the file is brand-new and not yet in .filescope/data.db. Get full intelligence for a single file: LLM-generated summary, importance score (0-10), dependency list with edge types (imports/inherits/re_exports) and confidence scores, dependents with the imported names + line numbers each dependent uses (use importLines to jump directly to the import statement), exported top-level symbols (exports[] with name/kind/startLine/endLine — Phase 34), package dependencies, concepts, change impact analysis, and staleness flags. Use this before editing a file to understand its role and relationships. Returns NOT_FOUND if the file is not in the scan database.
find_symbol tool
find_callers tool
find_callees tool
list_changed_since tool
set_file_summary tool
**When to call:** when an auto-generated summary is wrong and you want to override it; not part of routine workflow. Manually set or override the LLM-generated summary for a file. Use when the auto-generated summary is inaccurate or you want to annotate a file with custom context. Idempotent: repeated calls with the same summary are safe. Returns NOT_FOUND if the file is not tracked.
set_file_importance tool
**When to call:** rarely; use only when the auto-calculated importance is clearly wrong for a specific entry-point file. Manually set the importance ranking (0-10) for a file. Overrides the auto-calculated importance. Falls back to basename matching if the exact path is not found. Idempotent: repeated calls with the same value are safe.
scan_all tool
**When to call:** after first project setup, after major codebase changes, or when status() reports stale summaries. Use remaining_only=true for incremental refresh. Queue files for LLM summarization via the broker. Uses min_importance to filter low-value files (default 1, skips zero-importance). Set remaining_only=true to skip already-summarized files. Requires an active broker connection (llm.enabled=true in config). Returns BROKER_DISCONNECTED if the broker is unreachable.
search tool
**When to call:** when the user asks 'where is X handled' with a concept noun (auth, config, caching, error handling, etc.). Searches LLM-generated summaries, not just text — understands intent, not strings. Prefer find_symbol when looking for a specific named entity. Search file metadata across symbols (function/class/interface names), purpose descriptions, LLM summaries, and file paths. Multi-word queries are tokenized: each word is matched independently and per-row scores are summed, so 'file watcher debounce' correctly surfaces a file whose summary mentions debounce and whose path contains 'file-watcher' even if no field contains the literal phrase. Quote a phrase to require it as a unit: '"change impact"'. Per-token column ranks: symbol=100, purpose/affectedAreas=50, summary=20, path=10. Use this to find files by what they do, not just their name. Tokens shorter than 2 chars are dropped.
status tool
**When to call:** at session start, or any time a tool returns NOT_INITIALIZED to diagnose. Get system health: broker connection state, LLM processing queue depth and progress, file watching status, and project info (root path, file count, last update time). Call this to verify initialization state and diagnose issues.
exclude_and_remove tool
**When to call:** only for generated files, build artifacts, or false positives. Destructive — confirm with the user before invoking. Permanently exclude a file or glob pattern from tracking and remove it from the database. DESTRUCTIVE: this deletes metadata and cannot be undone without a re-scan. Persists the pattern to .filescope/config.json (excludePatterns) so it survives restarts. Use for generated files, build artifacts, or false positives.
detect_cycles tool
**When to call:** when the user asks about circular dependencies, tightly-coupled modules, or import cycles, before any large refactor. Detect all circular dependency groups in the project's local import graph. Returns an array of cycle groups (each group is an array of file paths forming a cycle), total cycle count, and total files involved. Use to identify tightly-coupled modules that may need refactoring.
get_cycles_for_file tool
**When to call:** when investigating a single file's involvement in cycles — typically as a follow-up to detect_cycles(). Get all dependency cycle groups that include a specific file. Returns only the cycles containing the specified file path, useful for understanding a single file's circular dependency involvement. Returns NOT_FOUND if the file is not tracked.
get_communities tool
**When to call:** when the user asks about module structure, file groupings, or which files change together. Get file communities detected by Louvain clustering on the local import graph. Returns groups of tightly-coupled files identified by their highest-importance representative. Optionally filter to the community containing a specific file. Communities are lazily recomputed only when the dependency graph changes.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure7.6
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    11 of 17 capabilities touch files; 6 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
Where the code is: 17 handlers in 1 file at commit fd179e0a93ee
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    2 manifests: package.json, tests/fixtures/medium-repo/package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    @modelcontextprotocol/sdk ^1.12.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (4 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/sdk ^1.12.0
Servers in the code1 (test-server)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-05-10
Signed releasesnot checked yet

Where it is published

Listed in8 catalogs (awesome_habitoai, awesome_punkpeye, awesome_tensorblock, awesome_wong2, github_search, glama, mcp_toplist, mcpservers_org)
LicenseNOASSERTION
Created2025-03-27

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.