MCPVault

search_file

MCP tool from MCP Edit File Lines by oakenai

Search a file for text patterns or regular expressions to find specific line numbers and their surrounding context. This tool is particularly useful for locating the exact lines you want to edit with editfilelines.

How to use it

search_file is exposed by the MCP Edit File Lines MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the search_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL MCP EDIT FILE LINES LISTING