Update example servers to use mcp.server.lowlevel

This commit is contained in:
David Soria Parra
2024-12-19 20:51:59 +00:00
parent b90da481eb
commit bed35f3737
3 changed files with 4 additions and 3 deletions

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