36 lines
1 KiB
TOML
36 lines
1 KiB
TOML
|
|
[project]
|
||
|
|
name = "fleetanalytics-mcp"
|
||
|
|
version = "1.0.0"
|
||
|
|
description = "Fireside Communications — read-only Fleet Analytics MCP server (decision & analytics team)"
|
||
|
|
readme = "README.md"
|
||
|
|
requires-python = ">=3.12"
|
||
|
|
authors = [
|
||
|
|
{ name = "Fireside DevOps", email = "devops@firesideafrica.cloud" }
|
||
|
|
]
|
||
|
|
dependencies = [
|
||
|
|
"mcp[cli]>=1.2", # MCP server SDK (FastMCP, streamable HTTP)
|
||
|
|
"psycopg2-binary>=2.9.9", # Postgres driver (binary wheels — easy in Docker)
|
||
|
|
"uvicorn[standard]>=0.30.0", # ASGI server
|
||
|
|
"starlette>=0.37", # Bearer-auth middleware + /healthz route (pulled in by mcp, pinned for clarity)
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
dev = [
|
||
|
|
"ruff>=0.4",
|
||
|
|
"mypy>=1.10",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.uv]
|
||
|
|
# Flat single-module project (analytics_mcp.py) — don't try to build/install it as
|
||
|
|
# a package; just manage the dependency venv.
|
||
|
|
package = false
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
target-version = "py312"
|
||
|
|
line-length = 100
|
||
|
|
select = ["E", "W", "F", "B", "UP", "SIM"]
|
||
|
|
|
||
|
|
[tool.mypy]
|
||
|
|
python_version = "3.12"
|
||
|
|
ignore_missing_imports = true
|