insert_text
Insert/replace text at precise line ranges. Perfect for direct line operations from code citations (12:15:file.ts) and surgical edits in large files
How to use it
insert_text is exposed by the MCP Files MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the insert_text tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Files
npx clear-npx-cacheOther tools in MCP Files (4)
Import and inspect JavaScript/TypeScript modules and their properties
Send OS notifications using native notification systems
Find and extract code blocks by symbol name(s) from files. Supports multiple symbols via array
Search and replace with intelligent whitespace handling and automation-friendly multiple match resolution