Skip to content

Commit 6566c08

Browse files
authored
fix markdown error in README in main (#1147)
1 parent 0130f5b commit 6566c08

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -950,13 +950,12 @@ By default, SSE servers are mounted at `/sse` and Streamable HTTP servers are mo
950950
The following example shows how to use `streamable_http_app()`, a method that returns a `Starlette` application object.
951951
You can then append additional routes to that application as needed.
952952

953-
```
954-
from starlette.routing import Route
955-
953+
```python
956954
mcp = FastMCP("My App")
957955

958956
app = mcp.streamable_http_app()
959957
# Additional non-MCP routes can be added like so:
958+
# from starlette.routing import Route
960959
# app.router.routes.append(Route("/", endpoint=other_route_function))
961960
```
962961

0 commit comments

Comments
 (0)