Release Date: 2025-10-12
Breaking Changes: None (backward compatible with v2.0.0)
Status: Production Ready
Overview
Version 2.1.0 is a Production-Ready Release with complete documentation, enterprise authentication, and deployment infrastructure. This release represents a major milestone with 100% documentation coverage, comprehensive Keycloak SSO integration, and production-grade deployment configurations.Key Features
π Keycloak SSO Integration
Enterprise authentication with OpenID Connect. Components (src/mcp_server_langgraph/auth/keycloak.py):
TokenValidator- JWT verification using JWKSKeycloakClient- Keycloak API integration- Automatic role synchronization to OpenFGA
- Token refresh automation
- JWKS-based JWT verification (no shared secrets)
- Automatic token refresh
- Role/group sync to OpenFGA tuples
- OIDC-compliant
πΎ Redis Session Management
Production-grade session storage with persistence. Backends (src/mcp_server_langgraph/auth/session.py):
- InMemorySessionStore - Development/testing
- RedisSessionStore - Production with persistence
- Sliding expiration windows
- Concurrent session limits (default: 5)
- User session tracking
- Bulk revocation
- Cryptographic session IDs
π¨ Advanced Role Mapping
Flexible, declarative role mapping system. Types (src/mcp_server_langgraph/auth/role_mapper.py):
- SimpleRoleMapping - 1:1 mappings
- GroupMapping - Regex pattern matching
- ConditionalMapping - Attribute-based rules
config/role_mappings.yaml):
Mintlify Documentation
π 100% Coverage (43 MDX files, ~33,242 lines)
Getting Started (5 files)
Getting Started (5 files)
- Quick start, authentication, authorization
- Architecture, first request
Feature Guides (14 files)
Feature Guides (14 files)
- Keycloak SSO, Redis sessions
- OpenFGA setup, permission model
- Multi-LLM setup (Anthropic, Google, OpenAI, local)
- Infisical setup, secret rotation
Deployment (12 files)
Deployment (12 files)
- Kubernetes (GKE, EKS, AKS)
- Helm, Kustomize
- Scaling, monitoring, disaster recovery
- Production checklist, CI/CD
API Reference (6 files)
API Reference (6 files)
- Authentication endpoints
- Health checks
- MCP protocol (messages, tools, resources)
Security (4 files)
Security (4 files)
- Overview, best practices
- Audit checklist, compliance
Advanced (3 files)
Advanced (3 files)
- Testing strategies
- Contributing guidelines
- Development setup
Deployment Infrastructure
βοΈ Kubernetes/Helm/Kustomize
24 files modified/created (~2,400 lines): Kubernetes Manifests:deployments/kubernetes/base/keycloak-deployment.yaml(180 lines)- HA with 2 replicas
- PostgreSQL backend
- Resource limits: 500m-2000m CPU, 1Gi-2Gi memory
deployments/kubernetes/base/redis-session-deployment.yaml(150 lines)- AOF persistence
- 512MB memory with LRU eviction
deployments/helm/mcp-server-langgraph/):
- Redis dependency (Bitnami 18.4.0)
- Keycloak dependency (Bitnami 17.3.0)
- Multi-database PostgreSQL setup
- Dev: InMemory auth, memory sessions
- Staging: Keycloak, Redis (12-hour TTL)
- Production: Keycloak + SSL, Redis + SSL (24-hour TTL)
- 9 new Prometheus alerts (Keycloak, Redis, sessions)
- Updated Grafana dashboards
Observability
π 30+ Authentication Metrics
Metrics (src/mcp_server_langgraph/auth/metrics.py - 312 lines):
- Login attempts, duration, failure rates
- Token creation/verification/refresh
- JWKS cache hit/miss ratios
- Session lifecycle (active, created, expired, revoked)
- OpenFGA sync performance
- Role mapping rule application
- Authorization check metrics
record_login_attempt()record_token_verification()record_session_operation()record_openfga_sync()
CI/CD Enhancements
π GitHub Actions
Workflow Updates (.github/workflows/ci.yaml):
- Deployment validation job
- Helm chart linting
- Kustomize overlay validation
- Docker Compose verification
Upgrade Guide
From v2.0.0
Testing
Whatβs Next
v2.2.0
- π GDPR/SOC2/HIPAA compliance
- π SLA monitoring
- π Grafana dashboards