{"id":"rope-mcp-server","name":"rope-mcp-server","homepage":"https://pypi.org/project/rope-mcp-server/","repo_url":"https://github.com/krystofbe/rope-mcp-server","category":"devtools","subcategories":[],"tags":["mcp","python","refactoring","rope","developer-tools","code-transformation"],"what_it_does":"Provides an MCP server that wraps the Rope Python refactoring library and exposes project-aware refactoring tools (e.g., move/rename symbols and modules, convert modules to packages, extract methods, inline variables, and list symbols). Intended for MCP-compatible agents (e.g., Claude) to perform safe, AST-aware transformations across a Python codebase.","use_cases":["Project-wide refactoring of Python code (rename/move symbols and modules)","Assisted conversion of modules to packages (e.g., module.py -> package/__init__.py)","Automated import updates when restructuring packages","Code cleanup operations like inlining variables","Creating new methods from existing code blocks (extract method)"],"not_for":["Refactoring non-Python codebases","Real-time or multi-user collaborative editing without additional concurrency controls","Operations requiring transactional/rollback semantics beyond what the underlying Rope refactorings provide","Security-sensitive environments where tool authorization/auditing is required but not documented"],"best_when":"You want an MCP-compatible AI agent to perform repo-wide Python refactors with import updates, using the provided tool interfaces.","avoid_when":"You require strong authentication, explicit rate limiting guidance, or documented error/rollback/idempotency behavior; you also have very large repos where indexing time may be an issue without clear performance expectations.","alternatives":["Use Rope directly via a custom CLI/script (no MCP layer)","Other IDE refactoring engines (e.g., PyCharm/IntelliJ)","Build a thin service around Rope with a REST API and explicit schemas/errors","Other MCP refactoring tools tailored to different languages or with stronger operational controls"],"af_score":51.0,"security_score":49.0,"reliability_score":26.2,"package_type":"mcp_server","discovery_source":["pypi"],"priority":"low","status":"evaluated","version_evaluated":null,"last_evaluated":"2026-04-04T21:45:28.169160+00:00","interface":{"has_rest_api":false,"has_graphql":false,"has_grpc":false,"has_mcp_server":true,"mcp_server_url":null,"has_sdk":false,"sdk_languages":[],"openapi_spec_url":null,"webhooks":false},"auth":{"methods":["MCP server transport authorization via claude mcp add -s user/local (exact mechanism not specified)"],"oauth":false,"scopes":false,"notes":"No explicit auth mechanism (API keys/OAuth/scopes) is documented in the provided content. The README only shows an MCP client command with -s user/local, which suggests environment/host selection rather than a documented security model."},"pricing":{"model":null,"free_tier_exists":false,"free_tier_limits":null,"paid_tiers":[],"requires_credit_card":false,"estimated_workload_costs":null,"notes":"Open-source/package pricing not described in provided content; MCP server is installed locally via pip."},"requirements":{"requires_signup":false,"requires_credit_card":false,"domain_verification":false,"data_residency":[],"compliance":[],"min_contract":null},"agent_readiness":{"af_score":51.0,"security_score":49.0,"reliability_score":26.2,"mcp_server_quality":78.0,"documentation_accuracy":70.0,"error_message_quality":0.0,"error_message_notes":null,"auth_complexity":60.0,"rate_limit_clarity":0.0,"tls_enforcement":70.0,"auth_strength":35.0,"scope_granularity":30.0,"dependency_hygiene":55.0,"secret_handling":60.0,"security_notes":"Security posture is partially unknown due to lack of documented operational controls. The server likely runs locally (pip install / command shown), which can reduce network exposure, but TLS requirements and auth mechanisms are not clearly specified. The tool can modify code on disk, so agents should run with appropriate least-privilege filesystem access. Dependencies mentioned are fastmcp and rope; no vulnerability/lockfile details are provided.","uptime_documented":0.0,"version_stability":40.0,"breaking_changes_history":35.0,"error_recovery":30.0,"idempotency_support":"false","idempotency_notes":"Refactoring operations can be non-idempotent (e.g., moving/renaming files or symbols). No idempotency guarantees or preflight/dry-run controls are documented in the provided content.","pagination_style":"none","retry_guidance_documented":false,"known_agent_gotchas":["File moves/renames and code extractions are likely non-idempotent—agents should avoid repeating the same operation after partial failure.","Rope project caching/indexing may introduce latency on first use for a given project.","Tool limitations: moving methods between classes requires the target class to exist.","Only Python is supported (Rope limitation)."]}}