[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "prometheus-mcp"
version = "0.1.0"
description = "MCP server for AWS Managed Prometheus with SigV4 authentication"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = ["mcp", "prometheus", "aws", "amp", "promql"]
authors = [
{ name = "DeepTrace", email = "support@deeptrace.ai" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"mcp>=1.0.0",
"httpx>=0.27.0",
"boto3>=1.34.0",
"botocore>=1.34.0",
"pydantic>=2.5.0",
"uvicorn>=0.27.0",
"starlette>=0.36.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"moto[sts]>=5.0.0",
"respx>=0.21.0",
"ruff>=0.2.0",
"mypy>=1.8.0",
]
[project.scripts]
prometheus-mcp = "prometheus_mcp.server:main"
[project.urls]
Documentation = "https://github.com/deeptrace/prometheus-mcp#readme"
Issues = "https://github.com/deeptrace/prometheus-mcp/issues"
Source = "https://github.com/deeptrace/prometheus-mcp"
[tool.hatch.build.targets.wheel]
packages = ["prometheus_mcp"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true