[project]
name = "unifi-mcp-server"
version = "0.1.0"
description = "Model Context Protocol server for UniFi Network Controller"
authors = [
{name = "Austin Anderson", email = "austinanderson94@proton.me"}
]
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
dependencies = [
"mcp>=0.9.0",
"aiohttp>=3.9.0",
"python-dotenv>=1.0.0",
"pyyaml>=6.0.0",
"cachetools>=5.3.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"psutil>=5.9.0",
"hypothesis>=6.100.0",
]
[project.scripts]
unifi-mcp-server = "unifi_mcp.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/unifi_mcp"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.black]
line-length = 100
target-version = ['py311']
[tool.ruff]
line-length = 100
target-version = "py311"
select = ["E", "F", "I", "N", "W"]
ignore = []
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]