Shared 2FA for teams: let AI agents get TOTP codes for the accounts your Authn8 token can see.
MCPpedia last refreshed this data
io.github.authn8/mcp-server is an MCP server that shared 2FA for teams: let AI agents get TOTP codes for the accounts your Authn8 token can see. Its tool list has not been published yet over http and stdio, requires authentication to connect, and scores 62/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"authn8": {
"env": {
"AUTHN8_API_KEY": "pat_your_token_here"
},
"args": [
"-y",
"@authn8/mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Shared 2FA for teams: let AI agents get TOTP codes for the accounts your Authn8 token can see.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @authn8/mcp-server against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml / security
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
Unified real-time search engine skill for AI agents.
The official MCP server implementation for the Perplexity API Platform
Free, open-source MCP server that gives AI coding agents (Claude Code, Codex, Cursor, OpenCode, ZCode…) design inspiration from award-winning websites — search with real screenshots, pull design DNA, capture and record live sites. A Mobbin alternative. No API key.
MCP Security Weekly
Get CVE alerts and security updates for io.github.authn8/mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for Authn8, shared 2FA for teams. It lets AI agents fetch TOTP codes for the 2FA accounts your team shares in Authn8, so an agent can finish a sign-in without anyone reading a code out of a phone. Every code it fetches is recorded in Authn8's access log with the name of the token that asked for it. An agent can also add a 2FA account from its secret, for example after it turns on 2FA for a new service, and put it in your team's groups.
Works with OpenAI Codex, Cursor, Claude Code, Claude, GitHub Copilot in VS Code and any other MCP client. Each one has a step-by-step guide at authn8.com/integrations.
Listed in the MCP Registry as
io.github.authn8/mcp-server.
pat_. A token only reaches the 2FA accounts its creator can
already access, and you can narrow it further to chosen groups and give it an
expiry date. It can add accounts to groups its creator owns or has Can manage
access to, and a token narrowed to groups adds only to those.| Hosted endpoint | npm package | |
|---|---|---|
| Install | None | npx runs it locally |
| Transport | Streamable HTTP | stdio |
| Address | https://api.authn8.com/mcp | npx -y @authn8/mcp-server |
| Token | Authorization: Bearer pat_... header | AUTHN8_API_KEY environment variable |
Both offer the same five tools: list_accounts, get_otp, whoami, list_groups
and add_account. Use the hosted endpoint unless your client only runs local
(stdio) servers: there is nothing to install or keep up to date.
Point any MCP client that supports Streamable HTTP at https://api.authn8.com/mcp
and send your token in the Authorization header as Bearer pat_your_token_here.
Clients that read a config file can take the token from an environment variable, so
it never sits in the file. The examples below use AUTHN8_TOKEN:
# macOS and Linux (add to ~/.zshrc or ~/.bashrc)
export AUTHN8_TOKEN="pat_your_token_here"
# Windows (PowerShell)
setx AUTHN8_TOKEN "pat_your_token_here"
Open a new terminal, or restart your editor, after setting it.
The Codex CLI and the Codex IDE extension share one config file,
~/.codex/config.toml. Let Codex add the server:
codex mcp add authn8 --url https://api.authn8.com/mcp --bearer-token-env-var AUTHN8_TOKEN
Leave AUTHN8_TOKEN as it is: --bearer-token-env-var takes the variable's name,
not the token. The command writes this table, which you can also add by hand:
[mcp_servers.authn8]
url = "https://api.authn8.com/mcp"
bearer_token_env_var = "AUTHN8_TOKEN"
Type /mcp in Codex to see the server. If Codex was already running when you set
the variable, run codex app-server daemon stop and start Codex again, so its
background service sees the variable.
Codex asks before it calls an Authn8 tool, so codex exec and other runs with no one
to answer refuse the call. To let them read codes, approve get_otp:
[mcp_servers.authn8.tools.get_otp]
approval_mode = "approve"
Add this to ~/.cursor/mcp.json for all projects, or to .cursor/mcp.json in a
project. Cursor fills in ${env:AUTHN8_TOKEN} from your environment:
{
"mcpServers": {
"authn8": {
"url": "https://api.authn8.com/mcp",
"headers": {
"Authorization"
... [View full README on GitHub](https://github.com/authn8/mcp-server#readme)