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
For more information on mounting applications in Starlette, see the [Starlette documentation](https://www.starlette.io/routing/#submounting-routes).
387
387
388
-
#### Message Queue Options
388
+
#### Message Dispatch Options
389
389
390
-
By default, the SSE server uses an in-memory message queue for incoming POST messages. For production deployments or distributed scenarios, you can use Redis:
390
+
By default, the SSE server uses an in-memory message dispatch system for incoming POST messages. For production deployments or distributed scenarios, you can use Redis or implement your own message dispatch system that conforms to the `MessageDispatch` protocol:
391
391
392
392
```python
393
-
# Using the built-in Redis message queue
393
+
# Using the built-in Redis message dispatch
394
394
from mcp.server.fastmcp import FastMCP
395
-
from mcp.server.message_queue importRedisMessageQueue
395
+
from mcp.server.message_queue importRedisMessageDispatch
0 commit comments