initial server

This commit is contained in:
John Lancaster
2026-06-18 19:16:06 -05:00
parent 9b02007216
commit dbaaad8df8
21 changed files with 1886 additions and 286 deletions
@@ -0,0 +1,16 @@
from fastmcp import FastMCP
fastapi_uv_docker_server = FastMCP("fastapi-uv-docker")
@fastapi_uv_docker_server.tool()
def fastapi_uv_docker_mvp_checklist(current_state: str = "bare python project") -> list[str]:
"""Return a compact migration checklist for FastAPI + uv + Docker."""
return [
f"Current state: {current_state}",
"Create src/ package layout for the FastAPI app.",
"Manage dependencies with uv and keep uv.lock committed.",
"Use an app factory and lifespan hooks.",
"Add /healthz endpoint for operational checks.",
"Build with a multi-stage Dockerfile and run as non-root user.",
]