patch mcp for VS Code
io.github.mrfentmen/patch-mcp
Create, check and apply unified diffs offline, with no shell and no repository needed
client:VS Code
transport:stdio
runtime:npm
Install patch mcp in VS Code
.vscode/mcp.json
{
"servers": {
"patch-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mrfentmen/patch-mcp"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs