From 6566c08446ad37b66f1457532c7f5a14f243ae10 Mon Sep 17 00:00:00 2001 From: Inna Harper Date: Tue, 15 Jul 2025 13:23:37 +0100 Subject: [PATCH] fix markdown error in README in main (#1147) --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f3c1bb1..c5fb473c 100644 --- a/README.md +++ b/README.md @@ -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)) ```