@@ -10,7 +10,7 @@ FastMCP run command implementation with enhanced type hints.
1010
1111## Functions
1212
13- ### ` is_url ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L80 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
13+ ### ` is_url ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L81 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
1414
1515``` python
1616is_url(path: str ) -> bool
@@ -20,7 +20,7 @@ is_url(path: str) -> bool
2020Check if a string is a URL.
2121
2222
23- ### ` create_client_server ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L86 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
23+ ### ` create_client_server ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L87 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
2424
2525``` python
2626create_client_server(url: str ) -> Any
@@ -36,7 +36,7 @@ Create a FastMCP server from a client URL.
3636- A FastMCP server instance
3737
3838
39- ### ` create_mcp_config_server ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L106 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
39+ ### ` create_mcp_config_server ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L107 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
4040
4141``` python
4242create_mcp_config_server(mcp_config_path: Path) -> FastMCP[None ]
@@ -46,7 +46,7 @@ create_mcp_config_server(mcp_config_path: Path) -> FastMCP[None]
4646Create a FastMCP server from a MCPConfig.
4747
4848
49- ### ` load_mcp_server_config ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L115 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
49+ ### ` load_mcp_server_config ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L116 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
5050
5151``` python
5252load_mcp_server_config(config_path: Path) -> MCPServerConfig
@@ -62,7 +62,7 @@ Load a FastMCP configuration from a fastmcp.json file.
6262- MCPServerConfig object
6363
6464
65- ### ` run_command ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L132 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
65+ ### ` run_command ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L133 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
6666
6767``` python
6868run_command(server_spec: str , transport: TransportType | None = None , host: str | None = None , port: int | None = None , path: str | None = None , log_level: LogLevelType | None = None , server_args: list[str ] | None = None , show_banner: bool = True , use_direct_import: bool = False , skip_source: bool = False , stateless: bool = False ) -> None
@@ -85,7 +85,7 @@ Run a MCP server or connect to a remote one.
8585- ` stateless ` : Whether to run in stateless mode (no session)
8686
8787
88- ### ` run_v1_server_async ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L257 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
88+ ### ` run_v1_server_async ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L258 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
8989
9090``` python
9191run_v1_server_async(server: FastMCP1x, host: str | None = None , port: int | None = None , transport: TransportType | None = None ) -> None
@@ -101,7 +101,7 @@ Run a FastMCP 1.x server using async methods.
101101- ` transport ` : Transport protocol to use
102102
103103
104- ### ` run_with_reload ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L298 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
104+ ### ` run_with_reload ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/run.py#L323 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
105105
106106``` python
107107run_with_reload(cmd: list[str ], reload_dirs: list[Path] | None = None , is_stdio: bool = False ) -> None
0 commit comments