[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "openclaw-mcp"
version = "0.1.0"
description = "FastMCP 2.14+ server for OpenClaw/Moltbook ecosystem integration with dialogic tool returns"
authors = [
{name = "Sandraschi", email = "sandra@example.com"}
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
keywords = ["mcp", "openclaw", "moltbook", "clawdbot", "fastmcp"]
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"
]
dependencies = [
"fastmcp>=2.14.3,<2.15.0",
"httpx>=0.27.0",
"pydantic>=2.9.0",
"pydantic-settings>=2.6.0",
"python-dotenv>=1.0.1",
"structlog>=24.4.0",
]
[project.optional-dependencies]
webapp-api = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=5.0.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
"pre-commit>=3.6.0",
]
[project.urls]
Homepage = "https://github.com/sandraschi/openclaw-mcp"
Repository = "https://github.com/sandraschi/openclaw-mcp.git"
Documentation = "https://docs.openclaw.ai"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --tb=short"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP", "S"]
ignore = ["E501", "B008", "C901", "B904"]
exclude = ["__pycache__", ".git", ".venv", "venv", "dist", "build"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"] # Allow assert in tests
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
show_error_codes = true
[[tool.mypy.overrides]]
module = ["fastmcp.*"]
ignore_missing_imports = true