[project] name = "cerbero-mcp" version = "2.0.0" description = "Unified multi-exchange MCP server with token-based testnet/mainnet routing" requires-python = ">=3.11" authors = [{ name = "Adriano", email = "adrianodalpastro@tielogic.com" }] dependencies = [ "fastapi>=0.115", "uvicorn[standard]>=0.32", "pydantic>=2.9", "pydantic-settings>=2.6", "httpx>=0.27", "python-json-logger>=2.0", "websockets>=13", "numpy>=1.26", "scipy>=1.13", "statsmodels>=0.14", "pandas>=2.2", "pybit>=5.7", "alpaca-py>=0.30", "hyperliquid-python-sdk>=0.6", ] [project.scripts] cerbero-mcp = "cerbero_mcp.__main__:main" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/cerbero_mcp"] [tool.ruff] line-length = 100 target-version = "py311" [tool.ruff.lint] select = ["E", "F", "I", "W", "UP", "B", "SIM"] ignore = ["E501", "E741"] [tool.ruff.lint.flake8-bugbear] extend-immutable-calls = [ "fastapi.Depends", "fastapi.Query", "fastapi.Body", "fastapi.Header", "fastapi.Path", "fastapi.Cookie", "fastapi.Form", "fastapi.File", "fastapi.Security", ] [tool.ruff.lint.per-file-ignores] "**/test_*.py" = ["B008"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] addopts = "--import-mode=prepend" [tool.mypy] python_version = "3.11" strict = false warn_return_any = true warn_unused_ignores = true warn_redundant_casts = true check_untyped_defs = true ignore_missing_imports = true [[tool.mypy.overrides]] module = ["pybit.*", "alpaca.*", "hyperliquid.*", "pythonjsonlogger.*"] ignore_missing_imports = true [dependency-groups] dev = [ "pytest>=9.0.3", "pytest-asyncio>=1.3.0", "pytest-httpx>=0.36.2", "mypy>=1.13", "ruff>=0.5,<0.6", ]