The steroid_apply_patch MCP tool was fully removed from main in the
"cleanup & simplification round" (May 2026). See TASKS.md section
C3 — Drop steroid_apply_patch; reinforce deep IDE features for the
rationale and docs/PHILOSOPHY.md Tenet 1 → Worked example for the
canonical statement.
- Spec:
mcp-steroid-server/.../server/ApplyPatchTool.kt(incl.ApplyPatchRequest). - IJ handler:
ij-plugin/.../server/ApplyPatchToolHandler.kt. - Schema test:
ApplyPatchToolSpecSchemaTest. - Integration test:
ApplyPatchToolIntegrationTest. - Devrig bridge:
DevrigApplyPatchToolHandlerinnpx-kt. - Prompt source:
prompts/.../skill/apply-patch-tool-description.md.
- In-script DSL:
McpScriptContext.applyPatch { hunk(...) }on everysteroid_execute_codecall. Defined inij-plugin/.../execution/ApplyPatch.kt(ApplyPatchHunkmoved here from the deleted tool's data classes). - Recipe article:
mcp-steroid://ide/apply-patch— the agent-facing multi-site-edit guide, now framed as a DSL-inside-steroid_execute_codepattern. - Engine semantics tests:
ij-plugin/.../execution/ApplyPatchTest.ktpins atomicity / ordering / preflight / dryRun behavior.
Read git log --grep="apply_patch" for the removal commits and git show
each in reverse to bring the surface back. Five removal commits, in order:
PHILOSOPHY: drop steroid_apply_patch from tool list (10→9)execute_code: wrap user-script body in McpEditingGuardapply_patch: drop the MCP tool surface (keep in-script DSL)arena: route multi-site edits through applyPatch { } DSLprompts: route corpus through applyPatch { } DSL
Don't restore wholesale — re-evaluate against Tenet 1's three gates first.