Basic information
About Refactor MCP Server
Refactor enables regex-based code refactoring for bulk search-and-replace, pattern matching, and large-scale code transformations.
Refactor is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by myuon. It exposes 2 tools, including code_refactor, code_search. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 6 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools.
Setup
{
"mcpServers": {
"refactor-mcp": {
"command": "npx",
"args": [
"@myuon/refactor-mcp@latest"
]
}
}
}
{
"mcpServers": {
"refactor-mcp": {
"command": "npx",
"args": [
"@myuon/refactor-mcp@latest"
]
}
}
}
{
"servers": {
"refactor-mcp": {
"command": "npx",
"args": [
"@myuon/refactor-mcp@latest"
]
}
}
}
Refactor MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"refactor-mcp": {
"command": "npx",
"args": [
"@myuon/refactor-mcp@latest"
]
}
}
}
Refactor MCP Server tools
- code_refactor — Refactor code by replacing search pattern with replace pattern using regex
- code_search — Search for code patterns using regex and return file locations with line numbers
Overview
What is Refactor?
Provides regex-based code refactoring capabilities for bulk search-and-replace operations across file systems with pattern matching, context filtering, and glob-based file discovery to enable large-scale code transformations and migrations.
Videos
Tutorials, guides, and showcases related to Refactor MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In