fix markdown error in README in main (#1147)

This commit is contained in:
Inna Harper 2025-07-15 13:23:37 +01:00 • committed by GitHub
commit 6566c08446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -950,13 +950,12 @@ By default, SSE servers are mounted at `/sse` and Streamable HTTP servers are mo
The following example shows how to use `streamable_http_app()`, a method that returns a `Starlette` application object.
You can then append additional routes to that application as needed.
```
from starlette.routing import Route
```python
mcp = FastMCP("My App")
app = mcp.streamable_http_app()
# Additional non-MCP routes can be added like so:
# from starlette.routing import Route
# app.router.routes.append(Route("/", endpoint=other_route_function))
```