Authn8, servidor MCP

Authn8 Oficial

Veure a GitHub

Com instal·lar-lo

S'executa al teu equip i necessita Node.js. Configuració treta del registre oficial de MCP.

En un terminal:

claude mcp add --env AUTHN8_API_KEY=EL_TEU_VALOR --transport stdio authn8 -- npx -y @authn8/mcp-server

A ~/.cursor/mcp.json (o a .cursor/mcp.json del teu projecte):

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

Si el fitxer ja té altres servidors, afegeix només aquesta entrada dins de la llista.

A .vscode/mcp.json del teu projecte:

{
    "servers": {
        "authn8": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@authn8/mcp-server"
            ],
            "env": {
                "AUTHN8_API_KEY": "EL_TEU_VALOR"
            }
        }
    }
}

Si el fitxer ja té altres servidors, afegeix només aquesta entrada dins de la llista.

A claude_desktop_config.json (macOS: ~/Library/Application Support/Claude; Windows: %APPDATA%\Claude), i reinicia Claude:

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

Si el fitxer ja té altres servidors, afegeix només aquesta entrada dins de la llista.

Canvia EL_TEU_VALOR per les teves claus i no pugis el fitxer amb elles a un repositori.

És programari de tercers que ALMC no ha revisat: llegeix-lo abans de donar-li accés a les teves dades.

El vols a la teva empresa, amb els permisos configurats i un cas d'ús provat? Te l'instal·lem

@authn8/mcp-server

MCP server that provides AI agents access to Authn8 2FA codes via PAT authentication.

Prerequisites

  • An Authn8 account
  • A Personal Access Token (PAT) created in the Authn8 dashboard

Quick Start

npx @authn8/mcp-server

Set the AUTHN8_API_KEY environment variable to your PAT token.

Docker

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

Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

macOS:~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%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)

Add to your Claude Code configuration file:

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

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

Cursor

Add to your Cursor MCP settings:

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

Environment Variables

VariableRequiredDefaultDescription
AUTHN8_API_KEYYes-Your PAT token from Authn8
AUTHN8_API_URLNohttps://api.authn8.comAPI endpoint URL

Available Tools

list_accounts

Returns all 2FA accounts accessible to this token.

Example response:

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

get_otp

Generates a TOTP code for a specific account.

Parameters:

  • account_id (string, optional) - UUID of the account
  • account_name (string, optional) - Name to search for (partial match)

Provide either account_id or account_name. If multiple accounts match the name, the tool returns a list of matches.

Example response:

{
  "account": "AWS Production",
  "code": "483920"
}

whoami

Returns information about the current token.

Example response:

{
  "business": "Bytecode Solutions",
  "token_name": "MCP Server 2",
  "scoped_groups": ["HR"],
  "account_count": 1,
  "expires_at": "2025-12-25T23:59:59Z"
}

Links

Instal\u00b7lem i gestionem el teu servidor MCP

El nostre equip configura, desplega i manté servidors MCP adaptats a la teva infraestructura.

  • Instal\u00b7lació i configuració professional
  • Integració amb els teus sistemes existents
  • Suport tècnic i manteniment continu
  • Seguretat i auditoria personalitzada

Resposta en menys de 24h · Sense compromís

Consulta ràpida sobre MCP

Relacionats a Oficial 🌟 - Servidors MCP