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

MCP server · Audited from source

Context Generator MCP server

by context-hub/generatorMIT licenceAudited 3 Oct 2026 · source 437aff4d650b

★ 345
✕BLOCKGrade D · 67/100 · 3 Oct 2026 · 437aff4

Is it safe? No — BLOCK, grade D (67/100). It exposes 43 tools: 34 read, 8 write and 1 destructive. The audit recorded 16 findings (0 critical, 2 high, 5 medium, 9 low). Maintainer's description: CTX: a tool that solves the context management gap when working with LLMs like ChatGPT or Claude. It helps developers organize and automatically collect information from their codebase into structured documents that can be easily shared with AI assistants.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Context Generator MCP server (context-hub/generator)”. Retrieved 3 Oct 2026. https://modelsatlas.com/mcp/context-hub/context-generator

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at src/Lib/BinaryUpdater/Strategy/UnixUpdateStrategy.php:54. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 3 Oct 2026

Trust score67/100✕BLOCK D
0 critical2 high5 medium9 low0 info

16 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

  • FilesystemDeclared2 observations
  • NetworkDeclared12 observations
  • ShellDeclared2 observations
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Findings (16)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/Lib/BinaryUpdater/Strategy/UnixUpdateStrategy.php:54
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
\exec($command, $output, $resultCode);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/Lib/BinaryUpdater/Strategy/WindowsUpdateStrategy.php:47
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
\exec($command, $output, $resultCode);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMNetwork egressnet.raw_ip · phpunit.xml:22
F-04 Network egressCWE-200 · CWE-319Layer L1
<env name="OAUTH_ISSUER_URL" value="http://127.0.0.1:8090"/>
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · phpunit.xml:23
F-04 Network egressCWE-200 · CWE-319Layer L1
<env name="OAUTH_SERVER_URL" value="http://127.0.0.1:8090"/>
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/McpServer/HttpTransportBootloader.php:105
F-04 Network egressCWE-200 · CWE-319Layer L1
issuerUrl: $env->get('OAUTH_ISSUER_URL', 'http://127.0.0.1:8090'),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/McpServer/HttpTransportBootloader.php:106
F-04 Network egressCWE-200 · CWE-319Layer L1
baseUrl: $env->get('OAUTH_SERVER_URL', 'http://127.0.0.1:8090'),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
file-delete-content
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .php-cs-fixer.dist.php
F-13 Inventory / provenanceCWE-1104Layer L0
.php-cs-fixer.dist.php
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · app.php:38
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
__DIR__ . '/../../autoload.php',
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.base64_blob · README.md:10
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
<a href="https://t.me/spiralphp/2504"><img alt="Telegram" src="https://img.shields.io/badge/telegram-blue.svg?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmc
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.base64_blob · README.md:12
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
<a href="https://zread.ai/context-hub/generator" target="_blank"><img src="https://img.shields.io/badge/Ask_Zread-_.svg?style=for-the-badge&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · README.md:3
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
> MCP-powered development toolkit that gives AI full access to your codebase
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · README.md:185
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
That's it. Your AI assistant now has full access to your project through MCP.
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.credential_read · docs/config/variables-guide.md:99
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
All CTX commands support the `--env` (`-e`) option to load a specific `.env` file:
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/config/variables-guide.md:102
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Load .env file (default)
Why
asks the agent to read credentials
Fix
—
LOWSupply chainprompt.pipe_to_shell · README.md:136
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/context-hub/generator/main/download-latest.sh | sh
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

43 declared in source · 1 destructive

34 read8 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
file-delete-contentDelete specific line(s) from a file. Supports individual lines or ranges.destructive
file-insert-contentInsert content at specific line number(s) in a file. Supports single or batch insertions with automatic line offset calculation.write
file-writeWrite content to a file (mostly new files, use apply-path for updates if possible). Can create parent directories automatically.write
git-addAdd files to the staging area for the next commit. Stages changes in the working directory to be included in the next commitwrite
git-commitCreate a new commit with staged changes. Records changes to the repository with a commit message. Use git-add tool first to stage files, or use stageAll option to stage all tracked files automaticallywrite
repositoryGitHub repository to update fromwrite
self-updateUpdate app to the latest versionwrite
serverStart MCP serverwrite
sseEnable SSE (Server-Sent Events) supportwrite
collectionCollection name to operate on (operates on all if not specified)read
contextList all contexts in the project context configread
context-getGet a specific context document from the project context configread
context-requestRequest a context document using JSON schema, filters and modifiersread
directory-listList directories and files with filtering options using Symfony Finder. Always ask for source path.read
file-readRead content from one or more files within the project directory structureread
file-replace-contentReplace a unique occurrence of text in a file with exact matching.read
file-searchSearch for text or regex patterns in files. Returns matches with surrounding context lines and line numbers. Useful for finding code patterns, function definitions, or specific content across the codebase.read
filesystem-opsGuidance for using filesystem operations like reading, writing, moving, renaming, and updating files.read
find-docsFind documentation for a specific libraryread
generateGenerate context files from configurationread
git-statusShow the working tree status - displays paths that have differences between the index and the working tree, between the index and HEAD, and paths that are untrackedread
hostSSE host to bind to (default: 127.0.0.1)read
idThe ID of the prompt to displayread
jsonOutput as JSONread
keep-aliasesKeep aliases when removing project (by default aliases are removed)read
library-searchSearch for available documentation libraries in Context7read
nameAlias name for the projectread
output-jsonOutput result as JSON for machine parsingread
pathPath to the project directory. Useread
php-structureAnalyze PHP file structure and relationships. Returns class/interface/trait signatures with links to related files (extends, implements, use statements, type hints). Use depth parameter to follow relationships recursively.read
portSSE port to bind to (default: 8080)read
projectManage projects and change the working directoryread
project-structureTries to guess the project structureread
project-switchSwitch to a different project by path or aliasread
projects-listList all registered projects with their paths, aliases, and configuration details. Also shows whitelisted projects available for theread
prompt-getUse this tool when you already know the specific prompt ID and need to retrieve its full content. First use prompts-list tool to discover available prompts, then use this tool to get the detailed content of a specific prompt you need. Requires the prompt ID as a parameter.read
prompts-listUse this tool to get a complete list of available prompts and their descriptions. This is useful when you need to discover what prompts exist and determine which might be helpful for your current task.read
rag-manageManage the project knowledge base. View statistics and configuration.read
rag-searchSearch the project knowledge base using natural language. Returns relevant documentation, code explanations, and insights.read
rag-storeStore documentation, code explanations, or insights in the project knowledge base for later retrieval.read
schemaGet information about or download the JSON schema for IDE integrationread
stdinRead JSON arguments from stdinread
versionDisplay the current version and check for updatesread

Safer alternatives

Audit history

  1. ✕BLOCK D 67 / 100

    First audit · 437aff4d650b

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Context Generator MCP server

What is the Context Generator MCP server?
CTX: a tool that solves the context management gap when working with LLMs like ChatGPT or Claude. It helps developers organize and automatically collect information from their codebase into structured documents that can be easily shared with AI assistants.
What tools does Context Generator expose?
43 in total: 34 read-only, 8 that write, and 1 that can delete or overwrite (file-delete-content). Every one is listed on this page with its risk.
Is Context Generator safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (67/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is 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 Context Generator need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (437aff4d650b), read on 2026-10-03. The repository is watched and re-audited when it changes.
I already installed Context Generator. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • context-hub/generator on GitHub — the source we read, its licence, stars and activityObserved · 3 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 437aff4d650bObserved · 3 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.