From d35ce8dd2eb13cac5ece7bf1bb67a82f99d095e6 Mon Sep 17 00:00:00 2001 From: dgenio Date: Sat, 28 Feb 2026 11:44:13 +0000 Subject: [PATCH] Fix module mode docstring example order --- src/fastmcp/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastmcp/cli/cli.py b/src/fastmcp/cli/cli.py index 777f067f5..bdacd4851 100644 --- a/src/fastmcp/cli/cli.py +++ b/src/fastmcp/cli/cli.py @@ -456,7 +456,7 @@ async def run( 4. MCPConfig file: "mcp.json" - runs as a proxy server for the MCP Servers in the MCPConfig file 5. FastMCP config: "fastmcp.json" - runs server using FastMCP configuration 6. No argument: looks for fastmcp.json in current directory - 7. Module mode: "my_module -m" - runs the module directly via python -m + 7. Module mode: "-m my_module" - runs the module directly via python -m Server arguments can be passed after -- : fastmcp run server.py -- --config config.json --debug