- Add private SQLite feed indexing, publisher-attributed advisory search and scoped HTTP routes. - Exercise supported proxy protocols, cancellation, version applicability and the stdio lifecycle. - Gate Docker builds on Python 3.12/3.13 tests and branch-aware coverage.
46 lines
872 B
TOML
46 lines
872 B
TOML
[build-system]
|
|
requires = ["uv_build>=0.11,<0.12"]
|
|
build-backend = "uv_build"
|
|
|
|
[project]
|
|
name = "vuln-mcp"
|
|
version = "0.1.0"
|
|
description = "Read-only hybrid search of publisher advisories and remediation evidence"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"mcp>=2,<3",
|
|
"pydantic>=2,<3",
|
|
"httpx[socks]>=0.28,<1",
|
|
"python-dotenv>=1,<2",
|
|
"platformdirs>=4,<5",
|
|
"filelock>=3,<4",
|
|
"packageurl-python>=0.16,<2",
|
|
"packaging>=24",
|
|
"semver>=3,<4",
|
|
]
|
|
|
|
[project.scripts]
|
|
vuln-mcp = "vuln_mcp.server:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8,<10",
|
|
"anyio>=4,<5",
|
|
"trustme>=1,<2",
|
|
"pytest-cov>=7,<8",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
source = ["vuln_mcp"]
|
|
patch = ["subprocess"]
|
|
relative_files = true
|
|
|
|
[tool.coverage.report]
|
|
fail_under = 85
|
|
precision = 2
|
|
show_missing = true
|