Authn8
Access your team's 2FA codes from AI agents without sharing secrets. List accounts, generate TOTP codes, and maintain full audit trails
Ads
Overview
MCP server that provides AI agents access to Authn8 2FA codes via PAT authentication. - An Authn8 account - A Personal Access Token (PAT) created in the Authn8 dashboard Set the AUTHN8_API_KEY environment variable to your PAT token. Add to your Claude Desktop configuration file: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Add to your Claude Code configuration file: macOS: ~/.claude.json Windows: %USERPROFILE%\.claude.json All tools declare an output schema and return structuredContent alongside the text block, so clients get typed results without re-parsing JSON out of text.
Installation
npx @authn8/mcp-server
Configuration
{
"mcpServers": {
"authn8": {
"command": "npx",
"args": ["-y", "@authn8/mcp-server"],
"env": {
"AUTHN8_API_KEY": "pat_your_token_here"
}
}Capabilities
- List 2FA accounts
Ask your assistant to call `list_accounts` to see all 2FA accounts accessible to the token.
- Generate TOTP codes
Use `get_otp` with an account name or ID to get a current one-time code.
- Resolve ambiguous matches
When `get_otp` returns multiple matches, retry with the account ID.
- Check token details
Call `whoami` to see token name, business, scoped groups, expiry, and account count.
Tags
- development
Related MCP servers
Context7 MCP
OfficialOfficial Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Chrome DevTools MCP
OfficialOfficial Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Mastra/mcp
OfficialClient implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
GitHub MCP Server
OfficialConnect your AI assistant to GitHub repositories, issues, pull requests, and search.