re-patch
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@re-patchApply a byte-level patch to the firmware binary at offset 0x100 with value 0x90"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
re-patch
MCP server for on-disk patching of binary artifacts. Provides:
SHA-256 manifest of a binary (so the original can be verified / restored)
Byte-level patch application: copy a file, write
new_bytesatoffset, save the resultManifest-driven restore: read the manifest, copy the original back
The server does not enforce policy — it surfaces an audit log
(confirm_legal parameter) so the calling agent records the
justification for every patch. The user / run policy is the
caller's responsibility.
Why
The 2026-06-05 stress test surfaced a need for an on-disk patch primitive that's:
Auditable — every call carries a
confirm_legaltext the analyst must type inReversible — the SHA-256 manifest + restore_original tool let the analyst roll back to the exact original bytes
Non-destructive —
apply_patchwrites a copy atdst, not in place; the original atsrcis never modified
Related MCP server: mcp-policy-guardian
Tools
Tool | What it does |
| Health check — |
| Return the SHA-256 of path (hex-encoded) |
| Copy |
| Copy |
Install
Part of the RE-AI plugin; ./install.sh installs the package. To
install standalone:
pip install -e ./servers/re-patchRun
re-patch # stdio transport (default for MCP)
python -m re_patch # equivalentMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Heretek-RE/re-patch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server