Spaces:
Sleeping
Sleeping
Commit History
-
update
Dylan Mann-Krzisnik5c631e4 -
Fix 500 error: use stateless_http=True for MCP sub-app mount
Dylan Mann-Krzisnik +1: Claude Sonnet 4.6FastAPI does not propagate the lifespan of mounted sub-apps, so the StreamableHTTPSessionManager task group was never initialized, causing every request to /mcp to return 500. stateless_http=True removes the session manager entirely — each request creates its own short-lived session, which is correct for a stateless tool-serving MCP. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>58a1cb0 -
Return OAuth-shaped errors for Claude Code probing
Dylan Mann-Krzisnik642a57d -
Add /upload and /outputs endpoints for file persistence; add / health check
Dylan Mann-Krzisnik- Wrap FastMCP server in FastAPI app to add extra HTTP routes - POST /upload: upload local files to server's /data/inputs directory - GET /outputs/{name}: download files from server's /data/outputs directory - GET /: health check endpoint for HF Spaces liveness probes - Mount MCP sub-app at /mcp with correct path handling - Add python-multipart dependency for file upload support86ef064 -
Fix repo layout / Dockerfile paths
Dylan Mann-Krzisnik5c47821