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
|
|
@ -1,10 +1,10 @@
|
|||
"""Drive the sticky-notes board end to end and prove `remove_all` clears only on a confirmed elicitation."""
|
||||
|
||||
import anyio
|
||||
import mcp_types as types
|
||||
from mcp_types.version import HANDSHAKE_PROTOCOL_VERSIONS
|
||||
|
||||
import mcp.types as types
|
||||
from mcp.client import Client, ClientRequestContext, IncomingMessage
|
||||
from mcp.types.version import HANDSHAKE_PROTOCOL_VERSIONS
|
||||
from stories._harness import Target, run_client
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ from contextlib import asynccontextmanager
|
|||
from dataclasses import dataclass, field
|
||||
from typing import Any
|
||||
|
||||
import mcp_types as types
|
||||
|
||||
import mcp.types as types
|
||||
from mcp.server.context import ServerRequestContext
|
||||
from mcp.server.lowlevel import Server
|
||||
from stories._hosting import run_server_from_args
|
||||
|
|
|
|||
Loading…
Reference in a new issue