Skip to main content
Glama
firstorderai

Authenticator App MCP Server

by firstorderai

安全的 MCP(模型上下文协议)服务器,使 AI 代理能够与 Authenticator 应用交互。它提供对 2FA 代码和密码的无缝访问,允许 AI 代理在确保安全性的同时协助自动登录流程。此工具弥合了 AI 助手与安全身份验证之间的差距,使您能够更轻松地跨不同平台和网站管理凭据。

工作原理

  1. 打开你的AI代理的集成聊天界面(例如Cursor的代理模式)。

  2. 要求 AI 代理检索您所需网站和帐户的 2FA 代码或密码。

  3. AI 代理将安全地获取这些凭证,然后利用它们来自动化您的登录过程。

此 MCP 服务器专门设计用于与Authenticator App · 2FA一起使用。

演示视频

Related MCP server: ssh-mcp-server

入门

许多 AI 客户端使用配置文件来管理 MCP 服务器。

可以通过将以下内容添加到配置文件来配置authenticator-mcp工具。

注意:您需要创建身份验证器应用访问令牌才能使用此服务器。有关如何创建身份验证器应用访问令牌的说明,请参阅此处

MacOS / Linux

{
  "mcpServers": {
    "Authenticator App MCP": {
      "command": "npx",
      "args": ["-y", "authenticator-mcp", "--access-token=YOUR-KEY"]
    }
  }
}

视窗

{
  "mcpServers": {
    "Authenticator App MCP": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "authenticator-mcp", "--access-token=YOUR-KEY"]
    }
  }
}

或者您可以在env字段中设置AUTHENTICATOR_ACCESS_TOKEN

安装身份验证器应用程序·2FA 桌面版

创建访问令牌

  1. 启动Authenticator App · 2FA的桌面版本。

  2. 导航到Settings并找到MCP Server部分。

  3. 通过切换为ON来启用 MCP 服务器,然后继续生成访问令牌。

请注意,访问令牌仅显示一次。请务必立即复制并添加到您的 MCP 客户端配置中。

Available Tools

3 tools
get_2fa_codeC

Retrieve the current 2FA code for a username when logging into a website.

ParametersJSON Schema
NameRequiredDescriptionDefault
usernameYesThe username or email of the account you need to login, e.g. "john.doe@example.com"
websiteYesThe domain name of the website you need to login, e.g. "github.com"

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves a 2FA code, implying a read operation, but lacks details on security implications, rate limits, authentication requirements, or response format. This is a significant gap for a tool handling sensitive data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is appropriately sized and front-loaded, making it easy to understand quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool handling sensitive 2FA codes with no annotations and no output schema, the description is incomplete. It lacks critical details like security constraints, error handling, or return value format, leaving gaps in understanding how to use it effectively in context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents both parameters (username and website). The description adds minimal value beyond the schema, as it only implies the parameters are used for login context without providing additional syntax or format details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Retrieve') and resource ('current 2FA code for a username'), specifying the context ('when logging into a website'). It distinguishes from sibling tools like get_account_list (lists accounts) and get_password (retrieves passwords), though it doesn't explicitly name them for comparison.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions 'when logging into a website,' which provides some context, but it doesn't offer explicit guidance on when to use this tool versus alternatives like get_password for non-2FA logins or prerequisites. No exclusions or detailed scenarios are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_account_listC

Retrieve the accounts can be used when logging into a website.

