AI 与 JLink 调试器的桥梁 - MCP 服务器。An MCP (Model Context Protocol) server that provides tool interfaces for interacting with JLink debuggers, supporting connection management, device info, memory operations, flash operations, debug control, RTT, and GDB server.
Mixed quality across 45 tools. Strengths: most tools have descriptions (mostly bilingual EN/ZH), clear naming with action verbs (list_, connect_, read_, write_, etc.), and defined input schemas for majority of tools. Critical weaknesses: (1) descriptions are inconsistent in detail and LLM optimization; (2) many parameter descriptions lack constraint detail (ranges, enums, allowed values); (3) no visible output schema documentation; (4) error handling guidance is minimal; (5) several tools have minimal or generic descriptions (<50 chars); (6) no visible per-parameter type validation hints. The server trades breadth (45 tools covering embedded debugging domain thoroughly) for depth (incomplete parameter specifications and missing output schemas). Average tool score ~52 reflects this balance.
Clear breakpoint / 清除断点.
Connect to JLink device / 连接到 JLink 设备. Connects to the specified JLink debugger. If no serial number is specified, connects to the first available device. 连接到指定的 JLink 调试器。如果不指定序列号,则连接第一个可用设备。
Diagnose environment / 诊断环境.
Disconnect JLink device / 断开 JLink 设备连接. Disconnects the current active JLink connection and releases device resources. 断开当前活动的 JLink 连接,释放设备资源。
Erase Flash / 擦除 Flash.
Get best practices / 获取最佳实践.
Get current connection status / 获取当前连接状态. Queries JLink connection status, target chip connection status, voltage, and other information. 查询 JLink 连接状态、目标芯片连接状态、电压等信息。
Minimal descriptions on 24+ tools: Tools like 'reset_target', 'halt_cpu', 'run_cpu', 'step_instruction', 'get_cpu_state', 'rtt_start', 'rtt_stop' have descriptions ≤30 chars (only bilingual name). LLMs cannot determine when to use these tools vs similar ones.
Missing output schema documentation: No tools show documented return types or output field definitions. LLMs must infer what fields are returned, preventing confident downstream tool chaining and field extraction. This violates pattern:tool (100% of A+ tools document return types).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 59 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 50 | - | v1 |
Get CPU state / 获取 CPU 状态.
Get forbidden operations / 获取禁止操作.
Get GDB Server status / 获取 GDB Server 状态.
Get semantic stats / 获取语义统计.
Get server capabilities / 获取服务器能力.
Get server configuration / 获取服务器配置.
Get SVD peripherals / 获取 SVD 外设.
Get SVD registers / 获取 SVD 寄存器.
Get target device (MCU) information / 获取目标设备(MCU)信息. Reads detailed information about the connected target chip, including device name, core type, Flash/RAM size, etc. 读取连接的目标芯片的详细信息,包括设备名称、内核类型、Flash/RAM 大小等。
Get target voltage / 获取目标电压. Reads the supply voltage of the target chip. 读取目标芯片的供电电压。
Get usage guidance / 获取使用指导.
Halt CPU / 暂停 CPU.
List all loaded device patches and their supported devices / 列出所有已加载的设备补丁及其支持的设备. Lists all available device patches (e.g., Flagchip) and their supported device lists. 列出所有可用的设备补丁(如 Flagchip 等)及其支持的设备列表。
List all connected JLink devices / 列出所有连接的 JLink 设备. Returns a list of all connected JLink debuggers in the system. 返回系统中所有已连接的 JLink 调试器列表。 Each device contains serial number, product name, and connection type. 每个设备包含序列号、产品名称和连接类型。
List scenarios / 列出场景.
List SVD devices / 列出 SVD 设备.
Intelligently match chip name / 智能匹配芯片名称. Matches simplified chip names (e.g., FC7300F4MDD) to complete chip names (e.g., FC7300F4MDDxXxxxT1C). Supports prefix matching, contains matching, and fuzzy matching. 将简化的芯片名称(如 FC7300F4MDD)匹配到完整的芯片名称 (如 FC7300F4MDDxXxxxT1C)。支持前缀匹配、包含匹配和模糊匹配。
Parse register value / 解析寄存器值.
Program firmware to Flash / 烧录固件到 Flash.
Read memory at specified address / 读取指定地址的内存.
Read register with fields / 读取包含字段的寄存器.
Read CPU registers / 读取 CPU 寄存器.
Reset target device / 复位目标设备.
Get RTT status / 获取 RTT 状态.
Read from RTT / 从 RTT 读取.
Start RTT / 启动 RTT.
Stop RTT / 停止 RTT.
Write to RTT / 写入 RTT.
Run CPU / 运行 CPU.
Scan devices on target bus / 扫描目标总线上的设备. Scans all devices on the JTAG chain or SWD bus. 扫描 JTAG 链或 SWD 总线上的所有设备。
Semantic search tools / 语义搜索工具.
Set breakpoint / 设置断点.
Start GDB Server / 启动 GDB Server.
Step single instruction / 单步执行指令.
Stop GDB Server / 停止 GDB Server.
Verify Flash content / 校验 Flash 内容.
Write to memory / 写入内存.
Write single register / 写入单个寄存器.
Parameter descriptions lack constraint detail: 'address' in read_memory has no range or valid range guidance (0x0 - 0xFFFFFFFF?). 'size' lacks maximum. 'width' says '8/16/32 bits' but no guidance on which to use when. LLMs pass invalid values without validation hints.
No error recovery guidance: Tools like 'connect_device', 'program_flash', 'erase_flash' perform critical operations but descriptions omit what to do if they fail. No recovery tool suggestions, no retry guidance, no permission checks mentioned.
No tool annotations for risk levels: Destructive tools (erase_flash, program_flash) and reversible tools (set_breakpoint, reset_target) lack tool annotations (destructiveHint, idempotentHint, readOnlyHint) that would signal to agents which ops are safe to retry.
Incomplete parameter descriptions for complex operations: 'connect_device' has 'interface' and 'chip_name' but no examples or validation rules. 'erase_flash' omits whether start_address/end_address are inclusive, exclusive, or can be null. Device-specific constraints (e.g., STM32F407VG chip limits) are undocumented.