zephyr-ra-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZEPHYR_RA_MOCK | No | Set to 1 to use MockProbe so the server can be developed or tested without hardware. | |
| ZEPHYR_RA_PROJECT | No | Decides where session.json (the stage progress) lands; without it, it is cwd, so it drifts with wherever you started the session. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| stage_statusA | Show the current bring-up stage, the stages already passed, and the available tools. |
| stage_verifyA | Verify whether the given stage passes; on success, unlock the next stage's tools. Returns self-verifiable evidence, not just true/false; on failure it names the single most likely cause. |
| stage_overrideA | Manually pass a stage (skipping verification). A reason is required. stage_key is the stage's key (probe/flash/clock/log/shell/gpio/bus/device/app), not a tool name; an unrecognized key is rejected. The returned unlocked list is what this call actually added. |
| connectB | Connect to the J-Link and the target RA MCU, and take the RTT control block address from the ELF. |
| disconnectA | Disconnect and stop the log pump. Local state is always left clean (you can connect again afterwards); if the probe side refuses to let go, that comes back in probe_error rather than failing the call. |
| statusB | Current connection, halt state, stage, and attempt count. |
| read_core_regsB | Read the Cortex-M core registers (R0-R12, SP, LR, PC, XPSR...). |
| resetD | Reset the target. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools are clearly distinct: connect/disconnect/reset/read_core_regs cover separate actions, and stage_verify vs stage_override have opposite semantics that descriptions make explicit. The one real ambiguity is `status` vs `stage_status`, which both report stage information; the descriptions differentiate them (connection/halt vs bring-up stages and unlocked tools) but an agent could still hesitate.
All names are snake_case, with a coherent `stage_*` prefix grouping for the workflow-gating tools and plain verbs for connection lifecycle tools. The mix of noun-first (stage_status) and verb-first (read_core_regs, connect) patterns is a minor deviation but still predictable and readable.
Eight tools is well within a sensible range for a J-Link/MCU bring-up server, and each tool maps to a distinct step or query in the workflow. Nothing feels padded or thin for the stated scope.
The stage-gating lifecycle (connect, verify, override, status, disconnect) is covered, but core debugging operations are missing: no halt/resume despite `status` reporting halt state, no memory or register write, and no way to read the RTT log pump that `disconnect` refers to. These gaps would force an agent to dead-end on common debug tasks.