edit_file
Allows making multiple text edits to a file based on line numbers. Provides a more reliable and context-economical way to edit files compared to search and replace based edit tools.
How to use it
edit_file is exposed by the MCP Language Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the edit_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MCP LANGUAGE SERVER LISTINGOther tools in MCP Language Server (5)
Retrieves the complete source code definition of any symbol (function, type, constant, etc.) from your codebase.
Provides diagnostic information for a specific file, including warnings and errors.
Display documentation, type hints, or other hover information for a given location.
Locates all usages and references of a symbol throughout the codebase.
Rename a symbol across a project.