JWT
Thejwt package (jwt~=1.3.1) is included in requirements.txt. Use it to decode and validate JWT tokens in the token_required decorator:
AWS Cognito
Theflask-Cognito package is included in requirements.txt. Configure it using the Cognito environment variables from Environment.py:
API key hashing
The MCP server hashes API keys with SHA-256 before storing them in the database — only the hash is persisted, never the raw key:Passwords
For user passwords, usewerkzeug.security (included via Flask):
scrypt or pbkdf2:sha256 as the method (Werkzeug defaults to scrypt in recent versions).