Skip to content

Commit 278334c

Browse files
niechenclaude
andcommitted
fix: suppress FastMCP banner in run command
Hide the FastMCP startup banner by setting show_banner=False for both stdio and HTTP modes. This provides a cleaner user experience without the verbose FastMCP branding output. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 172a4e8 commit 278334c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mcpm/commands/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ async def run_server_with_fastmcp(server_config, server_name, http_mode=False, p
7373

7474
# Run FastMCP proxy in HTTP mode with uvicorn logging control
7575
await proxy.run_http_async(
76-
host="127.0.0.1", port=actual_port, uvicorn_config={"log_level": get_uvicorn_log_level()}
76+
host="127.0.0.1", port=actual_port, show_banner=False, uvicorn_config={"log_level": get_uvicorn_log_level()}
7777
)
7878
else:
7979
# Run FastMCP proxy in stdio mode (default)
8080
logger.info(f"Starting server '{server_name}' over stdio")
81-
await proxy.run_stdio_async()
81+
await proxy.run_stdio_async(show_banner=False)
8282

8383
return 0
8484

0 commit comments

Comments
 (0)