Skip to content

Commit e72e167

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

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
@@ -346,6 +346,8 @@ python server.py
346346
mcp run server.py
347347
```
348348

349+
Note that `mcp run` or `mcp dev` only supports server using FastMCP and not the low-level server variant.
350+
349351
## Examples
350352

351353
### Echo Server
@@ -516,6 +518,8 @@ if __name__ == "__main__":
516518
asyncio.run(run())
517519
```
518520

521+
Caution: The `mcp run` and `mcp dev` tool doesn't support low-level server.
522+
519523
### Writing MCP Clients
520524

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

0 commit comments

Comments
 (0)