Add mcp.types as a permanent alias for mcp_types (#3190)

This commit is contained in:
Max 2026-07-27 23:47:04 +01:00 • committed by GitHub
commit b7c9a916d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 467 additions and 364 deletions

View file

@ -2,8 +2,7 @@
from typing import Literal
import mcp_types as types
import mcp.types as types
from mcp.client import Client
from stories._harness import Target, run_client

View file

@ -6,8 +6,7 @@ story's `server.py` is lowlevel-native (no `server_lowlevel.py` sibling).
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