7. FastAPI + Async Python Lifespan hooks keep the MCP server alive across all requests (not spawned per request) Pydantic request validation, async route handlers app.state shares tools and API client ...