mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 14:54:24 +01:00
Update example servers to use mcp.server.lowlevel
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import anyio
|
||||
import click
|
||||
import mcp.types as types
|
||||
from mcp.server import AnyUrl, Server
|
||||
from pydantic import AnyUrl
|
||||
from mcp.server.lowlevel import Server
|
||||
|
||||
SAMPLE_RESOURCES = {
|
||||
"greeting": "Hello! This is a sample text resource.",
|
||||
|
||||
Reference in New Issue
Block a user