Rake
Server Details
Write and debug firmware with exact chip data
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 28 tools
Calculators, decoders, lookups and checkers are cleanly separated by peripheral, architecture or target file, so most selections are obvious. The main soft spot is the advisory cluster (diagnose_symptom, get_playbook, get_platform_pitfalls, get_break_list), where a 'board won't start' request could plausibly land in three tools, and lookup_register/check_registers/decode_registers sit adjacent, though descriptions do distinguish them.
Every tool is snake_case verb_noun (calc_*, check_*, decode_*, find_*, list_*, lookup_*, get_*, diagnose_*), with the verb matching the action type. The prefix also acts as a lightweight taxonomy, making the set predictable to scan.
28 tools is heavy, but the server is a broad firmware knowledge base spanning device data, RTOS configs, fault decoding and guidance, so each has a plausible distinct data source. Still, the six advisory tools and six check_* tools could be consolidated into fewer dispatch-style tools with a target/area parameter.
Coverage is strong: timing math for CAN/I2C/UART/timer/watchdog, register/peripheral/pin/interrupt data, RTOS config validation and multi-architecture fault decoding. Gaps remain for common needs like SPI timing, clock-tree/PLL configuration checking, and Cortex-M0/M0+ fault decoding, which agents will have to work around manually.
Available Tools
28 toolscalc_can_bit_timingCalculate CAN bit timingARead-onlyIdempotentInspect
Computes the CAN bit timing for a clock, a bit rate and a sample point: prescaler, time quanta, both segments and the jump width, with the real bit rate, the real sample point and the register value. Use it when setting up CAN or CAN FD instead of working the values out by hand. The controller classic gives the counts for a classic CAN controller whose time quantum is the prescaler times the clock period, within the fields most of them have: a prescaler up to 64, segments up to 16 and 8 quanta, and a jump width up to 4. sja1000 and mcp2515 are those two controllers, which halve the oscillator before the prescaler and have limits of their own. With bxcan (CAN_BTR of STM32) or mcan-nominal and mcan-data (NBTP and DBTP of Bosch M_CAN, which several vendors use for CAN FD), it also packs the register value.
Inputs: bit_rate (required), clock_hz (required), controller (required), sample_point.
calc_i2c_timingCalculate I2C timingARead-onlyIdempotentInspect
Computes I2C timing from the limits of the I2C-bus specification: the SCL low and high times for a bus speed as counts of the controller's clock, or the register value of a controller it knows. It can also check an existing register value against the limits. Use it to set up an I2C controller instead of copying a timing value from another project, where the clock differs. The controller generic gives counts for any controller that takes SCL low and high times. The controller stm32-timingr gives I2C_TIMINGR for the STM32 series that have that register, which F1, F2, F4 and L1 do not.
Inputs: mode (required), clock_hz (required), controller (required), bus_hz, +5 more.
calc_timer_prescalerCalculate timer prescaler and reloadARead-onlyIdempotentInspect
Computes the prescaler and the auto-reload value of a timer for an update or PWM frequency, with the real frequency, its error and the PWM duty resolution in bits. Use it to set up a periodic interrupt or a PWM output. For any timer with a 16-bit prescaler and a 16-bit or 32-bit counter that both count from 0, which is how most microcontroller timers are built.
Inputs: clock_hz (required), frequency_hz (required), counter_bits.
calc_uart_baudCalculate a UART baud rate divisorARead-onlyIdempotentInspect
Computes the divisor for a UART baud rate from the peripheral clock, with the real baud rate and its error in percent, and the BRR value for STM32. Use it to set a baud rate or to find out why a link shows framing errors or garbage. The peripheral generic fits any UART that divides its clock by a whole number, with 16 or 8 samples a bit. For the STM32 USART and LPUART it also gives the BRR value.
Inputs: baud (required), clock_hz (required), peripheral (required), oversampling.
calc_watchdog_timeoutCalculate watchdog register valuesARead-onlyIdempotentInspect
Computes the register values of a watchdog for a timeout, with the real timeout. Use it to set up a watchdog instead of working the prescaler and the reload value out by hand. It knows the STM32 independent watchdog (IWDG_PR and IWDG_RLR), the STM32 window watchdog (WDGTB and the counter) and the nRF watchdog (CRV). The timeout is never shorter than the one asked for.
Inputs: watchdog (required), timeout_ms (required), clock_hz.
check_build_flagsCheck compiler and linker flagsARead-onlyIdempotentInspect
Reads compiler and linker command lines, or the values of CFLAGS and LDFLAGS, and reports what bites on a microcontroller: objects built for different cores or float ABIs, a link line without the core or the float ABI, sections without garbage collection, a build without debug information or without warnings. Use it after writing or changing a Makefile, a CMake toolchain file or the flags of a build. It knows the flags of GCC and Clang and reads the flags only, not the code.
Inputs: flags (required).
check_esp_idf_apiCheck code against an ESP-IDF releaseARead-onlyIdempotentInspect
Finds the ESP-IDF functions, types and headers in a piece of code that do not fit the ESP-IDF release of the project: removed, changed or deprecated by that release, or introduced after it. Each finding names the replacement. Use it on ESP32 code before building, when the code may come from another ESP-IDF major version, for example ESP-IDF 4 driver calls in an ESP-IDF 5 project. The list comes from Espressif's migration guides for ESP-IDF 5.0 to 5.5, so a name outside those guides is not judged.
Inputs: code (required), idf_version (required).
check_freertos_configCheck a FreeRTOSConfig.hARead-onlyIdempotentInspect
Reads the content of a FreeRTOSConfig.h and reports settings that stop the build, break the kernel at run time or hide errors, with the values it read. Use it when a FreeRTOS project hangs in a critical section, hard-faults at the first context switch, or before trusting a configuration copied from another project. It checks the interrupt priorities of the Cortex-M ports, stack and heap failure detection, the tick settings, software timers and the hooks the application owes. It does not evaluate #if conditions.
Inputs: config (required).
check_interrupt_handlersCheck interrupt handler namesARead-onlyIdempotentInspect
Checks interrupt handler function names against the vector table of a part and says for each whether the startup file declares it, or names the closest that it does. Use it on every interrupt handler function in the code: a handler with a name the startup file does not declare compiles and links, and is never called. It needs the vendor's device header, which the data has for ST parts. For another part it says so and judges nothing.
Inputs: names (required), device (required).
check_registersCheck register and field namesARead-onlyIdempotentInspect
Checks a list of register, field and peripheral names against the vendor's own file for a microcontroller and says for each whether it exists, with its address or bit position, or names the closest that do. Use it after writing or reviewing register-level code, on every name the code uses, to catch a register or bit that does not exist on this part. Covers 935 devices from ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI, and says so when it has no data for a part. Names follow that file. Another file of the vendor, such as a header, can spell a few of them differently.
Inputs: names (required), device (required).
check_zephyr_confCheck a Zephyr prj.confARead-onlyIdempotentInspect
Checks the lines of a Zephyr configuration file (prj.conf, a board .conf or an overlay) against the Kconfig symbols of a release: symbols that do not exist, with the closest that do, values of the wrong type or outside the range, and symbols that a file cannot set. Use it after writing or editing a prj.conf, before building. It does not evaluate dependencies or board defaults, so the build can still warn about a symbol whose dependencies are not met.
Inputs: conf (required), version.
decode_cortex_m_faultDecode Cortex-M fault registersARead-onlyIdempotentInspect
Decodes Arm Cortex-M fault status register values (CFSR, and optionally HFSR, MMFAR, BFAR, SFSR, SFAR, EXC_RETURN and the stacked PC) into the faults they record and the checks to make next. For Cortex-M3, M4, M7, M33, M55 and M85. Use it when firmware lands in HardFault, MemManage, BusFault, UsageFault or SecureFault and the register values are known.
Inputs: cfsr (required), bfar, hfsr, sfar, +4 more.
decode_esp_panicDecode an ESP-IDF panicARead-onlyIdempotentInspect
Reads the text an ESP32-family chip prints when ESP-IDF panics and returns the cause, what it means, what to check and the addresses to resolve. Use it when the serial output shows a Guru Meditation Error, an abort(), a task watchdog or interrupt watchdog timeout, a stack overflow or a brown-out. It handles the Xtensa chips and the RISC-V chips. It does not turn addresses into source lines: that needs the ELF file.
Inputs: log (required).
decode_registersDecode or compare register dumpsARead-onlyIdempotentInspect
Decodes a register dump of a microcontroller into registers and bit fields, with the named value of each field, from the vendor's own file for the part. With a second dump it returns only what differs between the two. Use it to see what a peripheral is really set to, and to compare a setup that works with one that does not: a vendor example against your code, or a good board against a bad one. A dump is a read: on some status and data registers a read clears flags or takes a byte. Covers 935 devices from ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI, and says so when it has no data for a part.
Inputs: dump (required), device (required), compare.
decode_riscv_trapDecode a RISC-V trap causeARead-onlyIdempotentInspect
Decodes the mcause value of a 32-bit RISC-V core into the exception or interrupt it names, and says what mepc and mtval hold for that cause and what to check. Use it when a RISC-V microcontroller, such as an ESP32-C3 or a GD32V, stops in its trap handler and the register values are known. It covers the causes of the RISC-V privileged specification, not vendor-specific ones.
Inputs: mcause (required), mepc, mtval.
decode_zephyr_fatalDecode a Zephyr fatal errorARead-onlyIdempotentInspect
Reads the text Zephyr prints on a fatal error and returns the fault, the thread, the faulting address, what to check and the command that resolves the address. Use it when the console shows "ZEPHYR FATAL ERROR", a fault block such as "***** BUS FAULT *****" or "ASSERTION FAIL". The fault detail lines it reads are those of the Arm Cortex-M port. It does not turn addresses into source lines: that needs the ELF file.
Inputs: log (required).
diagnose_symptomDiagnose a symptom on hardwareARead-onlyIdempotentInspect
Returns what a firmware engineer does when a board shows a symptom: the order to work in, the suspects in order of likelihood, what to ask the board first, and what each answer means. Use it before changing code for anything seen on hardware: a hang, a reset, a fault that comes and goes, a silent bus, a build that works only with the debugger. With a device, it names the registers to read on that part. Omit the symptom for the list.
Inputs: device, symptom.
find_deviceFind a microcontroller in the dataARead-onlyIdempotentInspect
Says what data the server has for a part name: the device with register data, the vector table and the pin data, and the exact names to use in the other tools. Use it first when a part number is loose or partial, such as "stm32g431" or "nrf5340", or to see whether a part is covered at all. Register data covers ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI parts, vector tables ST parts and pin data ST parts.
Inputs: name (required).
find_pinsFind pin functionsARead-onlyIdempotentInspect
Returns the pins of a part that can carry a signal, with what the code must select to route it there, such as the alternate function, or every signal of one pin. Use it to pick the pin for a peripheral signal such as USART2_TX, to get the alternate function number for it, or to see what else a pin can do. Pin data comes from the vendors' own pin files, which the data has for ST parts, per package. For another part it says so.
Inputs: part (required), pin, signal.
get_break_listGet the faults to test firmware againstARead-onlyIdempotentInspect
Returns the faults to try on firmware, by area: power, buses, inputs, time, memory and storage, clocks, updates, the watchdog and missing parts, with the order to work through them. Use it to review or test firmware for robustness, one fault at a time. Omit the area for the list.
Inputs: area.
get_debug_techniqueGet a move to observe or shape firmwareARead-onlyIdempotentInspect
Returns how to make firmware show what it does, on the bench or in the code and the build: watch a variable the optimiser removed, time a handler with a pin, keep evidence across a reset, find who corrupts memory, match a wire format, let the compiler forbid a mistake, shrink an image. Each move says what it shows and what it costs. Use it when you need an observation, or a compiler, linker or macro technique, instead of a guess. Omit the goal for the list.
Inputs: goal.
get_firmware_rulesGet firmware coding rulesARead-onlyIdempotentInspect
Returns coding rules for microcontroller firmware in C, C++ or Rust. Each rule has an id, a habit with its reason, what to look for in review, and the MISRA or CERT rule numbers it relates to. The rules that block a change come first. Use it before writing firmware code, or to review code rule by rule, where a finding can name the id of its rule. Give a context to get only the rules for that kind of code.
Inputs: language (required), context.
get_platform_pitfallsGet the traps of a platform or a busARead-onlyIdempotentInspect
Returns the traps of one microcontroller family, RTOS, SDK or bus as habits: when something shows up there or before a risky step, what to do, and why. Use it before writing code for a platform or a bus that has not come up in this session, and when a board will not connect, flash or start. Subjects: buses, esp-idf, esp32, freertos, kinetis, nrf-connect, nrf52, pico-sdk, rp2040, samd, stm32, stm32-hal, zephyr. Omit the subject or the topic for the list.
Inputs: topic, subject.
get_playbookGet the order of a firmware taskARead-onlyIdempotentInspect
Returns the steps of a firmware task in the order that keeps every step provable: bringing up a new board, writing a driver, an interrupt handler, a watchdog, a firmware update, low power. Use it before starting one of these tasks. Each step says when it is done, and the next one stands on it. Omit the task for the list.
Inputs: task.
list_interruptsList the interrupts of a partARead-onlyIdempotentInspect
Returns the interrupt numbers and names of a microcontroller and, where the data has the vendor's device header, the handler names of the startup file. Use it to find the interrupt number for a call that enables or prioritises it, the exact handler name to define, or which peripherals share a vector. Handler names come from device headers, which the data has for ST parts. For other parts the list comes from the file that the registers come from, without handler names.
Inputs: device (required), filter.
lookup_registerLook up a register or bit fieldARead-onlyIdempotentInspect
Returns the address, size, access, reset value and bit fields of a register of a microcontroller, or the registers of a peripheral, from the vendor's own file for the part. Use it instead of recalling a register address, a bit position or a field name from memory, and to find what an address in a fault report or a debugger belongs to. Covers 935 devices from ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI, and says so when it has no data for a part.
Inputs: name (required), device (required).
lookup_zephyr_bindingLook up a Zephyr devicetree bindingARead-onlyIdempotentInspect
Returns the devicetree binding of a compatible in a Zephyr release: its properties with type, whether required, allowed values and defaults, the bus it sits on, its child nodes and its specifier cells. Use it when writing a devicetree node or overlay, instead of recalling property names from memory. Covers the bindings in the Zephyr tree for 3.7, 4.4, 4.5. Bindings that a module or an application adds are not covered.
Inputs: compatible (required), version.
lookup_zephyr_kconfigLook up a Zephyr Kconfig symbolARead-onlyIdempotentInspect
Returns a Zephyr Kconfig symbol of a release: type, prompt, range, defaults, dependencies, what selects it and its help text. Or searches symbol names and prompts for words. Use it instead of recalling a CONFIG_ name or its meaning from memory, and to find the symbol for a feature. Covers the symbols of Zephyr 3.7, 4.4, 4.5 and of the modules in its manifest. It does not cover symbols that only the nRF Connect SDK or another downstream tree defines.
Inputs: search, symbol, version.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Run, build, and validate firmware on virtual hardware from your AI agent. Hardware knowledge corpus.
Flash pre-built STM32/LPC ELFs on real Nucleo/Discovery boards over HTTPS. Does not compile.
Design circuits, simulate and verify embedded firmware, and lay out PCBs with AI agents.
A public board where AI agents design pieces of an open AI inference accelerator on sky130. Submit Verilog and it is linted, synthesised, simulated against hidden vectors, mapped to real standard cells for area, timed for critical path and power, and proven equivalent to a reference. No key, no account, one call. The best verified design gets fabricated.
Related MCP Servers
- AlicenseBqualityBmaintenanceExposes an ESP32-S3 Bit-Pirate bench's UART, SPI, I2C, 1-Wire and GPIO capabilities as MCP tools over stdio, letting an AI agent probe chips, dump flash to files, and analyze firmware (file signatures, secrets, entropy) on the device itself. Includes multi-tier safety gating with double confirmation for destructive writes and erases.33MIT
- AlicenseAqualityBmaintenanceEnables AI agents to directly inspect and debug embedded hardware: reading/writing serial ports and bus devices, auto-detecting baud rates, parsing Modbus/NMEA/custom binary frames, plus diagnosing failures through a 45-rule fault-pattern library, error-code tables, and compile/flash error translation. Also provides pin-conflict checking, register and Cortex-M fault decoding, pre-validated driver and component selection libraries, board knowledge, and guarded flashing with post-flash byte-level verification.59MIT
- AlicenseBqualityBmaintenanceEnables AI agents to discover embedded devices, acquire signals, adjust and read back parameters, run experiments, and review or compare recorded results through structured tools.12GPL 3.0
- AlicenseAqualityBmaintenanceSerial and GDB/SWD MCP servers for real hardware: agents read consoles, drive U-Boot, set breakpoints, and probe unknown Cortex-M boards.92MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.