[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "webcam-mcp"
dynamic = ["version"]
description = "MCP server for webcam access - capture photos and video for LLM agents"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "Pavel Kirienko <pavel.kirienko@zubax.com>"}
]
keywords = ["mcp", "webcam", "camera", "llm", "agent", "model-context-protocol"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Video :: Capture",
]
dependencies = [
"mcp>=1.6.0,<2.0.0",
"opencv-python-headless>=4.8.0,<5.0.0",
]
[project.urls]
Homepage = "https://github.com/modelcontextprotocol/servers"
Repository = "https://github.com/modelcontextprotocol/servers"
Issues = "https://github.com/modelcontextprotocol/servers/issues"
[project.optional-dependencies]
dev = ["pytest", "pytest-asyncio", "pytest-mock", "ruff"]
[project.scripts]
webcam-mcp = "webcam_mcp.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/webcam_mcp"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = []
[tool.hatch.version]
path = "src/webcam_mcp/__init__.py"