python-sdk/src/mcp/server/models.py
David Soria Parra ec8c85edea
run ruff
2024-11-11 20:42:46 +00:00

16 lines
305 B
Python

"""
This module provides simpler types to use with the server for managing prompts
and tools.
"""
from pydantic import BaseModel
from mcp.types import (
ServerCapabilities,
)
class InitializationOptions(BaseModel):
server_name: str
server_version: str
capabilities: ServerCapabilities