Skip to content

Commit b90da48

Browse files
committed
docs: Update README to recommend mcp.server.lowlevel and deprecate mcp.server
1 parent aa3b550 commit b90da48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ FastMCP was originally developed by Jeremiah Lowin at [jlowin/fastmcp](https://g
9797

9898
### Low-Level Implementation
9999

100-
For more control, you can use the low-level MCP implementation directly. This gives you full access to the protocol and allows you to customize every aspect of your server:
100+
For more control, you can use the low-level MCP implementation directly. This gives you full access to the protocol and allows you to customize every aspect of your server. We recommend using `mcp.server.lowlevel` for all low-level server implementations, as the direct `mcp.server` imports will be deprecated and removed in SDK 2.0.0.
101101

102102
```python
103-
from mcp.server import Server, NotificationOptions
103+
from mcp.server.lowlevel import Server, NotificationOptions
104104
from mcp.server.models import InitializationOptions
105105
import mcp.server.stdio
106106
import mcp.types as types

0 commit comments

Comments
 (0)