[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "browser-use-mcp-server"
version = "0.1.3"
description = "MCP browser-use server library"
readme = "README.md"
requires-python = ">=3.11,<4.0"
authors = [
{name = "Cobrowser Team"}
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"asyncio>=3.4.3",
"browser-use>=0.1.40",
"click>=8.1.8",
"httpx>=0.28.1",
"langchain-openai>=0.3.1",
"mcp>=1.3.0",
"pydantic>=2.10.6",
"anyio",
"python-dotenv",
"starlette",
"uvicorn",
"playwright>=1.50.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
test = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
]
[project.urls]
"Homepage" = "https://github.com/cobrowser/browser-use-mcp-server"
"Bug Tracker" = "https://github.com/cobrowser/browser-use-mcp-server/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
asyncio_mode = "auto"
[tool.black]
line-length = 88
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[project.scripts]
browser-use-mcp-server = "browser_use_mcp_server.cli:cli"
[tool.hatch.build]
packages = ["src/browser_use_mcp_server"]