Patchloom turns JSON, YAML, and TOML edits into dry-run-safe MCP actions
Mobidic69 · reddit · 2026-08-04
Patchloom is a local CLI + MCP server + Rust library built for safer structured file edits in agent workflows.
Problem it targets
- Plain filesystem + yq/sed flows can corrupt YAML/TOML comments and multi-document streams.
- Editing multiple files can require too many tool round-trips.
- Hosts need stable error kinds and dry-run behavior to branch safely.
What Patchloom does
- Dry-run by default; returns exit code 2 when a write would change files.
- Supports selector-based get/set for JSON / YAML / TOML while preserving comments.
- Adds Markdown section operations, AST rename, batch transactions, and undo.
- The MCP surface includes listfiles, so a second filesystem MCP is often unnecessary.
Positioning
- It is explicitly not a generic filesystem MCP clone.
- The author says it is meant for agent-safe structured editing.
- Works with tools like Cursor, Claude, and Codex.
More from coding & agent
- A critique says OpenCode’s agent design breaks KV cache and weakens security — JFPuget · 2026-08-04
- Merge adds 100+ connectors to Agent Handler for production MCP agents — shensi · 2026-08-04
- Codex keeps running after credits expire, unlike Claude Code — JFPuget · 2026-08-04
- Meme says Codex + Electron development may need 96GB of RAM — gabriel1 · 2026-08-04
- Musician builds a local AI horror short with Flux, LTX, ComfyUI and custom LoRAs — BeregronTusat · 2026-08-04
- A tmux dashboard for multi-agent work keeps every project on one screen — kevinkern · 2026-08-04