Production readiness mcp auth
Skill scalekit-inc/skills/skills/production-readiness-mcp-auth
Walks through a structured production readiness checklist for Scalekit MCP authentication implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, or wants to verify their MCP server authentication is production-ready.From its SKILL.md
npx -y skills add scalekit-inc/skills --skill production-readiness-mcp-authAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, 445 tokens by cl100k_base, as published. Nobody here has run it
Scalekit MCP Auth Production Readiness
Work through each section in order — earlier sections are blockers for later ones.
Quick checks (run first)
- Production environment URL, client ID, and client secret are set (not dev/staging values)
- HTTPS enforced on all auth endpoints
- CORS restricted to your domains only
- API credentials stored in environment variables — never committed to code
Core auth flows
- Test login initiation with authorization URL
- Validate redirect URLs match dashboard configuration exactly
- Test authentication completion and code exchange
- Validate
stateparameter in callbacks (CSRF protection) - Verify session token storage uses
httpOnly,secure, andsameSiteflags - Configure token lifetimes for your security requirements
- Test session timeout and automatic token refresh
- Verify logout clears sessions completely
- Expired tokens handled gracefully
- Network failures show user-friendly messages
MCP authentication
- Test MCP server authentication flow end-to-end
- Verify OAuth consent screen displays correctly for MCP clients
- Test token exchange for MCP connections
- Verify resource metadata published at
/.well-known/oauth-protected-resource - Test MCP session management (session creation, expiry, refresh)
- Verify custom auth handlers behave correctly (if using)
- Test MCP client reconnection after token expiry
- Verify scopes are correctly enforced per MCP tool/resource
Monitoring and incident readiness
- Auth logs monitoring configured in Dashboard > Auth Logs
- Alerts set for suspicious activity (repeated auth failures, unusual access patterns)
- Error tracking configured for authentication failures
- Log retention policies configured
- Incident response runbook written (who to contact, how to roll back)
- Rollback plan ready (disable MCP auth without breaking existing sessions)
Key metrics:
- MCP auth success/failure rates
- Token exchange latency
- Session creation and duration
- Token refresh frequency
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.