# CTX MCP server

> Gives AI clients filesystem access to read, write, search, and modify project files, plus run custom commands and generate context documents.

- Repository: https://github.com/context-hub/generator
- Page: https://hostedmcp.org/servers/context-hub/generator
- Transport: —
- Stars: 343
- License: MIT

## Tools (1)

- `cmd`

## FAQ

### How do I connect CTX to Claude Desktop?

Run 'ctx mcp:config' to auto-configure your MCP client, or add the ctx server command to your MCP client config manually.

### What can the AI do with my files through CTX?

It can read and write files, search the codebase with text and regex, analyze PHP structure, and explore directories with filters.

### Can CTX work with multiple projects at once?

Yes, you can register multiple projects in the config so the AI can develop cross-cutting features across services in one conversation.

### Can the AI run my project commands like tests or deployments?

Yes, you define custom tools in YAML that map project commands, and the AI can execute them through MCP.

### How do I generate context documents for an LLM?

Run 'ctx init' to create a context.yaml, then 'ctx generate' to build markdown context documents from defined sources.
