# Patch File MCP

> Patch File MCP — matdev83-patch-file-mcp-fork. Use this tool when you need to precisely modify files with automated quality assurance and version control. It solves problems of manual file editing errors and inconsistent code formatting by using SEARCH/REPLACE blocks and automatic Python QA checks. It takes in files and patching instructions as input and outputs modified files with a git version history for easy rollback.

Canonical page: https://skillsregistry.net/skills/matdev83-patch-file-mcp-fork  
JSON: https://api.skillsregistry.net/v1/skills/matdev83-patch-file-mcp-fork

## Description

Enables precise file patching using SEARCH/REPLACE blocks, with mandatory directory sandboxing, automatic Python QA (Ruff/Black/MyPy), and git versioning for rollback.

## Trust

- **Trust score (0–1):** 0.59
- **Verification tier:** scanned
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ujncl8wn1l)
- **Repository:** <https://github.com/matdev83/patch-file-mcp-fork>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "matdev83-patch-file-mcp-fork"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/matdev83-patch-file-mcp-fork` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/matdev83-patch-file-mcp-fork/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
