Atlas / MCP servers / admica / FileScope

FileScopeCAUTION

mcp/admica/filescope

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.

Verdict
CAUTION
Grade
C
Trust score
79 /100
Exposed tools
17 13r · 3w · 1d
Transport
—
License
NOASSERTION
Stars
302
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Your AI already knows how to code. Now it knows your codebase.

[](https://github.com/admica/FileScopeMCP/actions) [](https://nodejs.org/) [](LICENSE) [](https://archestra.ai/mcp-catalog/admica__filescopemcp)

FileScopeMCP watches your code, ranks every file by importance, maps all dependencies, and keeps AI-generated summaries fresh in the background. When your LLM asks "what does this file do?" — it gets a real answer without reading the source.

Works with Claude Code, Hermes Agent, Codex, OpenClaw, Cursor AI, or as a standalone daemon. Supports TypeScript, JavaScript, Python, C, C++, Rust, Go, Ruby, Lua, Zig, PHP, C#, and Java.

Key Features

Importance ranking — every file scored 0-10 based on how many things depend on it, what it exports, and where it lives. Your LLM sees the critical files first.

Dependency mapping — bidirectional import tracking across all supported languages. AST-level extraction (tree-sitter) for TS/JS, Python, C, C++, and Rust; regex-based for Go, Ruby, Lua, Zig, PHP, C#, and Java. Finds circular dependencies too.

Symbol intelligence — extracts functions, classes, interfaces, types, enums, consts, modules, and structs via tree-sitter for TypeScript, JavaScript, Python, Go, and Ruby. find_symbol resolves names to file + line range. find_callers and find_callees map the call graph for TS/JS so your AI can answer "who calls this function?" before refactoring.

Always fresh — file watcher + semantic change detection means metadata updates automatically. AST-level diffing for TS/JS, LLM-powered analysis for everything else. Only re-processes what actually changed

Read from source at commit 6aca16a842abOBSERVED · 2026-10-05
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add medium-repo-fixture --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "medium-repo-fixture": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}"
      }
    }
  }
}
03

Exposed tools (17)

13 read · 3 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
detect_cyclesread
exclude_and_removedestructive
find_calleesread
find_callersread
find_important_filesread
find_symbolread
get_communitiesread
get_cycles_for_fileread
get_file_summaryread
list_changed_sinceread
list_filesread
scan_allread
searchread
set_base_directorywrite
set_file_importancewrite
set_file_summarywrite
statusread
04

Trust audit

CAUTIONgrade C · trust 79/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (10 observation(s))
Network
declared (10 observation(s))
Shell
declared (5 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (11)

HIGHPrompt injection · prompt.override · CWE-94, CWE-1427
.planning/milestones/v1.5-phases/29-broker-lifecycle-hardening/29-REVIEW.md:28
Reviewed the four broker lifecycle files: client, config, main, and server. The code is well-structured with clear separation of concerns, proper error handling patterns, and good defensive programmin
Why it matters. asks the agent to drop prior instructions or safety
Fix. remove the instruction
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
exclude_and_remove
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/db/db.ts:22
'../../drizzle'
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/nexus/ui/vite.config.ts:9
outDir: '../../../dist/nexus/static',
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/broker-lifecycle.test.ts:18
import { SOCK_PATH, PID_PATH } from '../../src/broker/config.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/file-pipeline.test.ts:10
import { openDatabase, closeDatabase, getSqlite } from '../../src/db/db.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/file-pipeline.test.ts:26
} from '../../src/db/repository.js';
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@ai-sdk/anthropic, @ai-sdk/openai-compatible, @fastify/static, @modelcontextprotocol/sdk, ai, better-sqlite3, chokidar, cytoscape
Why it matters. 39 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
.planning/milestones/v1.5-phases/31-test-infrastructure/31-02-PLAN.md:404
| T-31-06 | E (Elevation of Privilege) | tests spawn child processes | accept | Tests run as same user; no elevated privileges required; broker binary is project-owned code |
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
.planning/milestones/v1.5-phases/31-test-infrastructure/31-SECURITY.md:38
| T-31-06 | E (Elevation of Privilege) | tests spawn child processes | accept | Tests run as same user; no elevated privileges; broker binary is project-owned code built from repo | closed |
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
.planning/milestones/v1.5-phases/32-zero-config-auto-registration/32-02-PLAN.md:380
| user shell → `scripts/register-mcp.mjs` | Script runs in the user's shell with the user's permissions; no elevated privileges. |

Gates applied: instruction_override, no_behavioural_pass.

Audited 2026-10-05 · audit v0.4.1 · source sha 6aca16a842abfull audit observations/trust-audit/mcp-server/admica__filescope.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-056aca16a842abCAUTIONC79first audit
06

Questions

What is the FileScope MCP server?

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.

What tools does FileScope expose?

17 in total: 13 read-only, 3 that write, and 1 that can delete or overwrite (exclude_and_remove). Every one is listed on this page with its risk.

Is FileScope safe to connect to an agent?

With care. The audit graded it C (79/100) and found 11 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does FileScope need?

It reads ANTHROPIC_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (6aca16a842ab), read on 2026-10-05. The repository is watched and re-audited when it changes.

Advertisement