Content
# MCP Auth Playground
An interactive workshop for learning OAuth 2.1 authentication with Model Context Protocol (MCP) servers.

## Overview
This educational tool guides you step-by-step through the OAuth 2.1 authentication flow required to connect to MCP servers. You'll learn:
- How protected resources respond to unauthenticated requests
- OAuth metadata discovery (RFC 9728)
- Dynamic client registration
- PKCE (Proof Key for Code Exchange)
- Authorization code flow
- Token exchange
- Making authenticated MCP requests
## Architecture
```mermaid
graph TB
subgraph Docker Compose
subgraph Northbound Network
APP[auth-playground-app<br/>React + Vite<br/>Port: 3002]
PROXY[proxy<br/>Express.js<br/>Port: 3001]
end
subgraph Southbound Network
PROXY
INTERNAL[Internal MCP Servers]
end
end
EXTERNAL[External MCP Servers<br/>Notion, Figma, etc.]
Browser -->|:3002| APP
APP -->|Proxy Mode| PROXY
APP -.->|Direct Mode| EXTERNAL
PROXY -->|Forward| INTERNAL
PROXY -->|Forward| EXTERNAL
```
- **auth-playground-app**: React frontend with step-by-step OAuth flow visualization
- **proxy**: Express server that forwards requests to internal Docker networks (southbound)
## Quick Start
```bash
# Start the application
docker compose up -d --build
# Open in browser
open http://localhost:3002
```
## Tech Stack
- **Frontend**: React 19, Vite 7
- **Proxy**: Node.js 25, Express 5
- **Containerization**: Docker, Docker Compose
Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
servers
Model Context Protocol Servers
servers
Model Context Protocol Servers
Time
A Model Context Protocol server for time and timezone conversions.
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.