Loading…
一个MCP服务器,解决AI编码助手在Windows中文环境下读写GBK/GB18030文件时乱码的问题。读取时自动检测编码并转为UTF-8返回给AI,写入时自动转回原始编码,文件编码保持不变。还保证编辑写回时缩进风格与换行符(CRLF/LF)与原文件一致。支持UTF-8(含BOM)、GBK、GB2312、GB18030等编码。提供read、write、edit、查询编码记录等6个工具,通过PreToolUse Hook或系统提示词引导AI按需使用。适用于Claude Code、Cursor等支持MCP的客户端。Python 3.10+,pyright strict零错误,175个测试全部通过。
mcp-fileencoding is an MCP server entry in ChatHome Skills, sourced from GitHub MCP Search and scored 48/100. 一个MCP服务器,解决AI编码助手在Windows中文环境下读写GBK/GB18030文件时乱码的问题。读取时自动检测编码并转为UTF-8返回给AI,写入时自动转回原始编码,文件编码保持不变。还保证编辑写回时缩进风格与换行符(CRLF/LF)与原文件一致。支持UTF-8(含BOM)、GBK、GB2312、GB18030. As a Model Context Protocol server, it exposes tools that MCP-compatible LLM clients such as Claude, Cursor, and Copilot can call directly, extending an agent's reach beyond its built-in capabilities. ChatHome Skills discovered this entry through its daily ingest of official registries and GitHub discovery queries, and re-verifies repository facts, freshness signals, and install metadata on every run. The quality score weighs official-registry presence, a working install command, license clarity, GitHub star trajectory, and repository freshness — the full formula is on the Sources page. The install command above is ready to copy. Review the last-pushed date and repository status before adding mcp-fileencoding to a production agent workflow; the snapshot facts below are point-in-time values from the most recent ingest.
git clone https://github.com/jidzhang/mcp-fileencoding.gitReview the upstream source before running this command.
Scan coverage: Install metadata and repository README.
Automated signals from install metadata and a bounded skill body — not a full code security audit and not a recursive source or dependency review.
{
"fullName": "jidzhang/mcp-fileencoding"
}一个MCP服务器,解决AI编码助手在Windows中文环境下读写GBK/GB18030文件时乱码的问题。读取时自动检测编码并转为UTF-8返回给AI,写入时自动转回原始编码,文件编码保持不变。还保证编辑写回时缩进风格与换行符(CRLF/LF)与原文件一致。支持UTF-8(含BOM)、GBK、GB2312、GB18030等编码。提供read、write、edit、查询编码记录等6个工具,通过PreToolUse Hook或系统提示词引导AI按需使用。适用于Claude Code、Cursor等支持MCP的客户端。Python 3.10+,pyright strict零错误,175个测试全部通过。