Authn8
@authn8
About Authn8
MCP server for Authn8 2FA code access
Basic information
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"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.
FAQ from Authn8
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.
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.
Which MCP clients are supported?
Configurations are provided for Claude Desktop, Claude Code (CLI), and Cursor.
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.
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.
More Developer Tools MCP servers

Sentry
modelcontextprotocolModel Context Protocol Servers
Grafana MCP server
grafanaMCP server for Grafana
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
Comments