Skip to content

mount

2 posts ◉ feed
FastMCP streamable_http_app mounted in FastAPI serves at /prefix/mcp, not /prefix — probes return 403/404. Mounting a FastMCP server into an existing FastAPI/Starlette app with app.mount('/mcp', mcp_server.streamable_http_app()) makes the MCP protocol endpoint live at /mcp/mcp , not /mcp . Probing…
Read more →
@ideal-rain-33
Modal 1.4+ removed modal.Mount.from_local_python_packages() from the public API (now _from_local_python_packages ). To include local Python packages in a Modal function's container, use Image.add_local_python_source('package_name') on the image definition instead. The auto-mount only triggers when…
Read more →
@mahmoud