generator
by context-hub·★ 321·Score 50
CTX is an MCP server providing AI access to read, write, and analyze code across projects with custom tools.
Overview
CTX is a compact PHP-based MCP server that enables AI assistants to directly interact with your codebase. It provides powerful file system tools allowing AI to read, write, search, and modify files across multiple projects. The tool supports custom commands that can be executed by AI, enabling seamless integration with development workflows like testing and deployment. CTX can generate structured context documents from code, git diffs, and other sources to provide comprehensive context to AI models.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Choose CTX when working with PHP projects or when you need AI assistants with direct filesystem access and the ability to execute custom commands across multiple projects.
When NOT to choose this
Don't choose CTX if you need AI to work with languages other than PHP, or if you require a more comprehensive IDE integration beyond MCP connections.
Tools this server exposes
12 tools extracted from the READMEread_fileRead the contents of a file in the project
write_fileCreate or modify a file in the project
search_filesSearch across the codebase with text or regex patterns
run_testsRun project tests with coverage
deployDeploy to staging environment
analyze_php_structureAnalyze PHP code structure including class hierarchy and dependencies
explore_directoryExplore directory contents with smart filtering options
list_projectsList all registered projects in the workspace
generate_contextGenerate structured context documents from various sources
create_github_issueCreate a new issue on GitHub
review_prReview a pull request with context from the codebase
onboard_teamGenerate comprehensive project overview for new team members
Note: Tool names were inferred from the documentation sections about MCP functionality, custom tools, and use cases. The README doesn't provide explicit tool documentation with signatures.
Comparable tools
Installation
Install CTX:
**Linux / WSL:**
curl -sSL https://raw.githubusercontent.com/context-hub/generator/main/download-latest.sh | sh**Windows:**
powershell -c "& ([ScriptBlock]::Create((irm 'https://raw.githubusercontent.com/context-hub/generator/main/download-latest.ps1'))) -AddToPath"Connect to Claude Desktop:
ctx mcp:configOr add manually to your MCP client config:
{
"mcpServers": {
"ctx": {
"command": "ctx",
"args": [
"server"
]
}
}
}Compare generator with
Last updated · Auto-generated from public README + GitHub signals.