Agent CLI commands
The following commands are available when interacting with the authentik Agent via the command line.
The following commands are available when interacting with the authentik Agent via the command line.
The authentik Agent includes a Model Context Protocol (MCP) server, ak mcp. With it, AI clients such as Claude Code, Codex, or Cursor can send requests to applications that are protected by authentik, and to the authentik API, without receiving your credentials or tokens.
You can use the authentik Agent to authenticate to the AWS CLI with authentik credentials. The Agent exchanges them for temporary AWS credentials through one of two federation methods:
The authentik Agent can authenticate to CLI applications such as:
You can use the authentik Agent to run the HashiCorp Vault CLI (vault) or the OpenBao CLI (bao) with your authentik credentials, without running vault login.
You can use the authentik Agent to authenticate to kubectl with authentik credentials.