Skip to content

Tool Reference

This is the complete reference for every MCP tool exposed by mcesptool. Tools are grouped by component. Each component page documents parameter signatures, return values, and usage examples.

ToolDescription
esp_detect_chipDetect chip type and basic information
esp_connect_advancedAdvanced connection with retry logic and stub loading
esp_reset_chipReset chip via hard, soft, or bootloader reset
esp_scan_portsScan all serial ports for ESP devices (includes QEMU)
esp_load_test_firmwareLoad test firmware for chip validation
esp_load_ramLoad and execute binary in RAM without touching flash
esp_serial_monitorCapture serial output from an ESP device
ToolDescription
esp_flash_firmwareFlash a single binary to device
esp_flash_multiFlash multiple binaries at different addresses in one operation
esp_flash_readRead flash memory contents to a file
esp_flash_eraseErase flash regions or entire flash
esp_flash_backupCreate a complete flash backup
esp_verify_flashVerify flash contents match a file
ToolDescription
esp_partition_create_otaGenerate an OTA-capable partition table
esp_partition_customCreate a custom partition table from configuration
esp_partition_analyzeRead and parse partition table from a connected device
ToolDescription
esp_security_auditComprehensive security audit of device posture
esp_enable_flash_encryptionCheck or enable flash encryption status
esp_efuse_readRead eFuse values (individual or full summary)
esp_efuse_burnBurn an eFuse value (irreversible on real hardware)
ToolDescription
esp_elf_to_binaryConvert ELF file to flashable binary
esp_elf_to_ram_binaryConvert ELF file to RAM-loadable binary
esp_firmware_analyzeAnalyze firmware binary structure and segments
ToolDescription
esp_ota_package_createCreate OTA update package (zip with manifest)
esp_ota_deployDeploy OTA update to a device via HTTP POST
esp_ota_rollbackRollback to previous firmware by erasing otadata
ToolDescription
esp_factory_programFull factory programming pipeline (erase, flash, verify)
esp_batch_programProgram multiple devices concurrently
esp_quality_controlRun quality control tests (basic or extended)
ToolDescription
esp_memory_dumpHex dump of device memory via dump-mem
esp_performance_profileProfile serial transport speed and latency
esp_diagnostic_reportComprehensive device identification report
ToolDescription
esp_qemu_startStart a virtual ESP device with QEMU
esp_qemu_stopStop one or all QEMU instances
esp_qemu_listList all QEMU instances and their status
esp_qemu_statusDetailed status of a specific instance
esp_qemu_flashWrite firmware directly into a stopped instance’s flash image
ToolDescription
esp_server_infoServer name, version, uptime, and capabilities
esp_list_toolsList all tools by category
esp_health_checkEnvironment health check