# txt-mcp

Text file read, write and edit over MCP

- Role: Solo Developer
- Period: Aug 2025 – Sep 2025
- Status: released
- Domain: ai
- Type: open-source
- Source code: https://github.com/Kilgor/txt-mcp-server
- HTTP variant: https://github.com/Kilgor/txt-mcp-server-http

## Summary

A minimal MCP server that gives AI assistants three tools for UTF-8 text files: read, write, and search-and-replace edit. It works with any text-based file type, such as .txt, .json and .md.

## Highlights

- Read, write and edit any text-based file over MCP
- Built on FastMCP, with an MCP prompt that asks for confirmation before acting
- Minimal footprint: three tools, one small file
- A second variant adds a confirmation workflow for writes (confirmed flag) and SSE, HTTP and stdio transports

## Technologies

MCP, Python, FastMCP, File I/O, Text Processing

