You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently FastMcp runs uvicorn app with single worker and it does not have any option to provide workers param with higher value. There is no option to give extra settings to uvicorn server. This is same for sse and streamable http .
async def run_sse_async(self, mount_path: str | None = None) -> None:
"""Run the server using SSE transport."""
import uvicorn
starlette_app = self.sse_app(mount_path)
config = uvicorn.Config(
starlette_app,
host=self.settings.host,
port=self.settings.port,
log_level=self.settings.log_level.lower(),
)
server = uvicorn.Server(config)
await server.serve()
@Kludex you are fastapi and uvicorn expert. could you please help with this ?