> ## Documentation Index
> Fetch the complete documentation index at: https://gofastmcp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# command

# `fastmcp.cli.deploy.command`

Public Prefect Horizon authentication commands.

## Functions

### `login` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/cli/deploy/command.py#L195](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/cli/deploy/command.py#L195)</sup>

```python theme={"theme":{"light":"snazzy-light","dark":"dark-plus"}}
login() -> None
```

Sign in to Prefect Horizon.

### `whoami` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/cli/deploy/command.py#L303](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/cli/deploy/command.py#L303)</sup>

```python theme={"theme":{"light":"snazzy-light","dark":"dark-plus"}}
whoami() -> None
```

Show the current Prefect Horizon user.

### `logout` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/cli/deploy/command.py#L353](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/cli/deploy/command.py#L353)</sup>

```python theme={"theme":{"light":"snazzy-light","dark":"dark-plus"}}
logout() -> None
```

Revoke the current Horizon key and remove the local credential.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.