Skip to content
MCP server

Authentik MCP Server

MCP server letting AI assistants manage Authentik identity resources like users and flows

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, API, self-hosted
Runs
Locally
Version
0.9.0
Listing updated
today

Similar MCP servers

About Authentik MCP Server

Authentik MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

The README says this server lets an AI assistant administer an Authentik identity provider in natural language, covering users, groups, applications, flows, policies, providers and other Authentik objects. It runs over stdio via npx, Docker, or an HTTP transport with the Streamable HTTP protocol, and it checks the Authentik connection at startup so bad credentials fail early.

Access can be narrowed with a read-only tier, category allowlists, and tool blacklists or whitelists, so an administrator can expose only monitoring tools or a subset of resources. The README also warns that the HTTP transport has no built-in authentication and should stay on loopback or behind an authenticating proxy.

This suits Authentik administrators and platform engineers who want assistants like Claude Code, Claude Desktop or Cursor to inspect or change their identity setup.

Install

Run in a terminal

claude mcp add mcp-authentik --env AUTHENTIK_URL='<AUTHENTIK_URL>' --env AUTHENTIK_TOKEN='<AUTHENTIK_TOKEN>' -- npx -y @samik081/mcp-authentik

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-authentik": {
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-authentik"
      ],
      "env": {
        "AUTHENTIK_URL": "<AUTHENTIK_URL>",
        "AUTHENTIK_TOKEN": "<AUTHENTIK_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-authentik": {
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-authentik"
      ],
      "env": {
        "AUTHENTIK_URL": "<AUTHENTIK_URL>",
        "AUTHENTIK_TOKEN": "<AUTHENTIK_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-authentik": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-authentik"
      ],
      "env": {
        "AUTHENTIK_URL": "<AUTHENTIK_URL>",
        "AUTHENTIK_TOKEN": "<AUTHENTIK_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-authentik": {
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-authentik"
      ],
      "env": {
        "AUTHENTIK_URL": "<AUTHENTIK_URL>",
        "AUTHENTIK_TOKEN": "<AUTHENTIK_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-authentik": {
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-authentik"
      ],
      "env": {
        "AUTHENTIK_URL": "<AUTHENTIK_URL>",
        "AUTHENTIK_TOKEN": "<AUTHENTIK_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AUTHENTIK_URLURL of the Authentik instance (e.g. https://auth.example.com)Required
  • AUTHENTIK_TOKENAuthentik API tokenRequired
  • AUTHENTIK_URLURL of the Authentik instance (e.g. https://auth.example.com)Required
  • AUTHENTIK_TOKENAuthentik API tokenRequired

What it does

Broad Authentik API coverage
Exposes roughly 300 tools across about 22 categories of the Authentik API, per the README.
Read-only access tier
Setting AUTHENTIK_ACCESS_TIER to read-only limits the server to tools that do not change state.
Category and tool filtering
Environment variables allow an allowlist of categories or a blacklist and whitelist of specific tool names.
Multiple transports
Runs over stdio through npx or Docker, or as a remote server using HTTP transport.
Startup connection check
Validates the Authentik URL and token on launch and fails with an error if they are missing or invalid.

Good for

  • Asking an assistant to list or audit users and group memberships in Authentik
  • Creating applications and providers from a natural-language request
  • Reviewing flows, policies and events during an incident without making changes
  • Running a read-only monitoring connection to an Authentik instance

Pricing

Open source

MIT licensed and free to run; no paid plan is mentioned.

Authentik MCP Server FAQ

Does it work with read-only credentials?

Yes. Setting AUTHENTIK_ACCESS_TIER to read-only registers only the tools that list and view resources, so no state changes are possible through the server.

Which AI clients does the README mention?

The README lists Cursor, Claude Code and Claude Desktop, with JSON config examples for each.

Which Authentik version is it built for?

The README says it is built for Authentik 2026.5.

Is the HTTP transport secured?

The README states the HTTP transport has no authentication, so it should be kept on loopback or a trusted network or placed behind an authenticating reverse proxy.

Is Authentik MCP Server free?

Yes. Authentik MCP Server is open source, so you can use and self-host it for free.

How do I add Authentik MCP Server to Claude Code?

Run this command in your terminal: claude mcp add mcp-authentik --env AUTHENTIK_URL='<AUTHENTIK_URL>' --env AUTHENTIK_TOKEN='<AUTHENTIK_TOKEN>' -- npx -y @samik081/mcp-authentik

What are the best alternatives to Authentik MCP Server?

The closest alternatives to Authentik MCP Server are Api Test MCP, TrueContext MCP by usefulapi, Kinde MCP by usefulapi, XenMCP and Airflow MCP Server.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers