docs/python-sdk/fastmcp-cli-deploy-command.mdx
fastmcp.cli.deploy.commandPublic Prefect Horizon authentication commands.
login <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/cli/deploy/command.py#L195" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>login() -> None
Sign in to Prefect Horizon.
whoami <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/cli/deploy/command.py#L303" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>whoami() -> None
Show the current Prefect Horizon user.
logout <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/cli/deploy/command.py#L353" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>logout() -> None
Revoke the current Horizon key and remove the local credential.