Enterprise DNA Enterprise DNA
M MCP Servers Developer low

FI-Mihej/text_file_read_and_refactor_mcp

by Various

Token-efficient Python stdio MCP server exposing safe text-file search, reading, and refactoring tools. Tools automatically resolve the file BOM and codepage; edit tools save files

MCP

FI-Mihej/text_file_read_and_refactor_mcp

Added 3 Sept 2026

Overview

A minimal Python Model Context Protocol (MCP) server that runs over stdio and exposes tools for searching, reading, and refactoring text files. It automatically resolves file BOM and codepage, and edit tools save files with their original encoding and BOM.

Best for

Best for
Developers needing a lightweight, encoding-safe file MCP server for Python-based agent environments.

Use cases

  • Read files with automatic encoding detection in MCP-compatible agents
  • Search and refactor text while preserving BOM and codepage
  • Provide token-efficient file access to LLM tools over stdio

Notes

A minimal Python Model Context Protocol (MCP) server that runs over stdio and exposes tools for searching, reading, and refactoring text files. It automatically resolves file BOM and codepage, and edit tools save files with their original encoding and BOM.

1 stars on GitHub. Last updated 2026-08-11. Licensed Apache-2.0.

Use cases

  • Read files with automatic encoding detection in MCP-compatible agents
  • Search and refactor text while preserving BOM and codepage
  • Provide token-efficient file access to LLM tools over stdio

Pros

  • Preserves original BOM and encoding on writes
  • Auto-resolves codepage for reading
  • Runs as a simple stdio process, no network setup

Cons

  • Very few stars (1), suggests limited community validation
  • No evidence of non-Python support or packaging
  • Scope limited to text-file operations

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Preserves original BOM and encoding on writes
  • Auto-resolves codepage for reading
  • Runs as a simple stdio process, no network setup

Cons

  • Very few stars (1), suggests limited community validation
  • No evidence of non-Python support or packaging
  • Scope limited to text-file operations
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks