- Replace shared client instance with fresh client per request
- Add get_mailu_client() function for proper client creation
- Fix "Cannot reopen a client instance" error
- Ensure proper async context management for all HTTP requests
- Version bump to 0.3.2 for connection lifecycle fixes
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Implement auto_configure_domain_security tool for complete domain security setup
- Add analyze_domain_security tool for security analysis and scoring
- Generate DKIM keys, extract DNS records, and provide security recommendations
- Calculate security scores based on DKIM, SPF, DMARC, and TLSA configurations
- Version bump to 0.3.0 for security enhancements
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Change create_mcp_server() from async to sync function
- Replace httpx.AsyncClient with httpx.Client for OpenAPI spec fetching
- Make main() function synchronous for proper console script entry point
- Remove unsupported capture_keyboard_interrupt parameter from mcp.run()
- Fix "coroutine 'main' was never awaited" RuntimeWarning
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Complete FastMCP server with OpenAPI integration and fallback tools
- Automatic tool generation from Mailu REST API endpoints
- Bearer token authentication support
- Comprehensive test suite and documentation
- PyPI-ready package configuration with proper metadata
- Environment-based configuration support
- Production-ready error handling and logging
- Examples and publishing scripts included
Features:
- User management (list, create, update, delete)
- Domain management (list, create, update, delete)
- Alias management and email forwarding
- DKIM key generation
- Manager assignment for domains
- Graceful fallback when OpenAPI validation fails
Ready for Claude Desktop integration and PyPI distribution.