Update example servers to use mcp.server.lowlevel

This commit is contained in:
David Soria Parra 2024-12-19 20:51:59 +00:00
commit bed35f3737
No known key found for this signature in database

View file

@ -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.",