MCP.so
Sign In

Authn8 MCP Server

@authn8

Basic information

Category

Developer Tools

License

MIT

Transports

stdio

Author

authn8

Submitted by

Authn8

About Authn8 MCP Server

MCP server for Authn8 2FA code access

Authn8 MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Authn8 MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Authn8?

Authn8 is an MCP server that provides AI agents access to Authn8 2FA codes via Personal Access Token (PAT) authentication. It is designed for developers and users who need to programmatically retrieve one-time passwords for their multi-factor authentication accounts.

How to use Authn8?

Run the server with npx @authn8/mcp-server and set the AUTHN8_API_KEY environment variable to your PAT token. It can also be run via Docker. Configuration examples are provided for Claude Desktop, Claude Code (CLI), and Cursor.

Key features of Authn8

  • Retrieve all 2FA accounts accessible to your token.
  • Generate TOTP codes for a specific account by ID or name.
  • View token information, scoped groups, and expiry date.
  • Deployable via npx or Docker.
  • Supports multiple MCP client configurations.

Use cases of Authn8

  • AI agents logging into services that require 2FA codes.
  • Automating TOTP retrieval for CI/CD pipelines.
  • Integrating 2FA code management into assistant workflows.
  • Managing multiple 2FA accounts from a single token.

Frequently asked questions

1

What is a Personal Access Token (PAT)?

A PAT is a token created in the Authn8 dashboard that authenticates the MCP server to access your 2FA accounts.

2

How do I set the environment variable?

Set the `AUTHN8_API_KEY` environment variable to your PAT token before running the server, e.g., `AUTHN8_API_KEY=pat_xxx`.

3

Which MCP clients are supported?

Configurations are provided for Claude Desktop, Claude Code (CLI), and Cursor.

4

How do I get a specific OTP?

Use the `get_otp` tool with either `account_id` (UUID) or `account_name` (partial match). If multiple accounts match, the tool returns a list.

5

What does the `whoami` tool return?

It returns details about the current token, including the business name, token name, scoped groups, account count, and expiration date.

Comments

More Developer Tools MCP servers