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
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -348,6 +348,8 @@ python server.py
348
348
mcp run server.py
349
349
```
350
350
351
+
Note that `mcp run` or `mcp dev` only supports server using FastMCP and not the low-level server variant.
352
+
351
353
### Mounting to an Existing ASGI Server
352
354
353
355
You can mount the SSE server to an existing ASGI server using the `sse_app` method. This allows you to integrate the SSE server with other ASGI applications.
@@ -543,6 +545,8 @@ if __name__ == "__main__":
543
545
asyncio.run(run())
544
546
```
545
547
548
+
Caution: The `mcp run` and `mcp dev` tool doesn't support low-level server.
549
+
546
550
### Writing MCP Clients
547
551
548
552
The SDK provides a high-level client interface for connecting to MCP servers:
0 commit comments