re-dotnet-patch
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_dnlibA | Probe for the dnlib / Mono.Cecil backend. v2.8.0: always returns |
| nop_methodA | Replace a method body with a NOP-sled (return default). The patched copy is written to dst (must differ from path); the original is never modified. The round-trip preserves the type graph outside the NOPed method (counts of types / methods / fields / properties / events all unchanged). Args:
path: source .NET assembly
method_fqn: e.g. Use case: stub a store-gate / license-gate / telemetry-gate method in a Mono / .NET launcher. Closes the CD-3 patch path (see See the RE-AI output directory. MainWindow.cs for the canonical example). v2.8.0: returns |
| replace_method_bodyC | Replace a method body with caller-supplied IL bytes. v2.8.0: returns |
| replace_string_ldstrB | Replace a specific v2.8.0: returns |
| patch_assemblyD | Apply a list of operations atomically. v2.8.0: returns |
| rollback_patchC | Delegate to re-patch.restore_original for the byte-restore step. re-dotnet-patch does not duplicate the byte-level restore primitive;
this stub returns |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Tools have distinct purposes (probing, NOP, atomic patch, IL replacement, string replacement, rollback), but nop_method and replace_method_body both modify method bodies, causing slight overlap.
Naming pattern is mostly consistent with verb_noun (e.g., patch_assembly, replace_method_body), but check_dnlib and nop_method deviate slightly from the pattern.
6 tools is well-scoped for a .NET assembly patching server, covering essential operations without being overwhelming.
Core patching operations are covered, but missing tools for reading assembly metadata or scanning methods, and several tools are stubs (not_implemented) in v2.8.0, limiting practical completeness.