edit_symbol
Edits a symbol (function, class, method, etc.) by name and type in a given file using LSP.
How to use it
edit_symbol is exposed by the Vsc MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the edit_symbol tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL VSC MCP LISTINGOther tools in Vsc MCP (6)
Finds all references to a symbol (function, class, etc.) by name and type in a given file using LSP.
Fetches code errors and issues for a specific file using the LSP textDocument/diagnostic API.
Reads the content of a file.
Reads a symbol (function, class, method, etc.) by name and type in a given file using LSP.
Searches for content in a file and replaces it with new content.
Creates a new file or overwrites an existing file with the provided content.