Update example servers to use mcp.server.lowlevel
This commit is contained in:
parent
b90da481eb
commit
bed35f3737
1 changed files with 4 additions and 3 deletions
|
|
@ -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.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue