[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "robotics-mcp"
version = "0.1.0"
description = "Unified robotics control via MCP - Physical and virtual robots (bot + vbot)"
authors = [
{name = "Sandra", email = "sandra@example.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: System :: Hardware"
]
keywords = ["robotics", "mcp", "ros", "unity", "vrchat", "virtual-robotics", "fastmcp", "moorebot", "unitree"]
dependencies = [
"fastmcp>=2.13.0,<2.14.0",
"pydantic>=2.0.0",
"pyyaml>=6.0",
"websockets>=12.0",
"aiohttp>=3.9.0",
"fastapi>=0.104.0",
"uvicorn[standard]>=0.23.0",
"structlog>=23.0.0",
"python-osc>=1.8.0",
]
[project.optional-dependencies]
ros = [
"numpy>=1.24.0",
"scipy>=1.10.0",
"opencv-python>=4.8.0",
"matplotlib>=3.7.0",
]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"ruff>=0.3.0",
"mypy>=1.5.0",
"black>=23.0.0",
"isort>=5.12.0",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
"mkdocstrings[python]>=0.22.0",
]
[project.urls]
"Homepage" = "https://github.com/sandraschi/robotics-mcp"
"Bug Reports" = "https://github.com/sandraschi/robotics-mcp/issues"
"Source" = "https://github.com/sandraschi/robotics-mcp"
"Documentation" = "https://github.com/sandraschi/robotics-mcp/blob/main/README.md"
[project.scripts]
robotics-mcp = "robotics_mcp.server:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --tb=short --strict-markers --cov=robotics_mcp --cov-report=term-missing --cov-report=html"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"requires_hardware: marks tests that require physical hardware",
]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["src/robotics_mcp"]
omit = [
"*/tests/*",
"*/test_*",
"setup.py",
"*/__init__.py",
]
[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__.:",
"@abstractmethod",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
ignore = ["E501"] # Line too long (handled by black)
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3