Releases: patrickomatik/mcp-file-edit
Releases · patrickomatik/mcp-file-edit
MCP File Edit v1.0.1
MCP File Edit v1.0.1
A powerful Model Context Protocol (MCP) server for comprehensive file system operations.
🎉 Features
- File Operations: Read, write, create, delete, move, and copy files
- Directory Management: List files with depth control
- Search & Replace: Pattern-based search with regex support
- Advanced Patching: Line, pattern, and context-based file modifications
- Code Analysis: Extract functions, classes, and structure from code files
- Project Directory: Simplified relative path handling
- Safety: Built-in path traversal protection
📦 Installation
git clone https://github.com/patrickomatik/mcp-file-edit.git
cd mcp-file-edit
uv pip install -e .🚀 What's New in v1.0.1
Code Analysis Features
list_functions- Extract all functions with signatures and line numbersget_function_at_line- Find function containing a specific lineget_code_structure- Extract imports, classes, and functionssearch_functions- Search for functions by name pattern- Support for Python (AST-based) and JavaScript/TypeScript
- Docstring and type hint extraction
Improvements
- Enhanced patch error messages
- Better documentation and examples
- Comprehensive test suite
📝 Configuration
Add to your Claude Desktop config:
{
"mcpServers": {
"file-edit": {
"command": "uv",
"args": ["run", "mcp", "run", "/path/to/mcp-file-edit/server.py"]
}
}
}See the README for full documentation.