Aws Cognito MCP Server

AWS Cognito authentication server for Model Context Protocol

Local serverstdioGo

What is the Aws Cognito MCP Server?

AWS Cognito authentication server for Model Context Protocol

What you get

  1. Log in to your AWS Console and navigate to Amazon Cognito 2. Create a User Pool or use an existing one 3. Note your User Pool ID and App Client ID 4. Set these values as environment variables or in a .env file (you need .env file only when you use claude code, not claude desktop):

Configuration and credentials

  • AWS account with Cognito User Pool configured - Node.js 18 or higher

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
sign_upRegister a new user
sign_up_confirm_code_from_emailVerify account with confirmation code
sign_inAuthenticate a user
sign_outSign out the current user
getCurrentUserGet the current signed-in user
reset_password_send_codeRequest password reset code
reset_password_veryify_codeReset password with verification code
change_passwordChange password for signed-in user
refresh_sessionRefresh the authentication tokens
update_user_attributesUpdate user profile attributes
delete_userDelete the current signed-in user
resend_confirmation_codeResend account verification code
verify_software_tokenVerify TOTP for MFA

How to install the Aws Cognito MCP Server

{
  "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"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • AWS account with Cognito User Pool configured - Node.js 18 or higher
VariableDescriptionRequired
AWS_COGNITO_USER_POOL_IDDeclared in the maintainer’s client configuration.Check documentation
AWS_COGNITO_USER_POOL_CLIENT_IDDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Aws Cognito to sign up.”
  • “Use Aws Cognito to sign up confirm code from email.”
  • “Use Aws Cognito to sign in.”

Frequently asked questions

AWS Cognito authentication server for Model Context Protocol Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.