ctxfw
An MCP tool that reduces code context for coding agents at the syntax-tree level.
What does it do?
CTXFW describes itself as an MCP server that processes Tree-Sitter-based syntax trees in memory to reduce code context supplied to coding agents. The repository presents defenses that filter input and reproducible offline benchmarks. Its setup command detects the coding environment in use and guides integration. It mentions both a public core and a separately priced source package; performance and security figures are the repository's own measurements.
Key features
- Prune code context using Tree-Sitter syntax trees
- Manage coding-agent input through MCP
- Run indirect prompt-injection test benchmarks offline
- Provide setup and installation commands that detect the installed coding environment