MCP File Tools MCP Server

MCP server for reading/writing legacy-encoded files (CP1251, Windows-1251, etc.)

Local serverstdioGo

What is the MCP File Tools MCP Server?

MCP server for reading/writing legacy-encoded files (CP1251, Windows-1251, etc.)

The short version

MCP server for file operations on text that isn't UTF-8. It detects the encoding from the file's bytes rather than its extension, hands the model UTF-8, and writes back in the original encoding — BOM and CRLF/LF intact, still byte-compatible with whatever legacy tool owns the file.

  • read_text_file - Read files with encoding auto-detection and conversion
  • read_multiple_files - Read multiple files concurrently with encoding support
  • write_file - Write files in specific encodings
  • edit_file - Line-based edits with diff preview and whitespace-flexible matching
  • copy_file - Copy a file to a new location
  • delete_file - Delete a file

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
MCP_DEFAULT_ENCODINGConfiguration value read at startup.Optional

Example prompts to try

  • “Use MCP File Tools to Encoding.”
  • “Use MCP File Tools to Sandboxed.”
  • “Use MCP File Tools to Update.”

Frequently asked questions

MCP server for reading/writing legacy-encoded files (CP1251, Windows-1251, etc.) Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.