Patch File MCP Fork
未认领Agent‑ready MCP server for precise, cross‑model file edits. Improves context management and developer flow by auto‑running Ruff/ Black/MyPy after Python edits, all within a secure allowed‑dir sandbox
agentic-aiagentic-codingagentic-workflowagenticaidifffile-edit-toolfilesystemlintingmcpmcp-servermcp-serverspatchpatchingpython
安装
$
pip install -e .工具(4 个)
Cross-Platform
Works identically on Windows, MacOS, and Linux
file_path
Absolute path to the file to be patched (Windows: C:/path/file.py or C:\\path\\file.py; Unix: /path/file.py). Relative paths are rejected.
patch_content
Content to search and replace using block format with SEARCH/REPLACE markers. Multiple blocks are supported.
patch_file
Update an existing file using a simple block format. Use absolute paths.