patch
Apply unified diffs with stale detection
How to use it
patch is exposed by the Patchloom MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the patch tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Patchloom
$
npx patchloom --versionOther tools in Patchloom (8)
ast
AST-aware symbol operations (20 languages)
batch
Line-oriented multi-file edits in 1 call
doc
Parser-backed JSON/YAML/TOML edits
mcp-server
MCP protocol server
md
Heading-aware markdown edits
Platform-dependent
Same binary and syntax on Linux, macOS, Windows
tidy
Text-file whitespace and newline normalization
tx
JSON plan with format/validate lifecycle