{"_id":"@authn8/mcp-server","_rev":"7-662bba9757ca53ac8cb5e8ee250daf61","name":"@authn8/mcp-server","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@authn8/mcp-server","version":"1.0.0","keywords":["mcp","2fa","totp","authn8","authenticator"],"author":"","license":"ISC","_id":"@authn8/mcp-server@1.0.0","maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"homepage":"https://authn8.com","bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"bin":{"authn8-mcp":"dist/index.js"},"dist":{"shasum":"88198e55dca4f476439ae54a9e2bc53464a14dd2","tarball":"https://registry.npmjs.org/@authn8/mcp-server/-/mcp-server-1.0.0.tgz","fileCount":11,"integrity":"sha512-4/QiZPbGllhlQendYzZIOOuNyCucp8L7xV8K6HmEKdaVrGb2ZRhDFUyfDf6AXHSj9pW9vQNb6UFcgu0IQABYzg==","signatures":[{"sig":"MEQCICjRG5qtoT3KGHTf/YGDJxykJaazCQqaSZjeOcJqJhWZAiBVl94aW3sJf+3nQtsUqkHqiOwGgyh2cXTMpe0N+IWO4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25474},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"30b006e76227ed79fffce35a9a8922fa55910662","scripts":{"dev":"node --loader ts-node/esm src/index.ts","build":"tsup src/index.ts --format esm --dts","start":"node dist/index.js"},"_npmUser":{"name":"authn8_user","email":"support@authn8.com"},"repository":{"url":"git+https://github.com/authn8/mcp-server.git","type":"git"},"_npmVersion":"11.6.0","description":"MCP server for Authn8 2FA code access","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^4.1.13","@modelcontextprotocol/sdk":"^1.24.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.0_1765056699721_0.688041799787765","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@authn8/mcp-server","version":"1.0.1","keywords":["mcp","2fa","totp","authn8","authenticator"],"author":"","license":"ISC","_id":"@authn8/mcp-server@1.0.1","maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"homepage":"https://authn8.com","bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"bin":{"authn8-mcp":"dist/index.js"},"dist":{"shasum":"bbfc6263a67fc7847ebc036281a72bc777a518c8","tarball":"https://registry.npmjs.org/@authn8/mcp-server/-/mcp-server-1.0.1.tgz","fileCount":11,"integrity":"sha512-+K+926Zi9QI/g3iRlv5G4arkCto0rOcKrKSVHY8uvz+wIx9yo1jH5iPq1IGDONyBSARSQjoluzv0sCUTdAp0aA==","signatures":[{"sig":"MEQCIFVCkJjkDt6FzMmELb5B58C1iSKb1A6o6+FzRpa3/rbUAiANgTvHJlu+Bb8juCksk0qZ3EGWnfG1B7+AMZMo6Via9w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25555},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"b4ff47d31209637a80919652eea7fda88d7eb345","scripts":{"dev":"node --loader ts-node/esm src/index.ts","build":"tsup src/index.ts --format esm --dts","start":"node dist/index.js"},"_npmUser":{"name":"authn8_user","email":"support@authn8.com"},"repository":{"url":"git+https://github.com/authn8/mcp-server.git","type":"git"},"_npmVersion":"11.6.0","description":"MCP server for Authn8 2FA code access","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^4.1.13","@modelcontextprotocol/sdk":"^1.24.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.1_1765099780608_0.40701929561881545","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@authn8/mcp-server","version":"1.0.2","keywords":["mcp","2fa","totp","authn8","authenticator"],"author":"","license":"ISC","_id":"@authn8/mcp-server@1.0.2","maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"homepage":"https://authn8.com","bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"bin":{"authn8-mcp":"dist/index.js"},"dist":{"shasum":"57cc423cd903591158d24169248fb8429833078d","tarball":"https://registry.npmjs.org/@authn8/mcp-server/-/mcp-server-1.0.2.tgz","fileCount":11,"integrity":"sha512-Rbxz3/EdT9XzZGfP0J60dtT2ne4wVWaebh/oQXPXZiMmDFz2HxZb+wXb5MCJnFgILRm/2nlJI/KaSA0xDPOmjA==","signatures":[{"sig":"MEUCIFdA4/YM+RfA3Tz4C8wqkAeZwELyviUGoTCvJeUP86rTAiEAnsSln7OKkYsfb+J8GTR1fFHBuB0uxf8qWOusXroeMhs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25852},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"d5261fc7d53dda26f45cfdc8181b6fffa12374db","scripts":{"dev":"node --loader ts-node/esm src/index.ts","build":"tsup src/index.ts --format esm --dts","start":"node dist/index.js"},"_npmUser":{"name":"authn8_user","email":"support@authn8.com"},"repository":{"url":"git+https://github.com/authn8/mcp-server.git","type":"git"},"_npmVersion":"11.6.0","description":"MCP server for Authn8 2FA code access","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^4.1.13","@modelcontextprotocol/sdk":"^1.24.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.2_1765101158109_0.21005936654438706","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@authn8/mcp-server","version":"1.0.3","keywords":["mcp","2fa","totp","authn8","authenticator"],"author":"","license":"ISC","_id":"@authn8/mcp-server@1.0.3","maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"homepage":"https://authn8.com","bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"bin":{"authn8-mcp":"dist/index.js"},"dist":{"shasum":"9e1484c9792f37566d5822185933197493be0c2a","tarball":"https://registry.npmjs.org/@authn8/mcp-server/-/mcp-server-1.0.3.tgz","fileCount":11,"integrity":"sha512-yLOQHrsP8fjkRSlT/KxDUvzQhs1h3JBObsBDRq88iubN72BqLw/ZhT8a/hDHF1fbubqCDfjaCQTZK2hpFZXnxw==","signatures":[{"sig":"MEUCIQCRfXSfONV43HnTWhUY+DsGTv03TbktQDROkuDl/3SWJgIgcuqdTQa7lUqdXIDdpEQnoiEG3ldGOpUcIGi6ICOE2wA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26125},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"4da6c020f28cad2255f045fbcbacc91606488878","scripts":{"dev":"node --loader ts-node/esm src/index.ts","build":"tsup src/index.ts --format esm --dts","start":"node dist/index.js"},"_npmUser":{"name":"authn8_user","email":"support@authn8.com"},"repository":{"url":"git+https://github.com/authn8/mcp-server.git","type":"git"},"_npmVersion":"11.6.0","description":"MCP server for Authn8 2FA code access","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^4.1.13","@modelcontextprotocol/sdk":"^1.24.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.3_1765151837422_0.8847045549109074","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@authn8/mcp-server","version":"1.0.4","keywords":["mcp","2fa","totp","authn8","authenticator"],"author":"","license":"ISC","_id":"@authn8/mcp-server@1.0.4","maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"homepage":"https://authn8.com","bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"bin":{"authn8-mcp":"dist/index.js"},"dist":{"shasum":"a35e7fc9d5fdfdfed5e9479cb80a1efc727bbba8","tarball":"https://registry.npmjs.org/@authn8/mcp-server/-/mcp-server-1.0.4.tgz","fileCount":11,"integrity":"sha512-7Q+ssyZiqx6hU5KPwpulRbtXS0efZO8rvnYrghi7MJSFIj+/V/nU5nZfPj+7iOTkftSSpNKxjjC++dOO1btt+A==","signatures":[{"sig":"MEYCIQDkhvDnMSDpzn8XKWyZQKAH8YIxk7qd3svqu7HDPZToBAIhANQ4UfCffySjuBOqlZwZEzBhTYr8tuNATtS2jUCt8Wde","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26097},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"f51b410a6a0d0846a388ab2dd6c86e96b502a851","scripts":{"dev":"node --loader ts-node/esm src/index.ts","build":"tsup src/index.ts --format esm --dts","start":"node dist/index.js"},"_npmUser":{"name":"authn8_user","email":"support@authn8.com"},"repository":{"url":"git+https://github.com/authn8/mcp-server.git","type":"git"},"_npmVersion":"11.6.0","description":"MCP server for Authn8 2FA code access","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^4.1.13","@modelcontextprotocol/sdk":"^1.24.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.4_1765151945754_0.12392951737458557","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@authn8/mcp-server","version":"1.0.5","keywords":["mcp","2fa","totp","authn8","authenticator"],"author":"","license":"ISC","_id":"@authn8/mcp-server@1.0.5","maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"homepage":"https://authn8.com","bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"bin":{"authn8-mcp":"dist/index.js"},"dist":{"shasum":"87f726d9923ad4235451a1526d6212c7a80fee97","tarball":"https://registry.npmjs.org/@authn8/mcp-server/-/mcp-server-1.0.5.tgz","fileCount":11,"integrity":"sha512-bHmf5SRKoXY5ae3QM63Z4jbVhyQLOUPXa4laziQBsj5eaEgy4z2OS2gP+DlrcvSE++1DzrZxNgF8Tgb5yI1P+g==","signatures":[{"sig":"MEYCIQDfEHAn9raUpcVJ1MLmgOB/AN66qhNt8nbQL7wU5EMKbAIhALuXxzqkQRV97NnmPgoda9Xs0Jk21dJoEwRk/0V8hsDC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26176},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"d83d261a4fce202f5f5e0a57254d04937182094b","scripts":{"dev":"node --loader ts-node/esm src/index.ts","build":"tsup src/index.ts --format esm --dts","start":"node dist/index.js"},"_npmUser":{"name":"authn8_user","email":"support@authn8.com"},"repository":{"url":"git+https://github.com/authn8/mcp-server.git","type":"git"},"_npmVersion":"11.6.0","description":"MCP server for Authn8 2FA code access","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^4.1.13","@modelcontextprotocol/sdk":"^1.24.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.5_1765159198518_0.3988621923211111","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@authn8/mcp-server","version":"1.1.0","description":"MCP server for Authn8 2FA code access","type":"module","bin":{"authn8-mcp":"dist/index.js"},"main":"dist/index.js","scripts":{"build":"tsup src/index.ts --format esm --dts","dev":"tsup src/index.ts --format esm --watch","start":"node dist/index.js"},"keywords":["mcp","2fa","totp","authn8","authenticator"],"repository":{"type":"git","url":"git+https://github.com/authn8/mcp-server.git"},"homepage":"https://authn8.com","author":{"name":"Authn8"},"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.30.0","zod":"^4.1.13"},"devDependencies":{"@types/node":"^24.10.1","tsup":"^8.5.1","typescript":"^5.9.3"},"gitHead":"04724ea9053c265d78b80349532bc1b16abdffbd","types":"./dist/index.d.ts","_id":"@authn8/mcp-server@1.1.0","bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-PbRly+x5yhDi6+dVCJLLz/yOlTy1YsWOD3dSYYyVDO/WqNC/NBV0yopSKKU66aezn8u4KfhS7pEZC3GF98D35Q==","shasum":"14aa93efa9a829e6ca3f74b32201782fe16ab042","tarball":"https://registry.npmjs.org/@authn8/mcp-server/-/mcp-server-1.1.0.tgz","fileCount":5,"unpackedSize":15389,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDBODTdvVpbr0SpkFJ2ESIxssKWRCSugzb+mg0xm3/TNAiBw0LyxFKieKy1aYQfFbprojq/65gDhjkUjVV1rUKV03Q=="}]},"_npmUser":{"name":"authn8_user","email":"support@authn8.com"},"directories":{},"maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_1.1.0_1786687565452_0.00665178271268041"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-06T21:31:39.596Z","modified":"2026-08-14T06:06:05.760Z","1.0.0":"2025-12-06T21:31:39.909Z","1.0.1":"2025-12-07T09:29:40.759Z","1.0.2":"2025-12-07T09:52:38.257Z","1.0.3":"2025-12-07T23:57:17.562Z","1.0.4":"2025-12-07T23:59:05.905Z","1.0.5":"2025-12-08T01:59:58.656Z","1.1.0":"2026-08-14T06:06:05.575Z"},"bugs":{"url":"https://github.com/authn8/mcp-server/issues"},"license":"MIT","homepage":"https://authn8.com","keywords":["mcp","2fa","totp","authn8","authenticator"],"repository":{"type":"git","url":"git+https://github.com/authn8/mcp-server.git"},"description":"MCP server for Authn8 2FA code access","maintainers":[{"name":"authn8_user","email":"support@authn8.com"}],"readme":"# @authn8/mcp-server\n\nMCP server that provides AI agents access to Authn8 2FA codes via PAT authentication.\n\n## Prerequisites\n\n- An [Authn8](https://authn8.com) account\n- A Personal Access Token (PAT) created in the Authn8 dashboard\n\n## Quick Start\n\n```bash\nnpx @authn8/mcp-server\n```\n\nSet the `AUTHN8_API_KEY` environment variable to your PAT token.\n\n## Docker\n\n```bash\ndocker run -e AUTHN8_API_KEY=pat_xxx ghcr.io/authn8/mcp-server\n```\n\n## Configuration\n\n### Claude Desktop\n\nAdd to your Claude Desktop configuration file:\n\n**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"authn8\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@authn8/mcp-server\"],\n      \"env\": {\n        \"AUTHN8_API_KEY\": \"pat_your_token_here\"\n      }\n    }\n  }\n}\n```\n\n### Claude Code (CLI)\n\nAdd to your Claude Code configuration file:\n\n**macOS:** `~/.claude.json`\n**Windows:** `%USERPROFILE%\\.claude.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"authn8\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@authn8/mcp-server\"],\n      \"env\": {\n        \"AUTHN8_API_KEY\": \"pat_your_token_here\"\n      }\n    }\n  }\n}\n```\n\n### Cursor\n\nAdd to your Cursor MCP settings:\n\n```json\n{\n  \"mcpServers\": {\n    \"authn8\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@authn8/mcp-server\"],\n      \"env\": {\n        \"AUTHN8_API_KEY\": \"pat_your_token_here\"\n      }\n    }\n  }\n}\n```\n\n## Environment Variables\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `AUTHN8_API_KEY` | Yes | - | Your PAT token from Authn8 |\n| `AUTHN8_API_URL` | No | `https://api.authn8.com` | API endpoint URL |\n\n## Available Tools\n\nAll tools declare an output schema and return `structuredContent` alongside the\ntext block, so clients get typed results without re-parsing JSON out of text.\n\n### list_accounts\n\nReturns all 2FA accounts accessible to this token.\n\n**Example response:**\n```json\n{\n  \"accounts\": [\n    {\n      \"id\": \"924c52a6-4457-4970-a39f-4dc620217683\",\n      \"name\": \"AWS Production\",\n      \"issuerDomain\": \"amazon.com\"\n    }\n  ]\n}\n```\n\n### get_otp\n\nGenerates a TOTP code for a specific account.\n\n**Parameters:**\n- `account_id` (string, optional) - UUID of the account\n- `account_name` (string, optional) - Name or issuer domain to search for (case-insensitive partial match)\n\nProvide either `account_id` or `account_name`. If multiple accounts match the\nname, the tool returns them in `multipleMatches` so you can retry with an\n`account_id`.\n\n**Example response:**\n```json\n{\n  \"name\": \"AWS Production\",\n  \"code\": \"483920\",\n  \"length\": 6\n}\n```\n\n**Ambiguous match:**\n```json\n{\n  \"error\": \"Multiple accounts match 'aws'. Please be more specific or use account_id.\",\n  \"length\": 0,\n  \"multipleMatches\": [\n    {\n      \"id\": \"924c52a6-4457-4970-a39f-4dc620217683\",\n      \"name\": \"AWS Production\",\n      \"issuerDomain\": \"amazon.com\"\n    }\n  ]\n}\n```\n\n### whoami\n\nReturns information about the current token.\n\n**Example response:**\n```json\n{\n  \"tokenName\": \"MCP Server 2\",\n  \"businessName\": \"Bytecode Solutions\",\n  \"scopedGroups\": [\n    { \"id\": \"cfeba14a-e990-49e8-b6e5-61d63f7d68c8\", \"name\": \"HR\" }\n  ],\n  \"expiresAt\": \"2025-12-25T23:59:59Z\",\n  \"accountCount\": 1\n}\n```\n\n## Links\n\n- [Authn8](https://authn8.com) - Create an account and manage 2FA tokens\n- [GitHub Repository](https://github.com/authn8/mcp-server)\n","readmeFilename":"README.md","author":{"name":"Authn8"}}