Why Mixins?
“What would you say… you do here?”
mcwaddams uses Python mixins to organize 20 tools into logical groups without creating multiple MCP servers.
The Pattern
Section titled “The Pattern”class MCWaddamsServer( UniversalMixin, # 7 cross-format tools WordMixin, # 10 Word-specific tools ExcelMixin, # 3 Excel-specific tools): passBenefits
Section titled “Benefits”- Single server — One MCP configuration, not three
- Shared utilities — Validation, caching, format detection
- Clear boundaries — Each mixin owns its tools
- Easy testing — Test mixins in isolation
- Simple extension — Add PowerPoint mixin without touching Word code