fedit

A zero-dependency CLI tool and MCP server for surgical file editing from the command line. Used in AI pipelines via Model Context Protocol.

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution
Backer

Become a backer for €5.00 per month and support us

Starts at
€5 EUR / month
Recurring contribution
Sponsor

Become a sponsor for €100.00 per month and support us

Starts at
€100 EUR / month
Custom contribution
Donation
Make a custom one-time or recurring contribution.

fedit is all of us

Our contributors 2

Thank you for supporting fedit.

About


 
fedit is a zero-dependency CLI tool and MCP server written in Go for surgical file editing from the command line. It lets developers insert, replace, delete, and show lines or ranges in any text file — by line number, by content anchor, or by language-aware block — without opening an editor. 
What makes fedit different: fedit works on any file in any language (Go, Python, JavaScript, HCL/Terraform, Nix, and 13+ others) as a single binary with zero external dependencies. It also runs as an MCP server, making it directly usable by AI agents and LLM pipelines via Model Context Protocol — so AI tools can make precise, surgical edits to files without rewriting entire files. 
Current status: fedit v1.8.0 is live on GitHub under the MIT license (github.com/amalexico/fedit). It includes anchor-to-anchor range support, unified colon line syntax, a quiet mode flag, and a full MCP server interface with 36+ tests and zero runtime dependencies. 
Who uses it: Developers building AI-assisted pipelines, DevOps engineers automating configuration management, and anyone who needs reliable, scriptable file edits in CI/CD or shell workflows. 
How funds will be used: fedit is maintained by a solo developer. Every contribution goes directly toward sustained development, documentation, and keeping the project MIT-licensed and free for everyone. 

Our team