From 5a91b4a952983c3ef7d5ebf20c02033dac78cf3b Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Tue, 18 Mar 2025 16:38:22 -0400 Subject: [PATCH] x --- mcpdoc/cli.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/mcpdoc/cli.py b/mcpdoc/cli.py index d7e0087..ba68eea 100644 --- a/mcpdoc/cli.py +++ b/mcpdoc/cli.py @@ -230,14 +230,15 @@ def main() -> None: timeout=args.timeout, settings=settings, ) - print() - print(SPLASH) - print() - print( - f"Launching MCPDOC server with {len(doc_sources)} doc sources", - file=sys.stderr, - ) + if args.transport == "sse": + print() + print(SPLASH) + print() + + print( + f"Launching MCPDOC server with {len(doc_sources)} doc sources", + ) # Pass transport-specific options server.run(transport=args.transport)