Fix module mode docstring example order

This commit is contained in:
dgenio 2026-02-28 11:44:13 +00:00 committed by Jeremiah Lowin
commit d35ce8dd2e

View file

@ -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