Refactor
Provides powerful regex-based refactoring and search capabilities for coding agents via the Model Context Protocol.
소개
Refactor is a Model Context Protocol (MCP) server designed to empower coding agents with advanced code manipulation tools. It enables precise, regex-based search and replace operations across multiple files, offering capabilities like context-aware refactoring and file pattern filtering. Additionally, it provides a robust search function to locate code patterns and return precise file locations and line numbers, making it an invaluable asset for automated code maintenance and analysis within an MCP-compatible environment.
주요 기능
- Regex-based search and replace across files (code_refactor)
- Context-aware refactoring to limit replacements to specific code blocks
- Advanced file filtering using glob patterns
- Regex-based code search with precise line number reporting (code_search)
- Seamless integration with MCP-compatible clients like Claude Code
- 2 GitHub stars
사용 사례
- Empowering AI coding agents with advanced code manipulation abilities
- Automating large-scale code refactoring initiatives
- Quickly finding specific code patterns and their locations across a codebase