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
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -387,6 +387,8 @@ python server.py
387
387
mcp run server.py
388
388
```
389
389
390
+
Note that `mcp run` or `mcp dev` only supports server using FastMCP and not the low-level server variant.
391
+
390
392
### Streamable HTTP Transport
391
393
392
394
> **Note**: Streamable HTTP transport is superseding SSE transport for production deployments.
@@ -457,7 +459,6 @@ The streamable HTTP transport supports:
457
459
- JSON or SSE response formats
458
460
- Better scalability for multi-node deployments
459
461
460
-
461
462
### Mounting to an Existing ASGI Server
462
463
463
464
> **Note**: SSE transport is being superseded by [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http).
@@ -694,6 +695,8 @@ if __name__ == "__main__":
694
695
asyncio.run(run())
695
696
```
696
697
698
+
Caution: The `mcp run` and `mcp dev` tool doesn't support low-level server.
699
+
697
700
### Writing MCP Clients
698
701
699
702
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