Skip to content

Commit c86b85b

Browse files
committed
fix: Add documentation on mcp run doesn't support low-level server
1 parent 29682e9 commit c86b85b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ python server.py
348348
mcp run server.py
349349
```
350350

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

353355
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__":
543545
asyncio.run(run())
544546
```
545547

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

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

0 commit comments

Comments
 (0)