Skip to main content
Glama

Rope MCP

by brukhabtu
pyproject.toml2.91 kB
[build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.poetry] name = "rope-mcp" version = "0.1.0" description = "MCP server with CLI exposing Python Rope refactoring capabilities to Claude Code and command-line users" authors = ["Bruk Habtu <bruk.habtu@gmail.com>"] readme = "README.md" license = "MIT" homepage = "https://github.com/brukhabtu/rope-mcp" repository = "https://github.com/brukhabtu/rope-mcp" documentation = "https://github.com/brukhabtu/rope-mcp" keywords = ["mcp", "rope", "refactoring", "python", "claude-code", "cli"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Code Generators", "Topic :: Text Editors :: Integrated Development Environments (IDE)", ] [tool.poetry.dependencies] python = "^3.8" rope = "^1.0.0" fastmcp = "^0.4.0" click = "^8.0.0" [tool.poetry.group.dev.dependencies] pytest = "^7.0.0" pytest-cov = "^4.0.0" black = "^23.0.0" mypy = "^1.0.0" click-testing = "^0.1.0" types-click = "^7.1.0" [tool.poetry.scripts] rope-mcp = "rope_mcp.cli.main:cli" rope-mcp-server = "rope_mcp.server.main:main" [tool.black] line-length = 88 target-version = ['py38'] include = '\.pyi?$' extend-exclude = ''' /( # directories \.eggs | \.git | \.hg | \.mypy_cache | \.tox | \.venv | build | dist )/ ''' [tool.mypy] python_version = "3.8" warn_return_any = true warn_unused_configs = true disallow_untyped_defs = true disallow_incomplete_defs = true check_untyped_defs = true disallow_untyped_decorators = true no_implicit_optional = true warn_redundant_casts = true warn_unused_ignores = true warn_no_return = true warn_unreachable = true strict_equality = true [[tool.mypy.overrides]] module = "rope.*" ignore_missing_imports = true [[tool.mypy.overrides]] module = "fastmcp.*" ignore_missing_imports = true [tool.pytest.ini_options] minversion = "6.0" addopts = "-ra -q --strict-markers --strict-config" testpaths = ["tests"] python_files = ["test_*.py", "*_test.py"] python_classes = ["Test*"] python_functions = ["test_*"] [tool.coverage.run] source = ["src"] omit = [ "*/tests/*", "*/test_*", ] [tool.coverage.report] exclude_lines = [ "pragma: no cover", "def __repr__", "if self.debug:", "if settings.DEBUG", "raise AssertionError", "raise NotImplementedError", "if 0:", "if __name__ == .__main__.:", "class .*\\bProtocol\\):", "@(abc\\.)?abstractmethod", ] show_missing = true skip_covered = false

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/brukhabtu/rope-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server