AWS Cognito MCP サーバー
AWS Cognito に接続して認証とユーザー管理を行うモデルコンテキストプロトコル (MCP) サーバー実装。サインアップ、サインイン、パスワード管理など、ユーザー認証フローに必要なツールセットを提供します。
前提条件
Cognito ユーザープールが設定された AWS アカウント
Node.js 18以上
インストール
AWS Cognito の設定
AWSコンソールにログインし、Amazon Cognitoに移動します。
ユーザープールを作成するか、既存のユーザープールを使用する
ユーザープールIDとアプリクライアントIDをメモしてください
これらの値を環境変数として設定するか、.env ファイルで設定します (.env ファイルは、claude デスクトップではなく、claude コードを使用する場合にのみ必要です)。
利用可能なツール
ツール名 | 説明 | パラメータ |
| 新規ユーザーを登録する |
: 文字列、
: 文字列 |
| 確認コードでアカウントを確認する |
: 文字列、
: 文字列 |
| ユーザーを認証する |
: 文字列、
: 文字列 |
| 現在のユーザーをサインアウトする | なし |
| 現在サインインしているユーザーを取得する | なし |
| パスワードリセットコードをリクエストする |
: 文字列 |
| 確認コードでパスワードをリセットする |
: 文字列、
: 文字列、
: 文字列 |
| サインインしたユーザーのパスワードを変更する |
: 文字列、
: 文字列 |
| 認証トークンを更新する | なし |
| ユーザープロフィール属性を更新する |
:
の配列 |
| 現在サインインしているユーザーを削除する | なし |
| アカウント確認コードを再送信 |
: 文字列 |
| MFAのTOTPを確認する |
: 文字列、
: 文字列 |
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
Claude Desktopでの使用
開始する前に、 npx
が動作するためにデスクトップにNode.jsがインストールされていることを確認してください。
設定 > 開発者 > 設定の編集に移動します
claude_desktop_config.json
に以下を追加します。
Claude Codeと併用
Claude CodeはClaude用のコマンドラインインターフェースです。このMCPサーバーをClaude Codeで使用するには、以下の手順に従ってください。
Claude Codeドキュメントの指示に従ってClaude Codeをインストールします。
Claude Code に MCP サーバーを追加します。
追加されたことを確認します:
MCP サーバーで Claude を実行します。
発達
自動リビルドを使用した開発の場合:
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。MCPインスペクターを使用すると、より詳細な情報を得ることができます。
これで、Claude で AWS Cognito 認証ツールを使用できるようになりました。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
認証とユーザー管理のために AWS Cognito に接続するモデルコンテキストプロトコルサーバーの実装。サインアップ、サインイン、パスワード管理などのユーザーフロー用のツールを提供します。
Related MCP Servers
- AsecurityAlicenseAqualityThis server implements the Model Context Protocol to facilitate meaningful interaction and understanding development between humans and AI through structured tools and progressive interaction patterns.Last updated -54MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server implementation that provides endpoints for wallet-based authentication, cluster management, and name registration services.Last updated -1
- -securityFlicense-qualityA Model Context Protocol server that requires user authentication via Auth0 before enabling secure API access on behalf of the authenticated user.Last updated -