auth-vault
Provides login automation for Google services, including form filling and credential management.
Supports TOTP/2FA auto-solving and QR code generation for Google Authenticator setup.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@auth-vaultlog into my Google account"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@mcp/auth-vault
π§© Branch template β czysta wersja do klonowania i adaptacji.
Brak testΓ³w specyficznych dla Q-ekosystemu, brak danych wraΕΌliwych.
WΕasne serwisy konfigurujesz przezadd_serviceβ wystarczΔ selektory CSS.
MCP server for secure credential management, browser-based login automation, and TOTP/2FA auto-solving.
Status: active | License: MIT | Version: 0.1.0Overview
Auth Vault stores encrypted credentials and secrets (AES-256-GCM), automates browser login flows via Playwright, and auto-solves TOTP-based 2FA challenges. It provides both an MCP interface (for AI clients) and a Web UI dashboard (for manual management).
Interface | Port | URL |
Web UI Dashboard |
|
|
MCP SSE |
|
|
MCP Health |
|
|
Related MCP server: Playwrightium
Features
Encrypted vault β credentials and secrets stored with AES-256-GCM
Browser automation β Playwright-based login with form filling
TOTP/2FA auto-solve β RFC 6238 implementation, generates and submits 2FA codes
QR code support β generate QR for Google Authenticator setup
Secrets management β API keys, bearer tokens, access/refresh tokens
Tailscale-only access β binds to Tailscale IP by default, blocks external traffic
Two service modes β STDIO (MCP standard) and SSE (HTTP for persistent connections)
Quick Start
Prerequisites
Node.js 22+
Playwright Chromium (installed via
postinstall)Tailscale (recommended for SSE mode)
Setup
# Install dependencies
npm install
# Build TypeScript
npm run build
# Configure environment
cp .env.example .env
# Edit .env: set VAULT_ENCRYPTION_KEY (64 hex chars) or leave empty for auto-generatedConfiguration
All configuration via .env file or environment variables:
Variable | Default | Description |
|
| Storage directory for encrypted vault files |
|
| AES-256 key (64 hex chars, persist for data survival) |
| β | Enable SSE mode on given port (empty = STDIO mode) |
| auto (Tailscale) | Explicit bind address for SSE mode |
|
| Run Playwright in headless mode |
|
| Browser operation timeout (ms) |
|
| Logging level: debug, info, warn, error |
Usage
STDIO Mode (default for MCP clients)
node dist/index.jsSSE Mode (HTTP server for persistent connections)
# Set AUTH_SSE_PORT=5501 in .env, then:
node dist/index.jsWeb UI Dashboard
node dist/web/server.js
# Dashboard at http://<tailscale-ip>:5500/CLI Commands
npm run add-creds # Add credentials interactively
npm run add-secret # Add a secret interactively
npm run list-creds # List stored credentials
npm run list-secrets # List stored secrets
npm run get-creds # Get credential detailsSystemd Services
# MCP SSE server (port 5501)
systemctl status mcp-auth-vault
# Web UI dashboard (port 5500)
systemctl status mcp-auth-vault-webBoth services restart automatically on failure and enable at boot.
Security
AES-256-GCM encryption for all stored credentials and secrets
Tailscope-restricted β SSE mode blocks non-Tailscale connections
Encryption key persisted in
.envβ if lost, data cannot be recoveredHeadless browser β no visible UI during automated logins
Project Structure
src/
βββ index.ts # MCP server entry (STDIO + SSE)
βββ config.ts # Zod-validated configuration
βββ credentials/
β βββ totp.ts # TOTP (RFC 6238) implementation
β βββ qr.ts # QR code generation + TOTP secret generator
β βββ vault.ts # Encrypted credential store
β βββ types.ts # Credential type definitions
βββ secrets/
β βββ manager.ts # Encrypted secrets store
β βββ types.ts # Secret type definitions
βββ browser/
β βββ manager.ts # Playwright session management
βββ services/
β βββ definitions.ts # Login templates (Google, etc.)
βββ web/
β βββ server.ts # Web UI HTTP server + REST API
β βββ dashboard.ts # HTML dashboard template
βββ tools/
β βββ credentials.ts # MCP tool definitions for credentials
β βββ secrets.ts # MCP tool definitions for secrets
β βββ services.ts # MCP tool definitions for services
β βββ login.ts # MCP tool definitions for login
βββ cli/
βββ add-credentials.ts
βββ add-secret.tsTech Stack
Runtime: Node.js 24, TypeScript ESM
MCP: @modelcontextprotocol/sdk v1.16
Encryption: Node.js crypto (AES-256-GCM)
Browser: Playwright (Chromium)
Config: Zod validation
UI: Vanilla JS (no framework)
QR: qrcode npm package
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/borysttk/auth-vault-template'
If you have feedback or need assistance with the MCP directory API, please join our Discord server