refactor: replace mcp.types as types to from mcp import types (#1986)
This commit is contained in:
parent
4fc49c62bd
commit
1a8c14a5b8
1 changed files with 66 additions and 73 deletions
|
|
@ -25,8 +25,7 @@ from starlette.applications import Starlette
|
|||
from starlette.requests import Request
|
||||
from starlette.routing import Mount
|
||||
|
||||
import mcp.types as types
|
||||
from mcp import MCPError
|
||||
from mcp import MCPError, types
|
||||
from mcp.client.session import ClientSession
|
||||
from mcp.client.streamable_http import StreamableHTTPTransport, streamable_http_client
|
||||
from mcp.server import Server
|
||||
|
|
|
|||
Loading…
Reference in a new issue