Skip to main content
Glama
egn88

Refactor MCP

by egn88

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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