MCP Files enables AI agents to perform surgical code editing with tools for finding symbols, importing modules, and precise text manipulation across codebases with cross-platform support.
Find and extract code blocks by symbol name(s) from files, supporting multiple symbols via array.
Import and inspect JavaScript/TypeScript modules and their properties.
Search and replace with intelligent whitespace handling and automation-friendly multiple match resolution.
Insert/replace text at precise line ranges, perfect for direct line operations and surgical edits in large files.
Send OS notifications using native notification systems.
{
"mcpServers": {
"mcp-files": {
"command": "npx",
"args": ["-y", "mcp-files"]
}
}
}