Skip to content

Commit 26bc4e9

Browse files
committed
formatting issues
1 parent baca2b6 commit 26bc4e9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/mcp/cli/cli.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,10 @@ def _check_server_object(server_object: Any, object_name: str):
152152
"""
153153

154154
if not isinstance(server_object, FastMCP):
155-
logger.error(
156-
f"The server object {object_name} is of type {type(server_object)} (expecting {FastMCP})."
157-
)
155+
logger.error(f"The server object {object_name} is of type {type(server_object)} (expecting {FastMCP}).")
158156
if isinstance(server_object, LowLevelServer):
159157
logger.warning(
160-
"Note that only FastMCP server (from ) is supported. Low level Server class is not yet supported."
158+
"Note that only FastMCP server is supported. Low level Server class is not yet supported."
161159
)
162160
return False
163161
return True

0 commit comments

Comments
 (0)