mcp-adb/pyproject.toml
Ryan Malloy fb297f7937 Add pytest suite (216 tests) and fix UI/notification parser bugs
Test infrastructure with conftest fixtures mocking run_shell_args/run_adb
for device-free testing across all 8 mixins.

Fixed: UI parser regex couldn't match hyphenated XML attributes
(content-desc, resource-id). Notification parser captured trailing
parenthesis in package names.
2026-02-11 03:38:37 -07:00

64 lines
1.5 KiB
TOML

[project]
name = "mcadb"
version = "0.4.0"
description = "Android ADB MCP Server for device automation via Model Context Protocol"
authors = [
{name = "Ryan Malloy", email = "ryan@supported.systems"}
]
readme = "README.md"
license = {text = "MIT"}
keywords = ["mcp", "android", "adb", "automation", "fastmcp"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
"Topic :: System :: Hardware :: Hardware Drivers",
]
dependencies = [
"fastmcp>=2.14.0,<3.0.0",
"pydantic>=2.12.0",
]
requires-python = ">=3.11"
[project.urls]
Homepage = "https://git.supported.systems/MCP/mcp-adb"
Documentation = "https://git.supported.systems/MCP/mcp-adb#readme"
Repository = "https://git.supported.systems/MCP/mcp-adb"
[project.scripts]
mcadb = "src.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=9.0.0",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.0",
"mypy>=1.19.0",
]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.mypy]
python_version = "3.11"
strict = true
[tool.hatch.build.targets.wheel]
packages = ["src"]