| Version | Supported | Status |
|---|---|---|
| 3.1.x | ✅ | Active |
We take the security of MCP Generator 3.x seriously. If you discover a security vulnerability, please follow these steps:
Please do not report security vulnerabilities through public GitHub issues.
Send an email to: max.nussbaumer@maxhealth.tech
Include the following information:
- Type of vulnerability
- Full paths of affected source files
- Location of the affected code (tag/branch/commit/URL)
- Step-by-step instructions to reproduce the issue
- Proof-of-concept or exploit code (if possible)
- Impact of the issue (what an attacker could do)
- Acknowledgment: You'll receive a response within 48 hours
- Updates: We'll keep you informed about our progress
- Timeline: We aim to release fixes within 7-14 days for critical issues
- Credit: If you wish, we'll credit you in the security advisory
The MCP servers generated by this tool:
- Token Handling: Tokens are passed to backend APIs for validation
- JWT Validation: Optional JWT validation can be enabled for HTTP mode
- No Token Storage: Tokens are never persisted to disk
- Session Management: HTTP sessions are memory-only by default
- STDIO Mode: Uses
API_TOKENenvironment variable - HTTP Mode: Supports Bearer token authentication
- JWT Validation: JWKS-based public key verification
- Scope Enforcement: Optional scope checking middleware
When using generated servers:
- Always use HTTPS in production for HTTP transport
- Validate tokens at your backend API
- Use environment variables for sensitive data (never hardcode)
- Enable JWT validation (
--validate-tokens) for HTTP mode in production - Keep dependencies updated regularly
- Review generated code before deploying to production
- Use strong secrets for JWT signing
- Implement rate limiting at the infrastructure level
- Monitor logs for suspicious activity
- Follow the principle of least privilege for API tokens
- Generated servers pass tokens to backend APIs without local validation by default (unless
--validate-tokensis enabled) - STDIO mode assumes the local client (e.g., Claude Desktop) is trusted
- Event store for SSE is in-memory only (not suitable for multi-instance deployments without external store)
Security updates will be:
- Released as patch versions (3.1.X)
- Documented in CHANGELOG.md
- Announced via GitHub Security Advisories
- Tagged with security labels in release notes
This security policy applies to:
- ✅ The MCP Generator tool itself (
mcp_generator/package) - ✅ Generated authentication middleware
- ✅ Generated server code patterns
- ❌ Third-party dependencies (report to their respective projects)
- ❌ Your custom OpenAPI specifications
- ❌ Your backend API implementations
- We follow coordinated disclosure
- We'll work with you to understand and fix the issue
- We'll publicly disclose after a fix is available
- We'll credit researchers who report responsibly
When deploying generated MCP servers:
- Use HTTPS for HTTP transport
- Enable
--validate-tokensfor production HTTP mode - Set strong, random
API_TOKENvalues - Never commit tokens or secrets to version control
- Use proper JWKS endpoints for JWT validation
- Implement proper logging and monitoring
- Keep all dependencies updated
- Review and test authentication flows
- Implement rate limiting
- Use proper CORS configuration for HTTP mode
- Regularly rotate tokens and secrets
For security issues: max.nussbaumer@maxhealth.tech
For general support: GitHub Issues
Thank you for helping keep MCP Generator 3.x and its users safe!