Skip to main content
Glama
authn8
by authn8

@authn8/mcp-server

MCP-Server, der KI-Agenten über PAT-Authentifizierung Zugriff auf Authn8-2FA-Codes bietet.

Voraussetzungen

  • Ein Authn8-Konto

  • Ein persönlicher Zugriffstoken (PAT), der im Authn8-Dashboard erstellt wurde

Related MCP server: grantd-mcp

Schnellstart

npx @authn8/mcp-server

Setzen Sie die Umgebungsvariable AUTHN8_API_KEY auf Ihren PAT-Token.

Docker

docker run -e AUTHN8_API_KEY=pat_xxx ghcr.io/authn8/mcp-server

Konfiguration

Claude Desktop

Fügen Sie Folgendes zu Ihrer Claude-Desktop-Konfigurationsdatei hinzu:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "authn8": {
      "command": "npx",
      "args": ["-y", "@authn8/mcp-server"],
      "env": {
        "AUTHN8_API_KEY": "pat_your_token_here"
      }
    }
  }
}

Claude Code (CLI)

Fügen Sie Folgendes zu Ihrer Claude-Code-Konfigurationsdatei hinzu:

macOS: ~/.claude.json Windows: %USERPROFILE%\.claude.json

{
  "mcpServers": {
    "authn8": {
      "command": "npx",
      "args": ["-y", "@authn8/mcp-server"],
      "env": {
        "AUTHN8_API_KEY": "pat_your_token_here"
      }
    }
  }
}

Cursor

Fügen Sie Folgendes zu Ihren Cursor-MCP-Einstellungen hinzu:

{
  "mcpServers": {
    "authn8": {
      "command": "npx",
      "args": ["-y", "@authn8/mcp-server"],
      "env": {
        "AUTHN8_API_KEY": "pat_your_token_here"
      }
    }
  }
}

Umgebungsvariablen

Variable

Erforderlich

Standard

Beschreibung

AUTHN8_API_KEY

Ja

-

Ihr PAT-Token von Authn8

AUTHN8_API_URL

Nein

https://api.authn8.com

API-Endpunkt-URL

Verfügbare Tools

Alle Tools deklarieren ein Ausgabeschema und geben structuredContent zusammen mit dem Textblock zurück, sodass Clients typisierte Ergebnisse erhalten, ohne JSON aus Text erneut parsen zu müssen.

list_accounts

Gibt alle 2FA-Konten zurück, die für dieses Token zugänglich sind.

Beispielantwort:

{
  "accounts": [
    {
      "id": "924c52a6-4457-4970-a39f-4dc620217683",
      "name": "AWS Production",
      "issuerDomain": "amazon.com"
    }
  ]
}

get_otp

Generiert einen TOTP-Code für ein bestimmtes Konto.

Parameter:

  • account_id (string, optional) - UUID des Kontos

  • account_name (string, optional) - Name oder Aussteller-Domain zum Suchen (case-insensitive Teilabgleich)

Geben Sie entweder account_id oder account_name an. Wenn mehrere Konten mit dem Namen übereinstimmen, gibt das Tool sie in multipleMatches zurück, sodass Sie es mit einer account_id erneut versuchen können.

Beispielantwort:

{
  "name": "AWS Production",
  "code": "483920",
  "length": 6
}

Mehrdeutige Übereinstimmung:

{
  "error": "Multiple accounts match 'aws'. Please be more specific or use account_id.",
  "length": 0,
  "multipleMatches": [
    {
      "id": "924c52a6-4457-4970-a39f-4dc620217683",
      "name": "AWS Production",
      "issuerDomain": "amazon.com"
    }
  ]
}

whoami

Gibt Informationen über das aktuelle Token zurück.

Beispielantwort:

{
  "tokenName": "MCP Server 2",
  "businessName": "Bytecode Solutions",
  "scopedGroups": [
    { "id": "cfeba14a-e990-49e8-b6e5-61d63f7d68c8", "name": "HR" }
  ],
  "expiresAt": "2025-12-25T23:59:59Z",
  "accountCount": 1
}

Maintenance

ActivityStale
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables AI agents to securely perform privileged actions like creating GitHub issues by minting short-lived, single-purpose tokens on demand, with policy enforcement and audit logging.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    OAuth token broker for AI agents to securely act on a user's behalf across third-party APIs (Gmail, Slack, GitHub, Notion, etc.) by vaulting tokens server-side and never exposing them to the LLM.
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to make authenticated API calls and run commands with secrets injected, while keeping credentials completely hidden from the model, with policy enforcement, grants, and audit logging.
    6
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables authorized AI coding agents to securely access development machines, repositories, terminals, and processes through a policy-enforced, audited control plane.
    Apache 2.0