Refactor MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| detect_project_typeB | Detect Java/TypeScript project type, build system, and configuration |
| typescript_rename_symbolB | Rename any TypeScript/JavaScript symbol (class, function, variable, interface, type) and update all references |
| typescript_move_symbolA | Move a TypeScript/JavaScript symbol to a different file and update all imports |
| typescript_rename_fileB | Rename or move a TypeScript/JavaScript file and update all imports |
| typescript_extract_functionB | Extract a code block into a new function, automatically determining parameters and return values |
| typescript_add_parameterB | Add a new parameter to a TypeScript/JavaScript function and update all call sites |
| typescript_remove_parameterB | Remove a parameter from a TypeScript/JavaScript function and update all call sites |
| typescript_change_function_signatureA | Change a TypeScript/JavaScript function signature with multiple parameter operations (add, remove) in a single refactoring. More efficient than calling individual tools when making multiple changes. |
| java_rename_classB | Rename a Java class and update all references using OpenRewrite |
| java_rename_methodA | Rename a Java method and update all call sites using OpenRewrite |
| java_rename_fieldB | Rename a Java field and update all references using OpenRewrite |
| java_move_classA | Move Java class(es) to a different package and update all imports using OpenRewrite |
| java_add_parameterA | Add a new parameter to a Java method or record constructor and update all call sites. For Java records, use methodName "" or the class name to target the constructor - the tool auto-detects records and updates both the record declaration AND all "new RecordName(...)" call sites (adding null as the new argument value). |
| java_remove_parameterA | Remove a parameter from a Java method or record constructor and update all call sites. For Java records, use methodName "" or the class name - the tool auto-detects records and updates both the record declaration AND all "new RecordName(...)" call sites. |
| java_reorder_parametersA | Reorder parameters in a Java method or record constructor and update all call sites. For Java records, use methodName "" or the class name - the tool auto-detects records and updates both the record declaration AND all "new RecordName(...)" call sites. |
| java_change_method_signatureA | Change a Java method or record constructor signature with multiple parameter operations (add, remove, reorder) in a single refactoring. More efficient than calling individual tools when making multiple changes. For Java records, use methodName "" or the class name - the tool auto-detects records and updates both the record declaration AND all "new RecordName(...)" call sites (adding null for new parameters). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/egn88/refactor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server