Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

File Context MCP server

by bsmi021/mcp-file-context-serverMIT licenceAudited 8 Oct 2026 · source adca4f899abb

npm file-context-server 1.0.0stdiostreamable-http★ 39
✓SAFEGrade B · 86/100 · 8 Oct 2026 · adca4f8
39GitHub stars

Is it safe? Yes — SAFE, grade B (86/100). It exposes 8 tools: 7 read, 1 write and 0 destructive. The audit recorded 13 findings (0 critical, 0 high, 1 medium, 11 low). Maintainer's description: A Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs). This server enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “File Context MCP server (bsmi021/mcp-file-context-server)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/bsmi021/file-context

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score86/100✓SAFE B
0 critical0 high1 medium11 low1 info

13 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared1 observation
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 4 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 8 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner bsmi021User accountAccount type recorded when we read the repository.
  • PackagePublished on npmfile-context-server at version 1.0.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push15 months agoActivity of the repository when we read it.
  • Source commit readadca4f899abbThe audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory8 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (13)

Sorted by severity

MEDIUMNetwork egressnet.raw_ip · src/index.ts:1787
F-04 Network egressCWE-200 · CWE-319Layer L1
console.log(`[HTTP] MCP server listening on http://0.0.0.0:${port}/mcp`);
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/index.ts:838
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const hash = createHash('md5').update(content).digest('hex');
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/index.ts:886
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const hash = createHash('md5').update(content).digest('hex');
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @typescript-eslint/parser, @typescript-eslint/types, chokidar, express, glob, handlebars, lru-cache
Why
17 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · PRPs/EXAMPLE_multi_agent_prp.md:165
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Load environment variables with defaults
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/llms-full.txt:4450
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
load_dotenv()  # load environment variables from .env
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/llms-full.txt:5828
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
This creates the beginnings of a .NET console application that can read the API key from user secrets.
Why
asks the agent to read credentials
Fix
—
LOWSupply chainprompt.pipe_to_shell · docs/llms-full.txt:6048
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -LsSf https://astral.sh/uv/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.transfer_instruction · docs/llms-full.txt:8491
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
MCP clients **MUST NOT** send tokens to the MCP server other than ones issued by the MCP server's authorization server.
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/llms-full.txt:9445
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Client->>+Server: POST InitializedNotification<br>Mcp-Session-Id: 1868a90c...
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/llms-full.txt:9449
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Client->>+Server: POST ... request ...<br>Mcp-Session-Id: 1868a90c...
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/llms-full.txt:9462
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Client->>+Server: POST ... notification/response ...<br>Mcp-Session-Id: 1868a90c...
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · cache/4b648882430d8aad657e9165c33c42a605e7b408d335749f5f401b1eacb7e484.cache
F-13 Inventory / provenanceCWE-1104Layer L0
cache/4b648882430d8aad657e9165c33c42a605e7b408d335749f5f401b1eacb7e484.cache
Why
1950422 bytes not read
Fix
—

Tools it exposes

8 declared in source · 0 destructive

7 read1 write0 destructive
ToolRiskWhat it does
set_profilewriteSet the active profile for context generation
generate_outlinereadGenerate a code outline for a file, showing its structure (classes, functions, imports, etc). Supports TypeScript/JavaScript and Python files.
getFilesreadRetrieve multiple files by their paths, returning content and metadata for each file
get_chunk_countreadGet the total number of chunks that will be returned for a read_context request.\nUse this tool FIRST before reading content to determine how many chunks you need to request.\nThe parameters should match what you\
get_profile_contextreadGet repository context based on current profile settings
lc-get-filesreadRetrieve specific file contents
lc-list-modified-filesreadTrack file changes since context generation
search_contextreadSearch for patterns in files

Install

Package version 1.0.0 · audited commit adca4f8

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit adca4f8 only.

claude mcp add file-context-server -- npx -y [email protected]

The command pins the package version recorded in the source (1.0.0); the audit covers commit adca4f899abb. Transport: stdio · streamable-http. No environment variables required.

Audit history

  1. ✓SAFE B 86 / 100

    First audit · adca4f899abb

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/bsmi021/file-context/badge.svg)](https://modelsatlas.com/mcp/bsmi021/file-context/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about File Context MCP server

What is the File Context MCP server?
A Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs). This server enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.
What tools does File Context expose?
8 in total: 7 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is File Context safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (86/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does File Context need?
No credential environment variables were found in its source, so it appears to need none.
How does File Context run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as file-context-server at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (adca4f899abb), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • bsmi021/mcp-file-context-server on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit adca4f899abbObserved · 8 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.