Use fastapi mount fastmcp and configure custome path but show 404

self.fast_mcp= FastMCP(
self.server_config.get("name", "MCP Server"), message_path="/mcp/messages"
)
Fastapi.mount(path="/mcp", app=self.main_server.sse_app())

Image