Integrate Espressif's QEMU fork for virtual ESP device management: - QemuManager component with 5 MCP tools (start/stop/list/status/flash) - Config auto-detects QEMU binaries from ~/.espressif/tools/ - Supports esp32, esp32s2, esp32s3, esp32c3 chip emulation - Virtual serial over TCP (socket://localhost:PORT) transparent to esptool - Scan integration: QEMU instances appear in esp_scan_ports results - Blank flash images initialized to 0xFF (erased NOR flash state) - 38 unit tests covering lifecycle, port allocation, flash writes
17 lines
420 B
Python
17 lines
420 B
Python
"""
|
|
MCP Middleware System
|
|
|
|
Universal middleware for integrating CLI tools with FastMCP servers.
|
|
Provides bidirectional communication, progress tracking, and user interaction.
|
|
"""
|
|
|
|
from .esptool_middleware import ESPToolMiddleware
|
|
from .logger_interceptor import LoggerInterceptor
|
|
from .middleware_factory import MiddlewareFactory
|
|
|
|
__all__ = [
|
|
"LoggerInterceptor",
|
|
"ESPToolMiddleware",
|
|
"MiddlewareFactory",
|
|
]
|