ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside.
Basic information
About ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside.
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.
ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside. is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by context-hub. It exposes 1 tool, including Onboarding. Supported transport: stdio. Runtime: php. License: MIT. The repository has 328 GitHub stars. Source code is hosted on github.com. Related topics: context, context-aware-ai, context-engineering, context-extractor, hacktoberfest.
Setup
{
"mcpServers": {
"ctx": {
"command": "ctx",
"args": [
"server",
"-c",
"/path/to/project"
]
}
}
}
{
"mcpServers": {
"ctx": {
"command": "ctx",
"args": [
"server",
"-c",
"/path/to/project"
]
}
}
}
{
"servers": {
"ctx": {
"command": "ctx",
"args": [
"server",
"-c",
"/path/to/project"
]
}
}
}
ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside. config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ctx": {
"command": "ctx",
"args": [
"server",
"-c",
"/path/to/project"
]
}
}
}
ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside. tools
- Onboarding — produce a comprehensive project overview for new team members
Overview
What is ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside.?
CTX is a single ~20 MB binary with zero dependencies that provides a built-in MCP (Model Context Protocol) server for AI development. It integrates with MCP-compatible clients like Claude Desktop, Cursor, and Cline, giving AI direct access to read, write, search, and modify files across your projects. It is designed for developers who want an AI coding companion with full codebase awareness.
How to use ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside.?
Install via curl (Linux/WSL) or PowerShell (Windows), then connect to any MCP client using ctx mcp:config for auto-configuration or manually add the ctx server command to your client’s config. For context generation workflows, run ctx init to create a YAML config and ctx generate to build markdown context documents.
Key features of ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside.
- MCP server with powerful filesystem tools (read, write, search, modify)
- Custom tools – turn any terminal command into an AI-triggerable tool
- Multi-project development across microservices
- Smart context generation from files, git diffs, URLs, and more
- Declarative YAML config with JSON Schema support
- Zero dependencies – single ~20 MB binary, no Node.js or Python required
Use cases of ctx: The missing link between your codebase and your LLM. Context as Code (CaC) tool with MCP server inside.
- AI-powered development – AI explores, writes, and modifies code in real time
- Multi-service feature development – AI implements changes across multiple microservices
- Context for code review – generate markdown documents with recent diffs and architecture overviews
- Onboarding – produce a comprehensive project overview for new team members
- Documentation generation – extract API surfaces and let AI generate documentation
Frequently asked questions
1 What dependencies does CTX require?
CTX is a single ~20 MB binary with zero dependencies. No Node.js, Python, or any runtime is needed.
2 Which MCP clients are supported?
CTX works with any MCP-compatible client, including Claude Desktop, Cursor, and Cline. It is designed with Claude Desktop in mind and works best with it.
3 How do I install CTX?
On Linux/WSL run the curl command from the README; on Windows run the PowerShell command. Both auto-download and add the binary to your path.
4 What transport does CTX use?
CTX uses the standard MCP server transport (stdio) by default. No authentication or network configuration is required.
5 Where does my data live when using CTX?
All data stays local on your filesystem. CTX directly reads and writes files in your project directories; nothing is sent to an external server.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In