Skip to content
MCP server

Authn8

Lets AI agents fetch TOTP codes for the shared 2FA accounts your team keeps in Authn8

Install
Pricing
Freemium
Platforms
API, CLI, Web
Runs
Locally or Remotely
Version
1.1.3
Listing updated
3 days ago

About Authn8

Authn8 is a freemium MCP server for security. It can run locally on your machine or as a hosted remote server.

Aimed at teams that share logins such as vendor portals or CI service accounts, this server lets an agent finish a sign-in without anyone reading a code off a phone. It exposes three tools: list_accounts, get_otp and whoami. Every code an agent fetches is written to Authn8's access log with the name of the token that asked.

Access runs through an MCP token that starts with pat_, created under Settings, MCP Tokens. A token only reaches the accounts its creator can already see, and it can be narrowed to chosen groups and given an expiry date. The README says tokens stop working if the business's subscription ends.

You can connect to the hosted Streamable HTTP endpoint with a Bearer header, or run the npm package over stdio with AUTHN8_API_KEY set; it needs Node.js 18 or later. On startup the package checks the token and prints the business name, token name, account count and expiry to stderr. The MCP server is part of the Premium plan and above.

Install

Run in a terminal

claude mcp add --transport http mcp-server https://api.authn8.com/mcp

Add to Settings → Connectors → Add custom connector

https://api.authn8.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "url": "https://api.authn8.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://api.authn8.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://api.authn8.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://api.authn8.com/mcp"
    }
  }
}

Configuration

  • AUTHN8_API_KEYAn Authn8 MCP token (pat_...), created on the MCP Tokens page in Authn8Required

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

list_accounts
Returns all 2FA accounts accessible to this token
get_otp
Generates a TOTP code for a specific account
whoami
Shows the identity of the token

What it does

Account listing
Return the 2FA accounts the token can access.
On-demand TOTP codes
Generate a code for a specific account.
Token identity check
Confirm which token and business the agent is using.
Access logging
Record each fetched code against the requesting token's name.
Scoped tokens
Limit a token to chosen groups and set an expiry date.
Two transports
Use the hosted HTTP endpoint or the stdio npm package.

Good for

  • Let an agent sign in to a shared vendor portal that needs a code
  • Run CI jobs that depend on a shared service account's 2FA
  • Audit which agent token requested which code
  • Give a contractor's agent access to a single group of accounts

Pricing

Freemium, from $19.99 a month

Free plan for up to 3 members; MCP server needs Premium at $44.99/mo (Plus from $19.99/mo)

Prices change. Check authn8.com before you buy.

Authn8 FAQ

Which plan includes the MCP server?

The pricing page lists the MCP server from the Premium plan at $44.99 per month; it is not on Free.

How does an agent authenticate?

With an MCP token starting `pat_`, sent as a Bearer header or in `AUTHN8_API_KEY`.

Can a token see every account?

No. It reaches only accounts its creator can access, and can be narrowed to groups.

What are the requirements for the npm package?

Node.js 18 or later; the hosted endpoint needs nothing installed.

Is Authn8 free?

Authn8 has a free plan, with paid plans for more usage or features. Paid plans start at $19.99 a month.

How do I add Authn8 to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://api.authn8.com/mcp

What are the best alternatives to Authn8?

The closest alternatives to Authn8 are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

Alternatives to Authn8

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  3. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  4. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  5. SecureCloud

    MCP server

    SentinelOne and IT security catalog, prices, quotes and checkout links for Israel

    • 7 tools
    • Remote
    • Free
    • Security