ParametersJSON Schema
NameRequiredDescriptionDefault
websiteYesThe domain name of the website you need to login, e.g. "github.com"

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves accounts, implying a read-only operation, but doesn't clarify aspects like authentication requirements, rate limits, data sensitivity, or what 'accounts' entails (e.g., usernames, emails). This leaves key behavioral traits unspecified for a tool handling login-related data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, straightforward sentence that efficiently conveys the core purpose without unnecessary words. It's appropriately sized for a simple tool, though it could be slightly more structured by front-loading key details more explicitly. There's minimal waste, earning a high score for conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is adequate but incomplete. It covers the basic purpose but lacks details on behavioral aspects like security or usage guidelines. Without annotations or output schema, the description should do more to compensate, but it provides a minimal viable explanation, scoring at the threshold of adequacy.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the 'website' parameter fully documented as 'The domain name of the website you need to login, e.g. "github.com".' The description adds no additional parameter semantics beyond this, so it meets the baseline of 3 where the schema does the heavy lifting without compensating for gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Retrieve the accounts can be used when logging into a website.' It specifies the action ('retrieve') and resource ('accounts'), and the context ('when logging into a website') is clear. However, it doesn't explicitly differentiate from sibling tools like get_2fa_code or get_password, which prevents a score of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides minimal guidance by mentioning 'when logging into a website,' which implies usage context but lacks explicit when-to-use rules or alternatives. There's no mention of when to use this tool versus get_2fa_code or get_password, or any prerequisites or exclusions, leaving significant gaps in usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_passwordC

Retrieve the password for a username when logging into a website.

ParametersJSON Schema
NameRequiredDescriptionDefault
usernameYesThe username or email of the account you need to login, e.g. "john.doe@example.com"
websiteYesThe domain name of the website you need to login, e.g. "github.com"

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves a password, implying a read operation, but doesn't cover critical aspects such as authentication requirements, security implications (e.g., if it's stored securely), rate limits, or what happens on failure (e.g., if the password isn't found). This leaves significant gaps for a tool handling sensitive data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded and wastes no space, making it easy to parse quickly while conveying the essential action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of handling passwords (sensitive data) and the lack of annotations and output schema, the description is incomplete. It doesn't address security behaviors, error handling, or return values, which are crucial for such a tool. The description alone is insufficient for safe and effective use by an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with clear documentation for both parameters ('username' and 'website'), including examples. The description adds no additional parameter semantics beyond what the schema provides, such as format details or constraints. Given the high schema coverage, a baseline score of 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('password for a username'), making it understandable. However, it doesn't explicitly differentiate from sibling tools like 'get_2fa_code' or 'get_account_list', which would require mentioning it's specifically for password retrieval rather than other authentication data or account listings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a basic context ('when logging into a website'), but it lacks explicit guidance on when to use this tool versus alternatives like 'get_2fa_code' for two-factor codes or 'get_account_list' for listing accounts. There's no mention of prerequisites, exclusions, or specific scenarios, leaving usage unclear relative to siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.0.0
    • First observedget_2fa_code
    • First observedget_account_list
    • First observedget_password

TDQS

B3.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: get_2fa_code retrieves time-based codes, get_account_list lists available accounts, and get_password retrieves passwords. There is no overlap in functionality, making tool selection unambiguous for an agent.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with 'get_' prefix (get_2fa_code, get_account_list, get_password). The naming is uniform and predictable, using snake_case throughout without any deviations.

Tool Count3/5

With only 3 tools, the server feels thin for an authenticator app domain that might benefit from operations like adding/removing accounts or updating credentials. While the tools cover core retrieval needs, the count is borderline minimal for comprehensive functionality.

Completeness2/5

The toolset is severely incomplete for an authenticator app, lacking any write operations such as adding accounts, updating passwords, or managing 2FA settings. Agents can only retrieve data, leading to dead ends for common workflows like account setup or credential changes.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Access your team's 2FA codes from AI agents without sharing secrets. List accounts, generate TOTP codes, and maintain full audit trails. Built for DevOps, CI/CD pipelines, and automated workflows that need to authenticate to protected services.
    17 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables remote SSH command execution and bidirectional file transfers through a standardized interface. It allows AI assistants to securely manage remote servers while keeping credentials isolated and applying command-level security controls.
    ISC
  • F
    license
    B
    quality
    C
    maintenance
    MCP server for secure credential management, browser-based login automation, and TOTP/2FA auto-solving. Encrypts credentials with AES-256-GCM and automates login flows via Playwright.
    32
    2
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to securely access authenticated services (HTTP, SSH, SMTP) without exposing secrets, by acting as a server-side proxy that injects authentication.
    MIT