Model Context Protocol Server
The Zalt MCP Server enables AI agents and coding assistants to manage authentication directly. Built for the vibe coding era - let your AI handle user management, security policies, and analytics.
Why MCP?
MCP (Model Context Protocol) allows AI assistants like Claude, Cursor, and Kiro to interact with external services. With Zalt's MCP server, you can manage users, sessions, and security policies using natural language - no dashboard needed.
Installation
npm install -g @zalt/mcp-serverConfiguration
Add to your MCP configuration file (e.g., ~/.kiro/settings/mcp.json):
{
"mcpServers": {
"zalt": {
"command": "npx",
"args": ["@zalt/mcp-server"],
"env": {
"ZALT_REALM_ID": "your-realm-id",
"ZALT_SECRET_KEY": "your-secret-key"
}
}
}
}Available Tools (21 total)
zalt_list_usersList users with pagination and filters
zalt_get_userGet user by ID or email
zalt_update_userUpdate user profile and metadata
zalt_suspend_userSuspend user account
zalt_activate_userReactivate suspended user
zalt_delete_userSoft or hard delete user (GDPR)
zalt_list_sessionsList active sessions for user
zalt_revoke_sessionRevoke specific session
zalt_revoke_all_sessionsRevoke all sessions for user
zalt_get_mfa_statusGet MFA status for user
zalt_reset_mfaReset MFA for user (admin)
zalt_configure_mfa_policySet realm MFA policy
zalt_get_mfa_policyGet current MFA policy
zalt_list_api_keysList API keys for user
zalt_create_api_keyCreate new API key
zalt_revoke_api_keyRevoke API key
zalt_get_auth_statsLogin success/failure rates, DAU/MAU
zalt_get_security_eventsRecent security events
zalt_get_failed_loginsFailed login attempts
Usage Examples
// Example: List all active users with MFA enabled > Use zalt_list_users with status="active" and mfaEnabled=true // Example: Suspend a user after security incident > Use zalt_suspend_user with userId="user_abc123" and reason="Suspicious activity detected" // Example: Get authentication statistics > Use zalt_get_auth_stats for the last 7 days // Example: Reset MFA for locked out user > Use zalt_reset_mfa with userId="user_xyz" and reason="User lost authenticator device"
Security Note
The MCP server uses your secret key for authentication. Never share your secret key or commit it to version control. All operations are logged for audit purposes.