Authn8 MCP Server
@authn8/mcp-server
Authn8 2FAコードへのアクセスをPAT認証を通じてAIエージェントに提供するMCPサーバー。
前提条件
Authn8 アカウント
Authn8ダッシュボードで作成した個人アクセストークン (PAT)
Related MCP server: grantd-mcp
クイックスタート
npx @authn8/mcp-serverAUTHN8_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
}リンク
Authn8 - アカウントを作成して2FAトークンを管理
This server cannot be deployed
Maintenance
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
- AlicenseNot gradedqualityFmaintenanceEnables 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
- AlicenseNot gradedqualityDmaintenanceOAuth token broker for AI agents to securely act on a user's behalf across third-party APIs (Gmail, Slack, GitHub, Notion, etc.) by vaulting tokens server-side and never exposing them to the LLM.1MIT
- AlicenseAqualityBmaintenanceEnables AI agents to make authenticated API calls and run commands with secrets injected, while keeping credentials completely hidden from the model, with policy enforcement, grants, and audit logging.6MIT
- AlicenseNot gradedqualityAmaintenanceEnables authorized AI coding agents to securely access development machines, repositories, terminals, and processes through a policy-enforced, audited control plane.Apache 2.0