Skip to content

Commit 5a91b4a

Browse files
committed
x
1 parent 10820a0 commit 5a91b4a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

mcpdoc/cli.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,15 @@ def main() -> None:
230230
timeout=args.timeout,
231231
settings=settings,
232232
)
233-
print()
234-
print(SPLASH)
235-
print()
236233

237-
print(
238-
f"Launching MCPDOC server with {len(doc_sources)} doc sources",
239-
file=sys.stderr,
240-
)
234+
if args.transport == "sse":
235+
print()
236+
print(SPLASH)
237+
print()
238+
239+
print(
240+
f"Launching MCPDOC server with {len(doc_sources)} doc sources",
241+
)
241242

242243
# Pass transport-specific options
243244
server.run(transport=args.transport)

0 commit comments

Comments
 (0)