mcp-server-aws-cognito

mcp-server-aws-cognito

3.5

AWS Cognito MCP Server is a Model Context Protocol server implementation that connects to AWS Cognito for authentication and user management.

The AWS Cognito MCP Server is designed to facilitate user authentication and management by integrating with AWS Cognito. It provides a comprehensive set of tools for handling user authentication flows such as sign-up, sign-in, password management, and more. This server is particularly useful for developers looking to leverage AWS Cognito's robust authentication features within their applications. With prerequisites including an AWS account and Node.js 18 or higher, the server can be easily installed and configured. It supports various user management operations, making it a versatile solution for applications requiring secure and efficient user authentication.

Features

  • Seamless integration with AWS Cognito for user authentication and management.
  • Comprehensive set of tools for user authentication flows including sign-up, sign-in, and password management.
  • Supports multi-factor authentication (MFA) with TOTP verification.
  • Environment variable configuration for easy setup and deployment.
  • Debugging support through MCP Inspector for enhanced visibility.

MCP Tools

  • {'sign_up': 'Register a new user'}
  • {'sign_in': 'Authenticate a user'}
  • {'reset_password_send_code': 'Request password reset code'}
  • {'change_password': 'Change password for signed-in user'}
  • {'update_user_attributes': 'Update user profile attributes'}

Usage with Different Platforms

claude_desktop


{
  "mcpServers": {
    "aws-cognito-mcp-server": {
      "command": "/path/to/mcp-server-aws-cognito/build/index.js",
      "env": {
        "AWS_COGNITO_USER_POOL_ID": "your-user-pool-id",
        "AWS_COGNITO_USER_POOL_CLIENT_ID": "your-app-client-id"
      }
    }
  }
}

claude_code

bash
claude mcp add "aws-cognito-mcp" npx tsx index.ts
claude mcp list
claude