NervesMCP first release
Nerves MCP
I've had this library nerves_mcp as a github repo I clone and use for a while. It provides a mix task you can use to connect to a device and then offer an agent an MCP server so it can poke around a device and get into trouble. Mostly it runs snippets and I really like the tool for waiting until the device is rebooted and ideally on the right firmware UUID. It really gets me out of the way for iterating on some tedious stuff.
mixnerves_mcp/dev/ttyUSB0
OR
mixnerves_mcpnerves.local
As part of moving it into the Nerves project itself I tidied up a bunch of stuff and then Frank found more things to tidy up. Primarily I made it usable as a library so you can slap it into whatever automation approach you have. And we have a pending PR for getting it into Nerves Desktop. This way you will can have an MCP instance for every device you want one for.
A neat feature is that it will proxy the serial. So even if you connect the MCP you can still use that serial console by hand or watch what is being done over it. Elixir exposes it to you.
I've used the serial console for non-Nerves devices (I was migrating them to Nerves, in my defense) and for uboot. The MCP will crudely try to understand if it is dealing with an Elixir shell by throwing some Elixir at it. And if not it will fall back to something more generic.
ElixirConf in Japan?
Some folks are looking at doing ElixirConf in Japan. That seems fairly phenomenal as an idea. Weigh in on their survey to improve the odds of cool stuff happening. We already have a dedicated Nerves JP community. I'd personally love to go.
Software updates
NervesHub has had a batch of vulnerabilities reported. It has also released a bunch of (unrelated) features and improvements. The changelogs are way too big to share here. Read them if you use it. Lots of good and useful stuff. Including more and more mobile-friendly UI. If you are hosting your own. Update. The CVEs patched and you need to update. nerves_hub_web, v2.5.4 nerves_hub_web, v2.5.3 nerves_hub_web, v2.5.2 nerves_hub_web, v2.5.1
The security advisories:
- High: GHSA-8j48-4mg5-7v6v, CVE-2026-125275. A device certificate whose CA isn’t registered in NervesHub kept its TLS handshake running forever, querying the database thousands of times a second, long after the device had disconnected. Affects 1.0.0 to 2.5.3.
- Critical: GHSA-9vr9-463q-46qp, CVE-2026-119446. CLI sign-in links gave an API token to whoever sent them. Affects 2.5.0 to 2.5.2.
- High: GHSA-r92p-gg92-gmwm, CVE-2026-120999. Google sign-in, and the link in a confirmation email, signed people in to an account someone else had registered with their address. Affects 2.3.0 to 2.5.2.
- High: GHSA-rpp7-x9hm-jrmr, CVE-2026-120730. A user who could manage devices in any org, and anyone with an account can create one, could write into another org through IDs in API requests and web UI forms. Affects 1.0.0 to 2.5.2.
- High: GHSA-2j7r-q3vm-8j34, CVE-2026-120295. The devices page’s bulk move let a user move devices into an org where they had only the view role. Affects 1.0.0 to 2.5.2.
- Medium: GHSA-gxj7-m8x6-r644, CVE-2026-120286. Members with the view role could upload or delete device certificates, change a device’s tags and location, add devices to a deployment group or take them off one, and start or delete firmware delta builds. Affects 1.0.0 to 2.5.2.
- Low: GHSA-c7jf-qcx9-xxf8, CVE-2026-120997. Removing a member, or lowering their role, didn’t affect the pages, consoles, local shells and device event streams they already had open. Affects 2.0.0 to 2.5.2.
- EEF-CVE-2026-117645: phoenix_html updated to 4.4.0. Not reachable in NervesHub.
- EEF-CVE-2026-117666: ssl_verify_fun updated to 1.1.9. Not reachable in NervesHub.
- EEF-CVE-2026-118391: ecto updated to 3.14.3. NervesHub doesn’t build the queries it affects.
Link has also seen some updates.
nerves_hub_link, v2.14.0
- The socket’s websocket upgrade now sends NHL/<version> as its User-Agent, as firmware downloads already did, so a NervesHub that reads it can record which version of NervesHubLink each device runs. A User-Agent already set in the socket headers is left alone. (#512)
- Bumped slipstream to 1.3.0, nimble_options to 1.2.0, and mint_web_socket to 1.0.6.
- Public keys NervesHub sends for firmware or archive verification are now ignored unless the device asked for them when it connected, rather than replacing the keys configured on the device. (#510)
nerves_hub_link, v2.13.1
- Reconnects now refresh the shared-secret signature for any configurator, not just NervesHubLink.Configurator.SharedSecret. Custom configurators reused their first signature and were refused once it expired. (#505)
nerves_hub_link, v2.13.0
- Firmware and archives that can’t be signature verified are now refused instead of applied unverified. A device with no fwup_public_keys that gets none from NervesHub will stop taking updates until keys are configured. (#464)
- Minimum Elixir version is now 1.15. (#432)
- Downloader no longer logs signed firmware URLs or SSL/proxy options. (#462)
- Minimum mint is now 1.9.0, which fixes GHSA-g586-ccqf-7x4r, GHSA-2p26-p43x-fhp8, GHSA-mjqx-c6f6-7rc2 and GHSA-2pg6-44cx-c49v.
- Device-managed updates: check_for_update/1, start_update/1, update_mode/1 and set_update_mode/2 let a device decide when to take firmware. (#473)
- PartsUpdater: downloads and verifies firmware part by part, resumes from the last good part, and can fetch parts concurrently. (#462)
- Extensions: Error Reports (#474), Logging and batched Logging (#303, #470), and Network Identity (#460). Extension versions are now negotiated with the server. (#468)
- Optional Msgpack serializer for smaller socket messages. (#443)
- NervesHubLink.Supervisor for running NervesHubLink in your own supervision tree (config :nerves_hub_link, start: :manual). (#467)
- Optional updater callbacks: handle_message/2 (#462), and handle_progress/3 (#500) so an updater can change the progress it reports.
- SharedSecret auth recovers from a wrong device clock using the server’s Date header.
- Nerves.Runtime.firmware_slots/0 support. (#442)
- Resumed downloads interrupted a second time no longer corrupt the firmware. (#462)
- CachingUpdater now honours its documented cache_dir (#452) and clears a stale cache on a rejected range request (#461).
- Several socket crashes on unexpected replies or a busy connection. (#453)
Systems updated. All of the systems below:
- Use Nerves 2 to create official system artifacts. Generated artifacts work on both Nerves 1 and Nerves 2 like in the previous release.
- Publish SHA256 checksums (checksum.exs) to Hex.pm
Kiosk systems
kiosk_system_qemu_aarch64, v0.3.2 kiosk_system_rpi5, v2.2.2 + Fix the ramoops/pstore overlay so it works againkiosk_system_rpi4, v2.2.2
- Remove hardcoded BR2_CCACHE since it’s build-time configurable now
Pi systemsnerves_system_rpi5, v2.2.2 + Fix the ramoops/pstore overlay so it works againnerves_system_rpi4, v2.2.2 nerves_system_rpi3a, v2.2.2 nerves_system_rpi3, v2.2.2 nerves_system_rpi2, v2.2.2 nerves_system_rpi0_2, v2.2.2 nerves_system_rpi0, v2.2.2 nerves_system_rpi, v2.2.2
- Linux 6.18.50
Other systems
nerves_system_qemu_aarch64, v0.5.2 nerves_system_mangopi_mq_pro, v0.18.2 nerves_system_vultr, v0.32.2 nerves_system_x86_64, v1.35.2 nerves_system_bbb, v2.31.2
nerves_system_trellis, v0.6.2 nerves, v2.0.0-pre.9
- Changes
- Add mix nerves.artifact.clean --images to destroy the container. The normal clean calls into the container to clean the build which is useful for most development. If you want to be sure, though, like on CI, this erases the container without erasing downloaded assets. mix nerves.artifact.purge erases everything which can be too much.
- Include the entrypoint in the container hash which is used to detect when the container needs to be rebuilt. This fixes an issue on CI where old containers were being used with the pre.8 update that added ccache.
nerves, v2.0.0-pre.7
- Changes
- Fix vm.args.eex check for Erlang and Gleam projects
nerves, v2.0.0-pre.6
- Changes
- Add optional SHA256 checksum verification for package artifacts. This is a similar mechanism to elixir_make that generates a checksum.exs file that’s published to Hex.pm.
- Add optional OpenSSL public-key signature verification for package artifacts. This is currently experimental. It handles use cases where artifact archives aren’t all available at the time the package is published (E.g., toolchains on new host platforms) and cases where Hex.pm isn’t used.
- Support the Nerves v1 build_runner_opts parameter when building systems
- Improve artifact workspace setup, retries, and source synchronization
- Fix build-plan creation for dependencies declared with app: false
- Update the system documentation for Nerves 2 and artifact verification
nerves_bootstrap, v1.17.4 qmi, v0.10.4
- Add QMI.WirelessDataAdmin for getting and setting modem data formats
- Add UIM card status and session provisioning support
- Extend WDS current settings with IPv4/IPv6 addresses, gateways, DNS servers, and domain information
- Add WDS profile listing, reading, and creation, including profile names and roaming restrictions
- Extend profile settings modification with APN, authentication, and PDP type options
- Add support for getting the default 3GPP profile and LTE attach PDN list
- Add a :timeout option to QMI.call/3 and QMI.WirelessData.start_network_interface/2
- Return call end reasons when starting a network interface fails and improve failure logging
- Fix crashes when parsing unknown call end reason types
- Skip raw IP configuration when the interface’s qmi/raw_ip sysfs file is absent
Community projects
bb_liveview, v0.4.0
- Discover and preview robot cameras on the dashboard (#197) by James Harton
- drop the joint control’s catches for late and missing actuators (#173) by James Harton
- keep parameter rows’ inputs with their own parameter across tabs (#165) by James Harton
bb_kino, v0.5.0 - Discover and preview robot cameras in Livebook (#186) by James Harton atomvm_packbeam, 0.8.3 - This release introduces support for native records. ExNVR, v0.29.0
- Add PTZ controllers
- Store run_id as metadata in mp4 files
- Rebuild run and recordings from mp4 files
- Download recordings from Milesight camera
- Backfilling recordings from camera’s internal storage
- Recover recordings from camera’s internal storage
- Add ability to export footage to S3
- Auto configure Milesight camera
- Fix permissions and access control
- Re-enable squashfs compression



