Text File Read And Refactor MCP
by FI-Mihej
Reads, searches, and edits text files through a Python stdio MCP server while preserving each file's encoding and BOM.
Install Text File Read And Refactor MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"fi-mihej-text-file-read-and-refactor-mcp": {
"command": "uvx",
"args": [
"text-file-read-and-refactor-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Read only the relevant lines from a large text file
- Find literal, word, development-word, or regex matches
- Replace configuration values between known boundaries
- Patch several boundary-defined spans in one operation
- Preserve a file's original encoding and BOM during edits
Key features
- Character-slice and line-range reading
- Literal and pattern-based text search
- Boundary-based span inspection and replacement
- Batch patching of boundary-defined spans
- Automatic BOM and codepage detection
- Original encoding and BOM preservation on edits
Tools17
What Text File Read And Refactor MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 12d ago via OSV.dev · text-file-read-and-refactor-mcp (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Text File Read And Refactor MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Text File Read And Refactor MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/fi-mihej-text-file-read-and-refactor-mcp)<a href="https://allmcps.com/mcp/fi-mihej-text-file-read-and-refactor-mcp"><img src="https://allmcps.com/api/badge/fi-mihej-text-file-read-and-refactor-mcp?style=directory" alt="Text File Read And Refactor MCP on AllMCPs" /></a>