# Authentik MCP Server

> Authentik MCP Server is an open-source MCP server for developer tools. MCP server letting AI assistants manage Authentik identity resources like users and flows. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/samik081/mcp-authentik
- **MCP Registry name:** io.github.Samik081/mcp-authentik
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

## Alternatives

- [Api Test MCP](https://ai-powered.com/mcp/api-test-mcp): Api Test MCP is an open-source MCP server for developer tools.
- [TrueContext MCP by usefulapi](https://ai-powered.com/mcp/truecontext-mcp-by-usefulapi): TrueContext MCP by usefulapi is a freemium MCP server for developer tools.
- [Kinde MCP by usefulapi](https://ai-powered.com/mcp/kinde-mcp-by-usefulapi): Kinde MCP by usefulapi is a freemium MCP server for developer tools.
- [XenMCP](https://ai-powered.com/mcp/xenmcp): XenMCP is a free MCP server for developer tools.
- [Airflow MCP Server](https://ai-powered.com/mcp/airflow-mcp-server): Airflow MCP Server is an open-source MCP server for developer tools.
- [mcp-hub](https://ai-powered.com/mcp/mcp-hub): mcp-hub is an open-source MCP server for developer tools.
- [ARC-1](https://ai-powered.com/mcp/arc-1-2): ARC-1 is an open-source MCP server for developer tools.
- [Apollo MCP Server](https://ai-powered.com/mcp/apollo-mcp-server): Apollo MCP Server is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/authentik-mcp-server
