JUHE API Marketplace
gitCarrot avatar
MCP Server

AWS Cognito MCP Server

A Model Context Protocol server implementation that connects to AWS Cognito for authentication and user management, providing tools for user flows including sign-up, sign-in, and password management.

2
GitHub Stars
11/17/2025
Last Updated
MCP Server Configuration
1{
2 "name": "aws-cognito-mcp-server",
3 "command": "/path/to/mcp-server-aws-cognito/build/index.js",
4 "env": {
5 "AWS_COGNITO_USER_POOL_ID": "your-user-pool-id",
6 "AWS_COGNITO_USER_POOL_CLIENT_ID": "your-app-client-id"
7 }
8}
JSON8 lines
  1. Home
  2. MCP Servers
  3. mcp-server-aws-cognito

README Documentation

AWS Cognito MCP Server

A Model Context Protocol (MCP) server implementation that connects to AWS Cognito for authentication and user management. This server provides a set of tools for user authentication flows including sign-up, sign-in, password management, and more.

Prerequisites

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

Installation

# Clone the repository
git clone https://github.com/yourusername/mcp-server-aws-cognito.git

# Install dependencies
cd mcp-server-aws-cognito
npm install

# Build the server
npm run build

AWS Cognito Configuration

  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):
AWS_COGNITO_USER_POOL_ID=your-user-pool-id
AWS_COGNITO_USER_POOL_CLIENT_ID=your-app-client-id

Available Tools

Tool NameDescriptionParameters
sign_upRegister a new useremail: string, password: string
sign_up_confirm_code_from_emailVerify account with confirmation codeusername: string, confirmationCode: string
sign_inAuthenticate a userusername: string, password: string
sign_outSign out the current userNone
getCurrentUserGet the current signed-in userNone
reset_password_send_codeRequest password reset codeusername: string
reset_password_veryify_codeReset password with verification codeusername: string, code: string, newPassword: string
change_passwordChange password for signed-in useroldPassword: string, newPassword: string
refresh_sessionRefresh the authentication tokensNone
update_user_attributesUpdate user profile attributesattributes: Array of {name: string, value: string}
delete_userDelete the current signed-in userNone
resend_confirmation_codeResend account verification codeusername: string
verify_software_tokenVerify TOTP for MFAusername: string, totpCode: string

The Inspector will provide a URL to access debugging tools in your browser.

Using with Claude Desktop

Before starting make sure Node.js is installed on your desktop for npx to work.

  1. Go to: Settings > Developer > Edit Config

  2. Add the following to your claude_desktop_config.json:

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

Using with Claude Code

Claude Code is a command-line interface for Claude. To use this MCP server with Claude Code:

  1. Install Claude Code by following the instructions at Claude Code Documentation

  2. Add the MCP server to Claude Code:

claude mcp add "aws-cognito-mcp" npx tsx index.ts
  1. Verify it's been added:
claude mcp list
  1. Run Claude with your MCP server:
claude

Development

For development with auto-rebuild:

npm run watch

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. Use the MCP Inspector for better visibility:

npm run inspector

Now you can use the AWS Cognito authentication tools with Claude!

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved