Add mcp.types as a permanent alias for mcp_types (#3190)
This commit is contained in:
parent
923341c98a
commit
b7c9a916d6
2 changed files with 467 additions and 364 deletions
|
|
@ -10,7 +10,7 @@ from dataclasses import dataclass
|
|||
from uuid import uuid4
|
||||
|
||||
from mcp.server.streamable_http import EventCallback, EventId, EventMessage, EventStore, StreamId
|
||||
from mcp_types import JSONRPCMessage
|
||||
from mcp.types import JSONRPCMessage
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import logging
|
|||
|
||||
import anyio
|
||||
import click
|
||||
import mcp_types as types
|
||||
import mcp.types as types
|
||||
import uvicorn
|
||||
from mcp.server import Server, ServerRequestContext
|
||||
from starlette.middleware.cors import CORSMiddleware
|
||||
|
|
|
|||
Loading…
Reference in a new issue