[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "comfyui-mcp-server"
version = "0.1.0"
description = "MCP server for local image/video generation via ComfyUI"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
dependencies = [
"mcp[cli]",
"httpx",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"python-dotenv",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"respx",
"ruff",
"mypy",
]
[project.scripts]
comfyui-mcp = "src.server:main"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]