Patchloom
MCP server by patchloom Community
Patchloom gives AI coding agents structured file edits for JSON, YAML, TOML, markdown and code, with dry-run previews and batch or transaction runs. It suits agents that need safer edits than plain text replacement.
About
Patchloom is a single-binary CLI and MCP server that lets AI coding agents edit files in a structured way. It edits JSON, YAML and TOML by selector instead of regex, and it preserves comments. It also edits markdown sections, tables and bullets by heading, and it offers AST-aware operations across 20 languages.
Multiple file edits can be grouped into one batch or tx call. A tx plan with strict set to true reverts every file if format or validate steps fail. Dry-run previews are available, and the same commands work on Linux, macOS and Windows. The source positions it as a tool layer for agents such as Claude Code, Codex and Cursor, and for Rust embedders.
Written from the project's README and checked against it.
Tools it gives your assistant
patchloom mcp-serverExposes Patchloom operations as structured MCP tool calls.doc setChanges a JSON, YAML or TOML value by selector and keeps comments.batchRuns several file edits in one tool call.txRuns a JSON plan with format and validate steps, reverting on failure in strict mode.md.upsert_bulletAdds or updates a bullet under a markdown heading.md table-appendAppends a row to a markdown table found by its heading.ast renameRenames a symbol across source files using AST-aware edits.file.createCreates a file as one operation inside a batch.
What you need
- Rust 1.95 or newer for the cargo install route
- npm, for the npx or npm install route
- Linux, macOS or Windows
Try asking
- Set database.port to 5432 in config.yaml and keep the file's comments
- Update the version to 2.0.0 in package.json, config.toml and VERSION
- Append a row to the API table under the API heading in README.md
Good to know
- For simple single-file edits, the source says native tools are faster.
- The optional CLI sandbox is off by default. MCP mode always has it on.
- tx plan cmd fields run through the host shell, so only trusted plans should be run.
- The source says it is not a generic filesystem MCP and does not replace native read or search.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Patchloom
All alternatives →Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.
Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.
Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.
Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.
Compare with MR Office, kordoc or Desktop Commander
Patchloom: common questions
Does Patchloom keep comments when editing YAML or TOML?
Yes. The source says YAML and TOML comments survive all edits, including array resizing.
How is Patchloom different from a filesystem MCP server?
The source says default filesystem MCP servers read and write text, while Patchloom adds dry-run previews, parser-backed edits, AST operations and batch or tx runs with undo.
Can I preview changes before they are written?
The source describes dry-run previews, and commands write changes only when the --apply flag is passed.
Is Patchloom the official server?
Patchloom is a community project by patchloom, not verified by a company domain.
Is Patchloom free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Patchloom safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Patchloom?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does Patchloom work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
