zen-marketing/tools
Ben 9fdd225883 Fix critical security and error handling issues
Applied fixes for 2 critical and 2 high-priority issues identified in code review:

Critical Fixes:
- Issue #1: Add comprehensive API key validation with length, placeholder, and format checks
- Issue #2: Implement granular exception handling (ValueError, ConnectionError, TimeoutError)

High Priority Fixes:
- Issue #3: Remove request object mutation in ContentVariantTool (use copy())
- Issue #5: Pydantic Field constraints already provide validation feedback

Additional improvements:
- Add return type annotation to configure_providers()
- Add test suite (test_fixes.py) with 12 passing test cases
- Update STATUS.md with fix documentation
- Increment version to 0.1.1

Production readiness increased from 75% to 90%.
2025-11-07 13:00:02 -04:00
..
shared Initial commit: Zen-Marketing MCP Server v0.1.0 2025-11-07 11:35:17 -04:00
simple Initial commit: Zen-Marketing MCP Server v0.1.0 2025-11-07 11:35:17 -04:00
workflow Initial commit: Zen-Marketing MCP Server v0.1.0 2025-11-07 11:35:17 -04:00
__init__.py Clean up tools/__init__.py and add git instructions to CLAUDE.md 2025-11-07 12:34:13 -04:00
chat.py Initial commit: Zen-Marketing MCP Server v0.1.0 2025-11-07 11:35:17 -04:00
contentvariant.py Fix critical security and error handling issues 2025-11-07 13:00:02 -04:00
listmodels.py Initial commit: Zen-Marketing MCP Server v0.1.0 2025-11-07 11:35:17 -04:00
models.py Initial commit: Zen-Marketing MCP Server v0.1.0 2025-11-07 11:35:17 -04:00
version.py Initial commit: Zen-Marketing MCP Server v0.1.0 2025-11-07 11:35:17 -04:00