# MCP OAuth2.1 with AWS Cognito Example

> Use this tool when you need to secure a server with OAuth 2.1 authentication and authorization, particularly for managing dynamic client registrations and client ID metadata documents. It solves problems related to identity and access management, providing a secure interface for clients to interact with the server. Ideal for use cases involving AWS Cognito and MCP servers, it takes in client registration requests and outputs authenticated client IDs and access tokens.

Canonical page: https://skillsregistry.net/skills/empires-security-mcp-oauth2-aws-cognito  
JSON: https://api.skillsregistry.net/v1/skills/empires-security-mcp-oauth2-aws-cognito

## Description

Demonstrates how to secure an MCP server with OAuth 2.1 using AWS Cognito, with support for dynamic client registration and client ID metadata documents.

## Trust

- **Trust score (0–1):** 0.36
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-09-01

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ymrewikqef)
- **Repository:** <https://github.com/empires-security/mcp-oauth2-aws-cognito>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "empires-security-mcp-oauth2-aws-cognito"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/empires-security-mcp-oauth2-aws-cognito` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/empires-security-mcp-oauth2-aws-cognito/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
