[project]
name = "maya-mcp"
version = "0.1.0"
description = "FastMCP-based Model Context Protocol server for Autodesk Maya"
readme = "README.md"
requires-python = ">= 3.10"
authors = [
{name = "Ben Deda"}
]
maintainers = [
{name = "Ben Deda"}
]
license = {text = "Apache-2.0"}
keywords = ["mcp", "maya", "fastmcp", "model-context-protocol", "3d", "animation"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software 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 :: Multimedia :: Graphics :: 3D Modeling",
]
dependencies = [
"fastmcp>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=4.0",
"pytest-mock>=3.0",
"mypy>=1.0",
"ruff>=0.1.0",
]
[project.scripts]
maya-mcp = "maya_mcp.__main__:main"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src/py"}
[tool.setuptools.packages.find]
where = ["src/py"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
"--cov=src/py/maya_mcp",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-fail-under=0",
]
[tool.coverage.run]
source = ["src/py/maya_mcp"]
omit = [
"*/tests/*",
"*/test_*",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
show_missing = true
skip_covered = false
precision = 2
[tool.coverage.html]
directory = "htmlcov"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
ignore_missing_imports = true # Maya may not be available in all environments
[tool.ruff]
line-length = 100
target-version = "py310"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.isort]
known-first-party = ["maya_mcp"]