# File Patch MCP Server

> Use this tool when you need to apply patches to files securely and reliably, solving problems such as inconsistent or corrupted updates, and ensuring data integrity through automated backup and rollback mechanisms. It takes unified diff patches as input and produces updated files as output, with a suite of 7 tools and 4 error recovery patterns to manage the patching process. Ideal for use cases requiring secure and atomic multi-file operations, such as software updates or configuration changes.

Canonical page: https://skillsregistry.net/skills/shenning00-patch-mcp  
JSON: https://api.skillsregistry.net/v1/skills/shenning00-patch-mcp

## Description

Enables applying unified diff patches to files with comprehensive security validation, automatic backup/rollback, and atomic multi-file operations. Provides 7 tools and 4 error recovery patterns for safe patch management workflows.

## Trust

- **Trust score (0–1):** 0.83
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** security
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/d9807y6qdd)
- **Repository:** <https://github.com/shenning00/patch_mcp>

## 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": "shenning00-patch-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/shenning00-patch-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/shenning00-patch-mcp/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
