get_2fa_code
Retrieve the current 2FA code for a username when logging into a website.
Let an AI agent fetch your 2FA codes and passwords from the Authenticator App to complete a login.
LABSCO SUMMARY
The account list, password, and code tools cover the three things a login needs, so an agent can look up which account applies, fetch its password, and read the current 2FA code — with the credentials staying in the Authenticator App and reached only through the token you issue.
A server that bridges an AI agent to the Authenticator App desktop program, so during an automated login the agent can pull the current one-time code or the stored password for an account.
The Authenticator App desktop program with its MCP server switched on, and an access token generated there and pasted into your client configuration. Runs through npx.
One command plus a key — npx -y authenticator-mcp --access-token=<YOUR_ACCESS_TOKEN>, then supply credentials
USE CASES
get_2fa_code returns the current code for the account so the agent can finish a two-factor sign-in it would otherwise be blocked on.
get_password returns the stored password for a username during an automated login.
get_account_list shows which accounts are available, so the agent chooses the correct one before fetching its credentials.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_2fa_codeRetrieve the current 2FA code for a username when logging into a website.
get_account_listRetrieve the accounts can be used when logging into a website.
get_passwordRetrieve the password for a username when logging into a website.
BEFORE YOU INSTALL
3 tools when we connected. All three read from the desktop app's vault: your account list, 2FA codes and saved passwords. Adding or editing accounts happens in the app.
Both documented setups run the server on your machine.
CONTEXT COST
Rated by the size of the 3 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx -y authenticator-mcp --access-token=<YOUR_ACCESS_TOKEN>{
"mcpServers": {
"Authenticator App MCP": {
"command": "npx",
"args": [
"-y",
"authenticator-mcp",
"--access-token=<YOUR_ACCESS_TOKEN>"
]
}
}
}{
"mcpServers": {
"Authenticator App MCP": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"authenticator-mcp",
"--access-token=<YOUR_ACCESS_TOKEN>"
]
}
}
}