- MCP Server:
/Users/j/Code/mcp/camera_mcp_server.py- Complete PTZ control implementation
- Hardware-specific fixes (cameracaptured process handling)
- Input validation and safety controls
- Direct integration with webcam-ptz executable and imagesnap
- JSON-RPC interface for local control
[Multiple Cameras] → [Camera MCP Servers] → [Protocol Connectors] → [athena/External Systems]
USB/WiFi Local Control MQTT/REST/WS Integration Layer
- Reusability: Single MCP implementation works for all camera types
- Protocol Flexibility: MQTT, REST, WebSocket connectors can all use same MCP
- Hardware Abstraction: MCP handles device-specific quirks once
- Scalability: Easy to add more cameras without duplicating PTZ logic
- Maintainability: PTZ bugs fixed once in MCP, benefits all connectors
Phase 1: MCP Server (✅ Complete)
- PTZ control via webcam-ptz
- Camera discovery
- Screenshot capture
- Input validation
Phase 2: MQTT Connector (Next)
- Lightweight bridge between MQTT and Camera MCP
- Protocol translation only
- No PTZ logic duplication
Phase 3: athena Integration
- Use MCP directly OR via MQTT bridge
- Focus on AI vision pipeline, not camera control
list_cameras: Discover connected camerastake_screenshot: Capture with base64 encodingptz_control: Pan/tilt/zoom commands with validationget_camera_status: System status and health checks
Date: 2025-06-07