[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "witty-mcp-manager"
version = "1.0.0"
description = "Universal MCP Host/Loader for Witty Assistant"
readme = "README.md"
license = { text = "MulanPSL-2.0" }
authors = [
{ name = "Shoucheng He", email = "heshoucheng@huawei.com" },
{ name = "Hongyu Shi", email = "shywzt@iCloud.com" },
{ name = "Shunan Tang", email = "tangshunan1@huawei.com" },
]
maintainers = [
{ name = "openEuler SIG-Intelligence", email = "intelligence@openeuler.org" },
]
keywords = ["mcp", "witty", "openeuler", "ai-assistant", "tool-server"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Systems Administration",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Mulan Permissive Software License v2 (MulanPSL-2.0)",
]
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.12.5",
"pyyaml>=6.0.3",
"fastapi>=0.128.0",
"uvicorn>=0.40.0",
"httpx>=0.28.1",
"mcp>=1.26.0",
"typer>=0.21.1",
"rich>=14.3.1",
]
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.14.14",
"mypy>=1.19.1",
"types-PyYAML>=6.0.12",
]
[project.scripts]
witty-mcp = "witty_mcp_manager.cli.main:app"
[project.urls]
Homepage = "https://atomgit.com/openeuler/euler-copilot-framework"
Documentation = "https://atomgit.com/openeuler/euler-copilot-framework/tree/master/docs"
Repository = "https://atomgit.com/openeuler/euler-copilot-framework"
Issues = "https://atomgit.com/openeuler/euler-copilot-framework/issues"
[tool.hatch.build.targets.sdist]
include = ["/src"]
[tool.hatch.build.targets.wheel]
packages = ["src/witty_mcp_manager"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py311"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401",
"ARG002",
"COM812",
"D400",
"D415",
"PYI019",
"RUF001",
"RUF002",
"RUF003",
"S104",
"TD002",
"TD003",
"INP001",
"D203",
"D212",
"S101",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = [
"ANN",
"D",
"S",
"PLR2004",
"PLC0415",
]
"src/witty_mcp_manager/cli/main.py" = [
"FBT001",
]
"src/witty_mcp_manager/exceptions.py" = [
"D107",
]
"src/witty_mcp_manager/registry/models.py" = [
"TC003",
]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
strict = true