[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "music21-composer-mcp"
version = "0.1.0"
description = "Composition-focused MCP server built on music21"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
{ name = "Your Name", email = "you@example.com" }
]
keywords = ["music", "composition", "mcp", "music21", "ai"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"music21>=8.1.0",
"pydantic>=2.0.0",
"fastapi>=0.100.0",
"uvicorn>=0.23.0",
]
[project.optional-dependencies]
# MCP support requires Python 3.10+
mcp = ["mcp>=1.0.0", "fastmcp>=2.0.0"]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"httpx>=0.25.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[project.scripts]
composer-mcp = "composer_mcp.launcher:main"
[tool.hatch.build.targets.wheel]
packages = ["src/composer_mcp"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.black]
line-length = 100
target-version = ["py39"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_ignores = true