π The fast, Pythonic way to build MCP servers and clients.
Fix module mode docstring example order
dgeniod35ce8dd2eb1
diff --git a/src/fastmcp/cli/cli.py b/src/fastmcp/cli/cli.pyindex 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 file5. FastMCP config: "fastmcp.json" - runs server using FastMCP configuration6. 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 -mServer arguments can be passed after -- :fastmcp run server.py -- --config config.json --debug