C
context-hub/generator
Collect project context so a model sees the right files
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# CTX: Your AI Coding Companion
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> MCP-powered development toolkit that gives AI full access to your codebase
## What is CTX?
CTX is a single ~20 MB binary with zero dependencies. No Node.js, no Python, no runtime — just download, connect
to your MCP client, and start coding with AI.
Connect it to Claude Desktop, Cursor,
Cline, or any MCP-compatible client — and your AI gets direct access to read, write,
search, and modify files across your projects.
CTX is designed with Claude Desktop in mind and works best with it. Claude's deep understanding of code combined
with CTX's filesystem tools, custom commands, and multi-project support creates a seamless development experience —
like having a senior developer who knows your entire codebase sitting right next to you.
## Table of Contents
Key Features
Quick Start
How It Works
Use Cases
Full Documentation
License
## Key Features
### 🛠 MCP Server — AI Develops Directly in Your Project
CTX provides a built-in MCP server with powerful filesystem tools:
Read & write files — AI creates, modifies, and analyzes code directly
Search across codebase — text and regex search with context lines
PHP structure analysis — class hierarchy, interfaces, and dependencies at a glance
Directory exploration — smart filtering by patterns, dates, sizes, and content
### ⚡ Custom Tools — Turn Any Command into an AI Tool
Define project-specific commands that AI can execute through MCP:
yaml
tools:
id: run-tests
description: "Run project tests with coverage"
type: run
commands:
cmd: vendor/bin/phpunit
args: [ "--coverage-html", "logs/coverage" ]
id: deploy
description: "Deploy to staging"
type: run
schema:
type: object
properties:
branch:
type: string
default: "main"
commands:
cmd: ./deploy.sh
args: [ "{{branch}}" ]
Tests, migrations, linters, deployments — anything your terminal can run, AI can trigger.
### 📁 Multi-Project Development
Work across multiple microservices simultaneously. AI sees all your projects and can develop cross-cutting features:
yaml
projects:
name: backend-api
path: ../backend
description: "REST API service"
name: auth-service
path: ../auth
description: "Authentication microservice"
name: shared-lib
path: ../packages/shared
description: "Shared domain models"
Start a session, ask AI to list available projects, and develop features that span multiple services — all in one
conversation.
### 🎯 Smart Context Generation
Define exactly what context your AI needs. CTX collects code from files, git diffs, GitHub repos, URLs, and more — then
structures it into clean markdown documents:
yaml
documents:
description: User Authentication System
outputPath: auth.md
sources:
type: file
sourcePaths: [ src/Auth ]
filePattern: ".php"
type: gitdiff
commit: "last-week"
### 📐 Declarative Config with JSON Schema
Everything is configured through context.yaml with full JSON Schema support. Your AI assistant can generate and modify
these configs for you — just describe what you need.
bash
ctx init # Generate initial config
ctx generate # Build context documents
ctx server # Start MCP server
## Quick Start
### Install
Linux / WSL:
bash
curl -sSL https://raw.githubusercontent.com/context-hub/generator/main/download-latest.sh | sh
Windows:
bash
powershell -c "& ([ScriptBlock]::Create((irm 'https://raw.githubusercontent.com/context-hub/generator/main/download-latest.ps1'))) -AddToPath"
## What is CTX?
CTX is a single ~20 MB binary with zero dependencies. No Node.js, no Python, no runtime — just download, connect
to your MCP client, and start coding with AI.
Connect it to Claude Desktop, Cursor,
Cline, or any MCP-compatible client — and your AI gets direct access to read, write,
search, and modify files across your projects.
CTX is designed with Claude Desktop in mind and works best with it. Claude's deep understanding of code combined
with CTX's filesystem tools, custom commands, and multi-project support creates a seamless development experience —
like having a senior developer who knows your entire codebase sitting right next to you.
## Table of Contents
Key Features
Quick Start
How It Works
Use Cases
Full Documentation
License
## Key Features
### 🛠 MCP Server — AI Develops Directly in Your Project
CTX provides a built-in MCP server with powerful filesystem tools:
Read & write files — AI creates, modifies, and analyzes code directly
Search across codebase — text and regex search with context lines
PHP structure analysis — class hierarchy, interfaces, and dependencies at a glance
Directory exploration — smart filtering by patterns, dates, sizes, and content
### ⚡ Custom Tools — Turn Any Command into an AI Tool
Define project-specific commands that AI can execute through MCP:
yaml
tools:
id: run-tests
description: "Run project tests with coverage"
type: run
commands:
cmd: vendor/bin/phpunit
args: [ "--coverage-html", "logs/coverage" ]
id: deploy
description: "Deploy to staging"
type: run
schema:
type: object
properties:
branch:
type: string
default: "main"
commands:
cmd: ./deploy.sh
args: [ "{{branch}}" ]
Tests, migrations, linters, deployments — anything your terminal can run, AI can trigger.
### 📁 Multi-Project Development
Work across multiple microservices simultaneously. AI sees all your projects and can develop cross-cutting features:
yaml
projects:
name: backend-api
path: ../backend
description: "REST API service"
name: auth-service
path: ../auth
description: "Authentication microservice"
name: shared-lib
path: ../packages/shared
description: "Shared domain models"
Start a session, ask AI to list available projects, and develop features that span multiple services — all in one
conversation.
### 🎯 Smart Context Generation
Define exactly what context your AI needs. CTX collects code from files, git diffs, GitHub repos, URLs, and more — then
structures it into clean markdown documents:
yaml
documents:
description: User Authentication System
outputPath: auth.md
sources:
type: file
sourcePaths: [ src/Auth ]
filePattern: ".php"
type: gitdiff
commit: "last-week"
### 📐 Declarative Config with JSON Schema
Everything is configured through context.yaml with full JSON Schema support. Your AI assistant can generate and modify
these configs for you — just describe what you need.
bash
ctx init # Generate initial config
ctx generate # Build context documents
ctx server # Start MCP server
## Quick Start
### Install
Linux / WSL:
bash
curl -sSL https://raw.githubusercontent.com/context-hub/generator/main/download-latest.sh | sh
Windows:
bash
powershell -c "& ([ScriptBlock]::Create((irm 'https://raw.githubusercontent.com/context-hub/generator/main/download-latest.ps1'))) -AddToPath"
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/context-hub-generator/)
- Source
- awesome · https://github.com/context-hub/generator
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.