Skip to main content
EmbiMind MCP Logo

EmbiMind MCP

Where AI Gets Embedded.

Give your AI assistant real hardware hands—without taking yours off the wheel.
Compile • Inspect • Flash • Debug bare-metal ARM firmware in a closed human-in-the-loop workflow.

PyPI v1.0.0 Python 3.13+ MIT License MCP STDIO


Stop Copy-Pasting Registers. Start Shipping Firmware.

Most AI coding tools stop at the editor. The moment you hit a HardFault, a linker overflow, or a stubborn peripheral register, you're back to juggling terminals, OpenOCD scripts, and GDB windows.

EmbiMind MCP connects your AI IDE directly to your ARM GNU Toolchain, OpenOCD, and GDB/MI2—turning your assistant into an embedded co-pilot that stays strictly under your command.

  • Zero Guesswork: Inspects real ELF sections, memory maps, and Cortex-M fault registers (CFSR, HFSR, MMFAR, BFAR).
  • Closed Human-in-the-Loop: AI prepares the plan; you approve every flash erase, target reset, and memory write.
  • Zero Setup Friction: One command (uvx embimind-mcp) auto-provisions the verified ARM toolchain and OpenOCD.

How the Closed Human-in-the-Loop Works

flowchart LR
    A["1. AI Diagnoses & Prepares<br/>(flash_preflight / triage_cortex_m)"] --> B["2. SHA-256 Plan Token<br/>(Exact Sectors & Memory Bounds)"]
    B --> C{"3. Human Approval Gate<br/>(user_approved=true)"}
    C -- Approved --> D["4. Atomic Flash & Verify<br/>(flash_and_verify + Reset)"]
    C -- Rejected --> A
    D --> E["5. Live GDB/MI2 Debug<br/>(Breakpoints, Registers, Memory)"]
    E --> A

Every destructive operation is plan-bound and fail-closed—no silent flashes, no unvalidated memory writes, and no host shell escapes.


What It Brings to Your Bench

Capability What Your AI Can Do
Build & Analyze ARM GNU Toolchain Compile C/C++/ASM, link ELFs, generate .bin/.hex, and audit Flash/RAM usage & disassembly.
Target Control OpenOCD Tcl RPC Discover board configs, connect SWD/JTAG probes, and run allowlisted target commands.
Live Debugging Persistent GDB/MI2 Set hardware breakpoints/watchpoints, step instructions, read memory batches, and inspect call stacks.
Fault Triage Cortex-M Diagnostics Capture CPUID, ICSR, CFSR, HFSR, MMFAR, BFAR, and core registers in a single call.

30-Second Setup

Add embimind-mcp to Claude Code, Cursor, Codex, Antigravity, or Gemini CLI:

{
  "mcpServers": {
    "embimind-mcp": {
      "command": "uvx",
      "args": ["embimind-mcp"]
    }
  }
}

Or install globally with pip / uv:

pip install embimind-mcp
# or
uv tool install embimind-mcp

On first launch, embimind-mcp verifies and provisions the ARM GNU Toolchain and OpenOCD over HTTPS with SHA-256 verification. All logs go to stderr so MCP STDIO stays clean.


Supported Platforms & Configuration

  • Host OS: Windows x86_64 and Linux x86_64 (auto-provisioned). macOS / ARM64 supported via EMBIMIND_TOOLCHAIN_DIR.
  • Python: >=3.13
  • Target Hardware: ARM Cortex-M targets via OpenOCD + GDB/MI2, with built-in memory-map profiles for STM32F411VETx and STM32F411RE.
Environment Variables & Troubleshooting
Variable Description Default
EMBIMIND_APP_DIR Override per-user app/data/toolchain directory %LOCALAPPDATA%\EmbiMind (Win) / ~/.local/share/EmbiMind (Linux)
EMBIMIND_TOOLCHAIN_DIR Use a local ARM GNU + OpenOCD directory (offline/air-gapped) <EMBIMIND_APP_DIR>/toolchain
EMBIMIND_TOOLCHAIN_URL Override toolchain archive download URL (HTTPS only) GitHub Release v1.0.0 asset
EMBIMIND_TOOLCHAIN_SHA256 Expected SHA-256 checksum for custom toolchain archive Pinned release SHA-256
EMBIMIND_OPENOCD_PORT Override OpenOCD Tcl RPC port 6666
  • Offline / air-gapped setup: Point EMBIMIND_TOOLCHAIN_DIR to a folder containing arm-gnu-toolchain/bin/ and openocd/bin/.
  • Linux USB permissions: Install udev rules for ST-Link/CMSIS-DAP and add your user to plugdev.
  • Port 6666 conflict: Set EMBIMIND_OPENOCD_PORT or call stop_all_sessions().

Metadata

Release files for embimind-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for embimind-mcp 1.0.0
File Size Uploaded Provenance Actions
embimind_mcp-1.0.0.tar.gz 163.2 kB With provenance Details for embimind_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for embimind-mcp 1.0.0
File Interpreter ABI Platform Actions
embimind_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for embimind_mcp-1.0.0-py3-none-any.whl

Total release size: 338.4 kB

Release files / embimind_mcp-1.0.0.tar.gz

Download URL embimind_mcp-1.0.0.tar.gz
Size 163.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fba7dd41be3a7db22d4833578c73eb5ee76813c4753d796c51160844db65cb1c
BLAKE2b-256 checksum
How to use checksums
0c92f9317eae4f3acea32db2916d93ef35acddf3d1959251a2f5656925c243d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / embimind_mcp-1.0.0-py3-none-any.whl

Download URL embimind_mcp-1.0.0-py3-none-any.whl
Size 175.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3daefcd4d1d3f0359b88b958d98b7f670df183081713910b29bd2f97e767ba77
BLAKE2b-256 checksum
How to use checksums
dcf1a0c7c549deba6ab9801479e0d2054bff615f5359beff6cf82c004e2bed3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for embimind-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for embimind_mcp-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page