[project]
name = "layout-detector-mcp"
version = "0.1.0"
description = "MCP server for analyzing webpage screenshots and extracting layout relationships"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [
{name = "Layout Detector Contributors"}
]
keywords = ["mcp", "layout", "screenshot", "computer-vision", "opencv", "web-development"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"mcp>=1.0.0",
"opencv-python-headless>=4.8.0",
"numpy>=1.24.0",
"pillow>=10.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
]
[project.scripts]
layout-detector-mcp = "layout_detector.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/layout_detector"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]