FastCtx is a local Rust tool runtime that provides structured file reading, content search, file discovery, batch replacement, and Bash command execution for AI agents through the MCP protocol, reducing context overhead.

Stars

588

7-day growth

+285

Forks

19

Open issues

5

License

Apache-2.0

Last updated

2026-07-25

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It eliminates the need for AI agents to assemble fragile shell commands by offering persistent, structured tools, dramatically improving context efficiency and task completion speed.

Who it is for

  • Developers building AI coding agents or using ChatGPT/Codex CLI
  • AI/ML engineers requiring efficient repository interaction
  • MCP client users seeking a robust file and command toolset
  • Maintainers of agentic workflows that need background job management

Use cases

  • Reading code files, images, PDFs, or raw bytes during AI-assisted development
  • Searching codebases with regex patterns (grep) and paging results
  • Performing deterministic batch replacements (symbol renames, config migrations)
  • Running background builds, tests, or dev servers that persist across sessions

Strengths

  • Structured input/output reduces the model's reasoning overhead on tool mechanics
  • Supports multiple file types (text, images, PDF, hex) with automatic encoding detection
  • Background jobs run via detached supervisors, surviving server restarts
  • Robust update mechanism with rollback and atomic binary replacement

Considerations

  • Bash shell tools are disabled by default and must be explicitly enabled
  • Requires Node.js 18+ for npm installation; mirror registry delays may cause 404 errors
  • Background jobs consume local disk space (default 1024 MiB limit) and are not encrypted

README quick start

Installation

Description

Fast, context-efficient repository tools for AI agents (MCP)

Related repositories

Similar projects matched by category, topics, and programming language.

l0ng-ai
Featured
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

Developer ToolsCLI & Terminal
359
steelbrain
Featured
steelbrain GitHub avatar

reims-vgpu

reims-vgpu is an experimental virtual GPU for macOS guests that uses QEMU to decode the guest's GPU command stream and execute it through Metal or Vulkan, leveraging the built-in AppleParavirtGPU driver without requiring custom kexts.

Desktop Apps
143
m-novotny
Featured
m-novotny GitHub avatar

memguard-rs

A Rust library that provides secure memory handling primitives including zeroization on drop, memory locking, constant-time comparison, and compile-time guarded regions, with zero dependencies and no_std support.

Embedded & IoTSecurity
131