Skip to main content
Glama

LSP MCP Server

by sminnee

rename_file

Rename files or folders using Language Server Protocol capabilities to automatically update all references across your codebase for TypeScript, JavaScript, and Python projects.

Instructions

Rename a file or folder using LSP rename capabilities

Input Schema

NameRequiredDescriptionDefault
languageNoProgramming language (typescript, javascript, python, etc.)typescript
newPathYesNew path for the file or folder
oldPathYesCurrent path of the file or folder

Input Schema (JSON Schema)

{ "properties": { "language": { "default": "typescript", "description": "Programming language (typescript, javascript, python, etc.)", "type": "string" }, "newPath": { "description": "New path for the file or folder", "type": "string" }, "oldPath": { "description": "Current path of the file or folder", "type": "string" } }, "required": [ "oldPath", "newPath" ], "type": "object" }

Other Tools from LSP MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/sminnee/lsp-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server