Skip to main content
Glama

Edit MCP

smart_refactor

Rename symbols consistently across multiple files to maintain code clarity and accuracy. Identifies and updates all occurrences of a specified name in a given set of files.

Instructions

Intelligently refactor code by renaming symbols across multiple files

Input Schema

NameRequiredDescriptionDefault
filesYesList of files to search and refactor
newNameYesThe new symbol name
oldNameYesThe symbol name to replace

Input Schema (JSON Schema)

{ "properties": { "files": { "description": "List of files to search and refactor", "type": "array" }, "newName": { "description": "The new symbol name", "type": "string" }, "oldName": { "description": "The symbol name to replace", "type": "string" } }, "required": [ "files", "oldName", "newName" ], "type": "object" }

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/mixelpixx/edit-mcp'

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