Rope MCP
Provides access to the rope-mcp source code repository for installation and contribution to the project's development.
Enables installation of the rope-mcp package directly from the Python Package Index when released.
Exposes Python Rope refactoring library capabilities to users, enabling symbol renaming, method extraction, code analysis, and object information retrieval for Python codebases.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Rope MCP
A Model Context Protocol (MCP) server with companion CLI that exposes Python Rope refactoring library capabilities to Claude Code and command-line users.
Features
Dual Interface: Both MCP server for Claude Code integration and CLI for direct use
Safe Refactoring: Symbol renaming and method extraction with built-in safety checks
Code Analysis: Symbol definition finding, reference tracking, and object information
Backup System: Automatic file backups with easy restore capabilities
Shared Core: Identical functionality across MCP and CLI interfaces
Related MCP server: MCP Python Toolbox
Quick Start
Installation
# Install from PyPI (when released)
pip install rope-mcp
# Or install from source
git clone https://github.com/brukhabtu/rope-mcp.git
cd rope-mcp
pip install -e .CLI Usage
# Initialize project
rope-mcp init-project
# Analyze a symbol
rope-mcp analyze-symbol --file src/utils.py --line 23 --column 4
# Rename a symbol (with preview)
rope-mcp rename-symbol --file src/utils.py --line 23 --column 4 --new-name "better_name" --dry-run
rope-mcp rename-symbol --file src/utils.py --line 23 --column 4 --new-name "better_name"
# Extract method
rope-mcp extract-method --file src/utils.py --start-line 45 --end-line 67 --method-name "validate_input"Claude Code Integration
Add to your Claude Code MCP configuration:
{
"mcpServers": {
"rope": {
"command": "rope-mcp-server",
"args": [],
"env": {}
}
}
}Documentation
Development Status
🚧 In Development - See PROJECT_PLAN.md for roadmap and current status.
Contributing
See the Implementation Roadmap for development phases and contributing guidelines.
License
MIT License - see LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
A Model Context Protocol server for Wix AI tools
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that extracts and analyzes Python code structures, focusing on import/export relationships between files to help LLMs understand code context.7MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables AI assistants like Claude to perform Python development tasks through file operations, code analysis, project management, and safe code execution.9MIT
- AlicenseBqualityDmaintenanceAn implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.8188MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol server that enables Claude Code to directly interact with Redmine project management systems, supporting issue management, project operations, and search features.229MIT