Agentic HIL logo

Agentic HIL

Policy-gated MCP access to flash, exercise, and verify embedded firmware on real hardware.

Install Agentic HIL

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agentic-hil": {
      "command": "uvx",
      "args": [
        "agentic-hil"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio agentic-hil -- uvx agentic-hil

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx agentic-hil

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Agentic HIL connects coding agents to embedded hardware benches through MCP, with safety gates around device access and actions. It can flash and reset supported targets, exchange data over serial or CAN, and run YAML-defined hardware tests that return structured results, reports, and logs. The same test plans can run locally, through a shared HTTP bench, or in CI with the pytest plugin. Reach for it when firmware development needs repeatable hardware feedback rather than simulator-only checks.

Use cases

  • Run firmware tests on attached development boards
  • Give coding agents structured hardware feedback
  • Validate serial and CAN device behavior
  • Share a hardware bench with CI jobs
  • Check YAML test plans before touching hardware

Key features

  • Policy-gated hardware actions
  • STM32, CMSIS-DAP, and ESP32 workflows
  • Serial and CAN communication
  • YAML hardware test plans
  • Structured reports and audit records
  • Shared HTTP bench execution

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/22 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · agentic-hil (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars36Stargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Agentic HIL works

What Agentic HIL does

Agentic HIL connects coding agents and CI workflows to real embedded devices. It provides an MCP path for hardware actions and a pytest plugin for CI suites, allowing an agent to build firmware, install it on a board, exercise the device, and use observed results to guide further changes.

Safety and access control are central to the execution flow. Hardware requests pass through a shared gate that checks declared devices, permissions, validation rules, and timeouts before a driver is opened. Configuration and audit records remain outside the agent's workspace, while each action produces structured outcome and diagnostic data with paths to reports and logs.

The project supports Linux, macOS, and Windows with Python 3.10 or newer. It is aimed at embedded development teams that need real-device verification, repeatable bench runs, or a controlled way to expose hardware to an AI coding agent.

How it works

A bench configuration maps logical devices in a test plan to physical boards, probes, ports, and buses. YAML plans describe the required sequence of operations and expected device behavior. Before touching hardware, the reactor validates the plan; during execution it can flash, reset, communicate with the device, and compare responses with exact values, patterns, or numeric ranges.

A failed step stops the run. Cleanup, configured recovery actions, and their results are recorded with the test output. The resulting feedback gives the agent concrete pass or fail data for diagnosis and another firmware iteration.

A board can also be exposed as a shared bench. Running agentic-hil serve on the machine attached to the hardware accepts submitted plans over HTTP. Jobs run under the bench machine's configuration and permissions, and clients can submit from the command line, CI, curl, or an agent using the bench MCP endpoint. Shared benches do not provide authentication, so they should be placed on a trusted network.

Setup and configuration

Install for the current user without administrator rights using the platform installer:

Terminal
curl -LsSf https://agentic-hil.github.io/install.sh | sh

On Windows PowerShell, use:

powershell
irm https://agentic-hil.github.io/install.ps1 | iex

The installer registers the MCP server and skill with supported agent CLIs it finds on PATH, installs outside project repositories, and may update the user-level executable path. Restart the agent after installation. Claude Code can alternatively install the skill through its plugin marketplace, although the installer is still needed to provide and register the MCP server.

The package requires Python 3.10 or newer. Hardware setup depends on the selected probe, backend, serial interface, and CAN interface. A no-hardware plan check is available with agentic-hil check-plan <path>; it validates that plans load without loading a bench or contacting a device.

Tools and capabilities

  • Flash and reset STM32 targets through ST-Link with OpenOCD or STM32CubeProgrammer.
  • Use CMSIS-DAP probes through pyOCD.
  • Flash and reset ESP32 targets through esptool and a USB-UART bridge without opening a debug session.
  • Send commands and read responses over serial ports and CAN buses.
  • Connect through PCAN, SocketCAN, or a custom CAN bridge; multiple runs can share a CAN bus through the broker.
  • Validate YAML test plans and execute ordered hardware checks against exact values, patterns, and numeric ranges.
  • Submit plans to a network bench over HTTP and run the same plans from local development or CI.

Limitations and notes

Hardware support depends on the available probe and backend. The supported paths described by the project include ST-Link, CMSIS-DAP, ESP32 USB-UART flashing, serial connections, and the listed CAN backends.

The shared HTTP bench has no authentication. Use it only on a network whose participants are trusted. Agents cannot expand their granted authority through MCP; permissions and device declarations must be configured by the operator. Use the operator-side grant and revoke commands to change individual permissions.

A test plan failure stops the run, although cleanup and configured recovery actions are recorded. Plans can be checked without a board, but actual execution requires a configured and attached bench.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agentic HIL

Agentic HIL is an MCP server that connects coding agents to embedded hardware benches and exposes gated tools for flashing, resetting, communicating with devices over serial or CAN, and running YAML hardware test plans. It returns structured outcomes, diagnostics, reports, and logs from real-device execution.

Install it with the platform installer: run the shell command on Linux or macOS, or the PowerShell command on Windows. The installer places the package in the user environment and registers the MCP server with supported agent CLIs found on PATH. Restart the agent afterward.

It supports STM32 targets through ST-Link with OpenOCD or STM32CubeProgrammer, CMSIS-DAP probes through pyOCD, and ESP32 flashing and reset through esptool with a USB-UART bridge. Device communication can use serial ports or CAN through PCAN, SocketCAN, or a custom bridge.

Yes. The same YAML test plans can be used locally and in CI, and Agentic HIL provides a pytest plugin for CI suites. A shared bench can receive submitted plans over HTTP and execute them under its configured permissions.

Yes. Agentic HIL supports Claude Code setup through its installer, and Claude Code can also install the skill from the plugin marketplace. The installer registers the MCP server and provides an executable path outside the project repository.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgentic HIL AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agentic-hil?style=directory)](https://allmcps.com/mcp/agentic-hil)
HTML Embed
<a href="https://allmcps.com/mcp/agentic-hil"><img src="https://allmcps.com/api/badge/agentic-hil?style=directory" alt="Agentic HIL on AllMCPs" /></a>