Authentik MCP Server

Manage Authentik through AI assistants

Local serverstdioTypeScript

What is the Authentik MCP server?

Authentik MCP server exists for a simple reason — assistants are far more useful when they can act on Authentik directly instead of describing what you should do. Manage Authentik through AI assistants.

What you get

MCP server for Authentik identity management. Manage users, groups, applications, flows, policies, providers, and more through natural language in Cursor, Claude Code, and Claude Desktop.

  • 297 tools — across 22 categories covering the complete Authentik API
  • Read-only mode — via AUTHENTIK_ACCESS_TIER=read-only for safe monitoring
  • Category filtering — via AUTHENTIK_CATEGORIES to expose only the tools you need
  • Type-safe SDK client — via @goauthentik/api
  • Docker images — for linux/amd64 and linux/arm64 on GHCR
  • Remote MCP — via HTTP transport (MCP_TRANSPORT=http) using the Streamable HTTP protocol

What the assistant can call

Once Authentik is connected, these are the calls the assistant has available:

  • authentik_admin_system_info — Get system information including HTTP host, runtime environment, server time, and embedded outpost status
  • authentik_admin_version — Get Authentik version information including current version and build hash
  • authentik_admin_settings_get — Get current system settings
  • authentik_admin_settings_update — Update system settings (partial update)
  • authentik_admin_apps — List installed Django applications in the Authentik instance
  • authentik_admin_models — List all data models available in the Authentik instance
  • authentik_admin_version_history — List Authentik version history entries
  • authentik_admin_system_task_trigger — Trigger all system tasks (e.g., cleanup, cache clear)
  • authentik_authenticators_list — List all authenticator devices across all types for the current user
  • authentik_authenticators_admin_by_type_list — List authenticator devices of a specific type (admin view)
  • authentik_authenticators_admin_by_type_get — Get a single authenticator device by type and ID (admin view)
  • authentik_authenticators_admin_by_type_delete — Delete an authenticator device by type and ID (admin view)

Setting it up

The server ships on npm as @samik081/mcp-authentik, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need 2 environment variables: AUTHENTIK_URL, AUTHENTIK_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

This sits in the team communication group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Authentik's toolset — authentik_admin_system_info, authentik_admin_version, authentik_admin_settings_get and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Samik081; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Authentik's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Authentik.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the authentik mcp server does with a few real requests.

Available tools

ToolWhat it does
authentik_admin_system_infoGet system information including HTTP host, runtime environment, server time, and embedded outpost status
authentik_admin_versionGet Authentik version information including current version and build hash
authentik_admin_settings_getGet current system settings
authentik_admin_settings_updateUpdate system settings (partial update)
authentik_admin_appsList installed Django applications in the Authentik instance
authentik_admin_modelsList all data models available in the Authentik instance
authentik_admin_version_historyList Authentik version history entries
authentik_admin_system_task_triggerTrigger all system tasks (e.g., cleanup, cache clear)
authentik_authenticators_listList all authenticator devices across all types for the current user
authentik_authenticators_admin_by_type_listList authenticator devices of a specific type (admin view)
authentik_authenticators_admin_by_type_getGet a single authenticator device by type and ID (admin view)
authentik_authenticators_admin_by_type_deleteDelete an authenticator device by type and ID (admin view)
authentik_authenticators_user_by_type_listList authenticator devices of a specific type for the current user
authentik_users_listList users with optional filters for username, email, name, active status, superuser status, path, groups, and search

How to install the Authentik MCP server

**Docker (stdio):**

```json
{
  "mcpServers": {
    "authentik": {
      "command": "docker",
      "args": ["run", "--rm", "-i",
        "-e", "AUTHENTIK_URL=https://auth.example.com",
        "-e", "AUTHENTIK_TOKEN=your-api-token",
        "ghcr.io/samik081/mcp-authentik"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
AUTHENTIK_URLEndpoint or connection string the server talks to.Yes
AUTHENTIK_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Authentik to authentik admin system info.
  • Use Authentik to authentik admin version.
  • Use Authentik to authentik admin settings get.

Frequently asked questions

It connects Authentik to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (authentik_admin_system_info, authentik_admin_version, authentik_admin_settings_get, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Authentik directly.