MCP server · Audited from source
Context Generator MCP server
by context-hub/generatorMIT licenceAudited 3 Oct 2026 · source 437aff4d650b
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.
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
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
\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
\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
<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
<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
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
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
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
LOWFilesystem / pathfs.traversal · app.php:38
__DIR__ . '/../../autoload.php',
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.base64_blob · README.md:10
<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
<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
> 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
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
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
# Load .env file (default)
- Why
- asks the agent to read credentials
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · README.md:136
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
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.
| Tool | What it does | Risk |
|---|---|---|
file-delete-content | Delete specific line(s) from a file. Supports individual lines or ranges. | destructive |
file-insert-content | Insert content at specific line number(s) in a file. Supports single or batch insertions with automatic line offset calculation. | write |
file-write | Write content to a file (mostly new files, use apply-path for updates if possible). Can create parent directories automatically. | write |
git-add | Add files to the staging area for the next commit. Stages changes in the working directory to be included in the next commit | write |
git-commit | Create 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 automatically | write |
repository | GitHub repository to update from | write |
self-update | Update app to the latest version | write |
server | Start MCP server | write |
sse | Enable SSE (Server-Sent Events) support | write |
collection | Collection name to operate on (operates on all if not specified) | read |
context | List all contexts in the project context config | read |
context-get | Get a specific context document from the project context config | read |
context-request | Request a context document using JSON schema, filters and modifiers | read |
directory-list | List directories and files with filtering options using Symfony Finder. Always ask for source path. | read |
file-read | Read content from one or more files within the project directory structure | read |
file-replace-content | Replace a unique occurrence of text in a file with exact matching. | read |
file-search | Search 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-ops | Guidance for using filesystem operations like reading, writing, moving, renaming, and updating files. | read |
find-docs | Find documentation for a specific library | read |
generate | Generate context files from configuration | read |
git-status | Show 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 untracked | read |
host | SSE host to bind to (default: 127.0.0.1) | read |
id | The ID of the prompt to display | read |
json | Output as JSON | read |
keep-aliases | Keep aliases when removing project (by default aliases are removed) | read |
library-search | Search for available documentation libraries in Context7 | read |
name | Alias name for the project | read |
output-json | Output result as JSON for machine parsing | read |
path | Path to the project directory. Use | read |
php-structure | Analyze 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 |
port | SSE port to bind to (default: 8080) | read |
project | Manage projects and change the working directory | read |
project-structure | Tries to guess the project structure | read |
project-switch | Switch to a different project by path or alias | read |
projects-list | List all registered projects with their paths, aliases, and configuration details. Also shows whitelisted projects available for the | read |
prompt-get | Use 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-list | Use 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-manage | Manage the project knowledge base. View statistics and configuration. | read |
rag-search | Search the project knowledge base using natural language. Returns relevant documentation, code explanations, and insights. | read |
rag-store | Store documentation, code explanations, or insights in the project knowledge base for later retrieval. | read |
schema | Get information about or download the JSON schema for IDE integration | read |
stdin | Read JSON arguments from stdin | read |
version | Display the current version and check for updates | read |
Safer alternatives
pnp/cli-microsoft365-mcp-server
Manage Microsoft 365 using MCP server
dodopayments/context-mcp
Self-hosted MCP server for your documentation
hyperb1iss/droidmind
Control your Android devices with AI using Model Context Protocol
Audit history
- ✕BLOCK D 67 / 100
First audit ·
437aff4d650b
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Context Generator expose?
Is Context Generator safe to connect to an agent?
What credentials does Context Generator need?
How current is this page?
I already installed Context Generator. What should I do?
Can the verdict change?
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.
- What is the Context Generator MCP server?
- What tools does Context Generator expose?
- Is Context Generator safe to connect to an agent?