MCP File Tools
The MCP File Tools server supports automatic detection and conversion of 22 non-UTF-8 encodings (including Cyrillic, Windows-125x, ISO-8859, etc.), enabling AI assistants to read and write legacy files correctly without data corruption.
rating : 2.5 points
downloads : 4.6K
What is MCP File Tools?
MCP File Tools is a Model Context Protocol server dedicated to file operations. Its greatest feature is the ability to automatically detect and convert 22 different text encodings. This means that AI assistants (such as Claude) can safely read and write old files using non-standard encodings, such as Windows-1251 and KOI8-R, without garbled characters or data corruption.How to use MCP File Tools?
After installation and configuration, you can directly issue file operation instructions to the AI assistant (such as Claude), for example, 'Read the config.ini file' or 'List all .pas files'. The server will automatically handle encoding conversion, and you don't need to worry about technical details. All operations are restricted to the pre-specified secure directory to ensure system security.Applicable scenarios
It is particularly suitable for handling legacy codebases and old system files, such as Delphi/Pascal projects (Windows-1251 encoding), Visual Basic 6 applications, old PHP/HTML websites, and configuration files using specific encodings.Main features
Support for 22 encodings
Automatically detect and convert 22 encodings, including Cyrillic (Windows-1251, KOI8-R), Western European (Windows-1252), Central European (Windows-1250), Greek, Turkish, Hebrew, Arabic, etc., as well as Unicode encodings such as UTF-8 and UTF-16.
19 file operation tools
Provide 19 complete file operation functions, such as reading, writing, editing, copying, deleting, searching, and encoding conversion, to meet daily development needs.
Intelligent encoding detection
Automatically detect file encoding and provide a confidence score. You can read file content correctly without manually specifying the encoding.
Security sandbox
All file operations are restricted to the directory explicitly allowed by the user to prevent accidental access or modification of system files and ensure operation security.
Intelligent line editing
Support line-based file editing, provide difference previews, and have flexible whitespace matching functions to make editing more accurate and reliable.
Intelligent memory management
Automatically select memory loading or streaming processing based on file size. Small files are read quickly, and large files are processed efficiently. The default threshold is 64MB.
Advantages
Perfectly solve the garbled character problem when AI assistants handle non-UTF-8 files
Support a wide range of legacy encodings to cover the needs of most old systems
Simple to operate. After installation, you can use it directly through natural language instructions
Safe and reliable. All operations are restricted to the specified directory
Automatic encoding detection reduces the workload of manual configuration
Maintain file compatibility. The converted files can still be read by the original system
Limitations
Only support text file operations and do not handle binary files
Need to pre-configure the directory allowed for access
Some extremely rare encodings may not be automatically recognized
Encoding detection of large files (over 64MB) may be slightly slower
How to use
Download and install
Download the corresponding executable file according to your operating system or install it through Go. Windows users should use PowerShell to execute the command.
Configure the MCP client
Add the server to your MCP client (Claude Desktop, VSCode, etc.) and specify the directory allowed for access.
Start using
In the configured AI assistant interface, directly issue file operation instructions in natural language.
(Optional) Configure automatic approval
To avoid frequent permission confirmations, you can create a configuration file to automatically approve safe file operations.
Usage examples
Handling Delphi project files
Many Delphi/Pascal projects use the Windows-1251 encoding to store Cyrillic characters. Reading them directly will result in garbled characters.
Batch converting old configuration files
It is necessary to convert a batch of old system configuration files from Windows-1252 to UTF-8 encoding.
Searching for specific text in legacy code
Search for all files containing specific error messages in an old VB6 project.
Editing files with non-UTF-8 encoding
It is necessary to modify an old PHP configuration file using the ISO-8859-1 encoding.
Frequently Asked Questions
Which encodings does this tool support?
How to ensure the security of file operations?
What if the file encoding cannot be automatically detected?
What is the maximum file size supported?
How to use it in different MCP clients?
How to avoid accidental changes when editing files?
Related resources
GitHub repository
Source code, issue tracking, and the latest version
MCP official registry
Find this server in the MCP official registry
Detailed tool documentation
Detailed parameter descriptions and usage examples for all 19 tools
MCP Inspector debugging tool
A web interface tool for testing and debugging MCP servers
Model Context Protocol official website
Understand the basic concepts and specifications of the MCP protocol

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
26.0K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
36.0K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
21.7K
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
74.4K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
32.9K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
64.4K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
22.2K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
97.7K
4.7 points





