AWS Cognito

AWS Cognito

An MCP server that connects to AWS Cognito for authentication and user management.

2
Stars
4
Forks
0
Releases

Overview

A Model Context Protocol (MCP) server implementation that connects to AWS Cognito for authentication and user management. This server exposes a set of MCP tools to manage a user's lifecycle, including sign-up, sign-in, sign-out, password management, MFA, and profile updates, backed by an AWS Cognito User Pool. It requires an AWS account with a configured Cognito User Pool and Node.js 18+; configuration is done via environment variables AWS_COGNITO_USER_POOL_ID and AWS_COGNITO_USER_POOL_CLIENT_ID (or a .env file). The server's available tools include sign_up, sign_up_confirm_code_from_email, sign_in, sign_out, getCurrentUser, reset_password_send_code, reset_password_veryify_code, change_password, refresh_session, update_user_attributes, delete_user, resend_confirmation_code, and verify_software_token. The Inspector provides a URL for debugging. It supports integration with Claude Desktop and Claude Code, enabling easy experimentation and automation of authentication workflows.

Details

Owner
gitCarrot
Language
JavaScript
License
Updated
2025-12-07

Features

sign_up

Register a new user with email and password.

sign_up_confirm_code_from_email

Verify account using a confirmation code sent by email.

sign_in

Authenticate a user with username and password.

sign_out

Sign out the currently authenticated user.

getCurrentUser

Retrieve the current signed-in user's session details.

reset_password_send_code

Send a password reset code to the user.

reset_password_veryify_code

Reset password using verification code and new password.

update_user_attributes

Update user profile attributes (e.g., name, email).

Audience

Developersto implement Cognito-backed authentication flows via MCP in their applications.
Product teamsto integrate user management using MCP and Cognito for sign-up/in, MFA, and profile updates.
Claude usersto access and execute MCP tools via Claude Desktop or Claude Code.

Tags

AWS CognitoCognito User PoolMCPauthenticationuser managementNode.jssign-upsign-inMFApassword managementClaude DesktopClaude Code