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个测试全部通过。
Description supplied by the publisher; it is a claim, not verified evidence.
- Name
- github:jidzhang/mcp-fileencoding
- Listed in
- GitHub
- Publisher
- @jidzhang
- Published
- 2026-09-30
- Evidence
- Listed only, not analyzed yet
Source: https://github.com/jidzhang/mcp-fileencoding
What a full analysis of mcp-fileencoding checks
Not checked yet. About 60 tools are analyzed every hour; each check links to its source when it runs:
- Publisher identity: not checked yet
- Repository ownership: not checked yet
- Organization verification: not checked yet
- Artifact provenance: not checked yet
- Source availability: not checked yet
- Version evidence: not checked yet
- Known vulnerabilities: not checked yet
- Install scripts: not checked yet
- Maintenance: not checked yet
- License: not checked yet
Before you install it
- Open the repository and confirm the account is the one you expect: look-alike names are common.
- Read what it asks for: files, accounts, network access and credentials it needs.
- Prefer a version from a verified publisher when one exists.