Skip to content

Commit 9f6df59

Browse files
committed
fix: Add documentation on mcp run doesn't support low-level server
1 parent 443970f commit 9f6df59

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
@@ -387,6 +387,8 @@ python server.py
387387
mcp run server.py
388388
```
389389

390+
Note that `mcp run` or `mcp dev` only supports server using FastMCP and not the low-level server variant.
391+
390392
### Streamable HTTP Transport
391393

392394
> **Note**: Streamable HTTP transport is superseding SSE transport for production deployments.
@@ -694,6 +696,8 @@ if __name__ == "__main__":
694696
asyncio.run(run())
695697
```
696698

699+
Caution: The `mcp run` and `mcp dev` tool doesn't support low-level server.
700+
697701
### Writing MCP Clients
698702

699703
The SDK provides a high-level client interface for connecting to MCP servers using various [transports](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports):

0 commit comments

Comments
 (0)