Authn8 MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Authn8 MCP Serverget me the 2FA code for AWS Production"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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
Related MCP server: TOTP MCP Server
Quick Start
npx @authn8/mcp-serverSet the AUTHN8_API_KEY environment variable to your PAT token.
Docker
docker run -e AUTHN8_API_KEY=pat_xxx ghcr.io/authn8/mcp-serverConfiguration
Claude Desktop
Add to your Claude Desktop configuration file:
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)
Add to your Claude Code configuration file:
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
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
Variable | Required | Default | Description |
| Yes | - | Your PAT token from Authn8 |
| No |
| API 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 accountaccount_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
Authn8 - Create an account and manage 2FA tokens
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA secure server that enables AI agents to access 2FA codes and passwords from the Authenticator App, allowing them to assist with automated login processes while maintaining security.Last updated34840MIT
- Flicense-qualityBmaintenanceGenerates time-based one-time password (TOTP) 2FA codes for configured accounts, enabling Claude to automate workflows requiring two-factor authentication.Last updated
- Alicense-qualityDmaintenanceSelf-hosted credential store and API proxy for AI agents. One Bearer token, all your services. Handles OAuth refresh, encrypted storage, audit logging, and per-agent permissioning.Last updated72MIT
- Alicense-qualityDmaintenanceZero-knowledge credential injection for AI agents. Your agent authenticates to websites and APIs without ever seeing a password, TOTP code, or API key.Last updated101MIT
Related MCP Connectors
Read-only bank access for your AI agent. Connects Claude, ChatGPT, Cursor, Gemini, Codex.
Issue, rotate and revoke scoped API-key passes for 25+ providers — the agent never sees a real key
Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/authn8/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server