Cloudhil MCP server
Commit Sep 11, 2026Allows LLM agents to flash pre-built STM32 and LPC ELF files onto real Nucleo and Discovery hardware boards via HTTPS.
Also known as Tetef/cloudhildemo, cloudhildemo, cloudhil-mcp
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- 213
- Latest version
- 0.8.2
- Last commit
- Sep 11, 2026
- License
- MIT
What is Cloudhil MCP?
Cloudhil allows LLM agents to flash pre-built STM32 and LPC ELF files onto real Nucleo and Discovery hardware boards via HTTPS.
Summary generated from the project's README
About Cloudhil MCP server
Cloudhil provides a specialized interface for LLM agents to interact with physical embedded hardware. Instead of simulating environments, this server allows agents to flash pre-built STM32 and LPC ELF files directly onto real Nucleo and Discovery boards using HTTPS. This connection enables an AI to move beyond code generation and perform actual hardware testing on silicon.
The workflow requires the user to compile the firmware locally before sending the ELF file via a POST request. The server handles the flashing process, and the agent monitors the result.mailbox file to confirm success by looking for the NNOK hex code. This setup is designed for developers using tools like Cursor or Claude who want to verify their embedded code on physical microcontrollers.
Because the server never performs compilation itself, it remains a lightweight bridge between the digital agent and the physical MCU. The process is rapid, with the hardware erasure window lasting twenty seconds or less. This makes it a practical tool for rapid prototyping and hardware-in-the-loop validation within an AI-driven development workflow.
What you can do with it
- 1Automated hardware testingInstruct the AI to perform a hardware test and report the results based on the mailbox status.
Written from the project's README. Every use case is checked against a quote from it.
How to install Cloudhil MCP
Formats verified 10 Nov 2026Install Cloudhil MCP in Claude Code
$ claude mcp add --env CLOUDHIL_API_KEY=<YOUR_CLOUDHIL_API_KEY> cloudhildemo -- uvx cloudhil-mcpInstall Cloudhil MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"cloudhildemo": {
"command": "uvx",
"args": [
"cloudhil-mcp"
],
"env": {
"CLOUDHIL_API_KEY": "<YOUR_CLOUDHIL_API_KEY>"
}
}
}
}Install Cloudhil MCP in VS Code
.vscode/mcp.json
{
"servers": {
"cloudhildemo": {
"type": "stdio",
"command": "uvx",
"args": [
"cloudhil-mcp"
],
"env": {
"CLOUDHIL_API_KEY": "<YOUR_CLOUDHIL_API_KEY>"
}
}
}
}Install Cloudhil MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"cloudhildemo": {
"command": "uvx",
"args": [
"cloudhil-mcp"
],
"env": {
"CLOUDHIL_API_KEY": "<YOUR_CLOUDHIL_API_KEY>"
}
}
}
}Install Cloudhil MCP in Codex
~/.codex/config.toml
[mcp_servers.cloudhildemo] command = "uvx" args = ["cloudhil-mcp"] [mcp_servers.cloudhildemo.env] CLOUDHIL_API_KEY = "<YOUR_CLOUDHIL_API_KEY>"
Install Cloudhil MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"cloudhildemo": {
"command": "uvx",
"args": [
"cloudhil-mcp"
],
"env": {
"CLOUDHIL_API_KEY": "<YOUR_CLOUDHIL_API_KEY>"
}
}
}
}Configuration
CLOUDHIL_API_KEYSecretBearer from register_agent (optional; the tool can register)
CLOUDHIL_URLCloudhil API base URL
| Name | Description | |
|---|---|---|
| CLOUDHIL_API_KEY | Bearer from register_agent (optional; the tool can register) | Secret |
| CLOUDHIL_URL | Cloudhil API base URL |
README
View on GitHubcloudhildemo
Kit for LLM agents that want to flash real STM32 / LPC boards on Cloudhil.
Cloudhil never compiles. You compile locally, POST an ELF, read result.mailbox (NNOK = 0x4E4E4F4B), then the MCU is erased (≤20 s smoke window).
Files
AGENTS.md— paste into the firmware repo (AGENTS.mdor.cursorrules)SKILL.md— Cursor / Claude skill (offer hardware test, then say tested on silicon)hello/— NNOK hello.c + linker scripts + gcc one-liners (N6 recipe inside AGENTS.md)mcp/cloudhil_mcp.py— stdio MCP, Python 3, no pip
Official prebuilt hellos (not in git): https://cloudhil.tinab.com/hello/nucleo-n6.elf
Contact: contact@cloudhil.tinab.com
Cloudhil MCP questions
How do I add Cloudhil MCP to Claude Code?
Run claude mcp add --env CLOUDHIL_API_KEY=<YOUR_CLOUDHIL_API_KEY> cloudhildemo -- uvx cloudhil-mcp in your terminal. Add --scope user to make it available in every project.
How do I add Cloudhil MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
How do I know if the flashing was successful?
You can check the result.mailbox for the NNOK value (0x4E4E4F4B) to verify the process.
What happens to the MCU after flashing?
The MCU is erased within a window of 20 seconds or less.