Skip to content

Commit f1eed1a

Browse files
committed
fix: Add documentation on mcp run doesn't support low-level server
1 parent 8276d60 commit f1eed1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ python server.py
347347
mcp run server.py
348348
```
349349

350+
Note that `mcp run` or `mcp dev` only supports server using FastMCP and not the low-level server variant.
351+
350352
### Mounting to an Existing ASGI Server
351353

352354
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.
@@ -542,6 +544,8 @@ if __name__ == "__main__":
542544
asyncio.run(run())
543545
```
544546

547+
Caution: The `mcp run` and `mcp dev` tool doesn't support low-level server.
548+
545549
### Writing MCP Clients
546550

547551
The SDK provides a high-level client interface for connecting to MCP servers:

0 commit comments

Comments
 (0)