nat.plugins.fastmcp.cli.commands#
FastMCP CLI commands for NeMo Agent Toolkit.
Functions#
FastMCP-related commands. |
|
FastMCP server commands. |
|
|
Run the upstream |
|
|
|
|
|
Developer-focused FastMCP server runner with reload support. |
|
Generate client config snippets for a FastMCP server. |
|
|
|
|
|
Generate Cursor MCP config. |
Generate a NAT MCP client config snippet for a FastMCP server. |
Module Contents#
- fastmcp_command()#
FastMCP-related commands.
- fastmcp_server_command()#
FastMCP server commands.
- _run_fastmcp_cli(subcommand: list[str], extra_args: list[str]) None#
Run the upstream
fastmcpCLI with passthrough arguments.- Args:
subcommand: The
fastmcpsubcommand chain to invoke. extra_args: Additional CLI arguments to forward.
- _stop_process(proc: subprocess.Popen) None#
- fastmcp_server_dev(
- ctx: click.Context,
- config_file: pathlib.Path,
- override: tuple[tuple[str, str], Ellipsis],
- reload: bool,
- watch_path: tuple[pathlib.Path, Ellipsis],
- reload_debounce: int,
- reload_cooldown: float,
- reload_include_glob: tuple[str, Ellipsis],
- reload_exclude_glob: tuple[str, Ellipsis],
Developer-focused FastMCP server runner with reload support.