Authn8 MCP Server
@authn8/mcp-server
MCP 服务器,通过 PAT 认证为 AI 代理提供 Authn8 2FA 验证码的访问。
前提条件
一个 Authn8 账户
在 Authn8 仪表盘中创建的个人访问令牌 (PAT)
Related MCP server: Access
快速开始
npx @authn8/mcp-server将 AUTHN8_API_KEY 环境变量设置为你的 PAT 令牌。
Docker
docker run -e AUTHN8_API_KEY=pat_xxx ghcr.io/authn8/mcp-server配置
Claude Desktop
添加到你的 Claude Desktop 配置文件:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"authn8": {
"command": "npx",
"args": ["-y", "@authn8/mcp-server"],
"env": {
"AUTHN8_API_KEY": "pat_your_token_here"
}
}
}
}Claude Code (CLI)
添加到你的 Claude Code 配置文件:
macOS: ~/.claude.json
Windows: %USERPROFILE%\.claude.json
{
"mcpServers": {
"authn8": {
"command": "npx",
"args": ["-y", "@authn8/mcp-server"],
"env": {
"AUTHN8_API_KEY": "pat_your_token_here"
}
}
}
}Cursor
添加到你的 Cursor MCP 设置:
{
"mcpServers": {
"authn8": {
"command": "npx",
"args": ["-y", "@authn8/mcp-server"],
"env": {
"AUTHN8_API_KEY": "pat_your_token_here"
}
}
}
}环境变量
变量 | 必需 | 默认 | 描述 |
| 是 | - | 你的 Authn8 PAT 令牌 |
| 否 |
| API 端点 URL |
可用工具
所有工具都声明输出模式,并返回 structuredContent 以及文本块,因此客户端可以获得类型化结果,而无需从文本中重新解析 JSON。
list_accounts
返回此令牌可访问的所有 2FA 账户。
示例响应:
{
"accounts": [
{
"id": "924c52a6-4457-4970-a39f-4dc620217683",
"name": "AWS Production",
"issuerDomain": "amazon.com"
}
]
}get_otp
为特定账户生成 TOTP 验证码。
参数:
account_id(string, optional) - 账户的 UUIDaccount_name(string, optional) - 要搜索的名称或发行方域(不区分大小写的部分匹配)
提供 account_id 或 account_name 之一。如果多个账户匹配该名称,工具会在 multipleMatches 中返回它们,以便你可以使用 account_id 重试。
示例响应:
{
"name": "AWS Production",
"code": "483920",
"length": 6
}模糊匹配:
{
"error": "Multiple accounts match 'aws'. Please be more specific or use account_id.",
"length": 0,
"multipleMatches": [
{
"id": "924c52a6-4457-4970-a39f-4dc620217683",
"name": "AWS Production",
"issuerDomain": "amazon.com"
}
]
}whoami
返回当前令牌的信息。
示例响应:
{
"tokenName": "MCP Server 2",
"businessName": "Bytecode Solutions",
"scopedGroups": [
{ "id": "cfeba14a-e990-49e8-b6e5-61d63f7d68c8", "name": "HR" }
],
"expiresAt": "2025-12-25T23:59:59Z",
"accountCount": 1
}链接
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Secrets for developers and agents—secure context and workflows without exposing secret values.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
- FullmaktOAuthai.fullmakt
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceGenerates time-based one-time password (TOTP) 2FA codes for configured accounts, enabling Claude to automate workflows requiring two-factor authentication.-
- AlicenseNot gradedqualityCmaintenanceSelf-hosted credential store and API proxy for AI agents. One Bearer token, all your services. Handles OAuth refresh, encrypted storage, audit logging, and per-agent permissioning.71MIT
- AlicenseNot gradedqualityDmaintenanceZero-knowledge credential injection for AI agents. Your agent authenticates to websites and APIs without ever seeing a password, TOTP code, or API key.61MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to securely perform privileged actions like creating GitHub issues by minting short-lived, single-purpose tokens on demand, with policy enforcement and audit logging.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/authn8/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server