HL

hsoffar/lauterbach-trace32-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

39 stars 16 forks Качество 80 Тренд 4MIT

hsoffar/lauterbach-trace32-mcp - кандидат на сервер MCP, импортированный из https://github.com/hsoffar/lauterbach-trace32-mcp.

Обзор

hsoffar/lauterbach-trace32-mcp - кандидат на сервер MCP, импортированный из https://github.com/hsoffar/lauterbach-trace32-mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP) Лаутербах TRACE32 отладчик управления как инструмент для ИИ ассистенты (Клод, GPT-4 и др.).

После подключения ваш ИИ-помощник может управлять сеансом TRACE32 в режиме реального времени. язык: устанавливать точки останова, читать регистры, проверять память, шагать по коду, запускать Практика сценариев и многое другое.

Особенности

**51 инструмент в 12 категориях: **

| Категория | Инструменты [скрыто] [скрыто] [[Т]], [[Т1]], [[Т2]], [[Т3]], [[Т4]] [5], [6], [7], [8], [9], [10], [11], [12], [[T], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T [13], [14], [15], [[Т]], [[Т]], [[Т]], [[Т]] Память [[Т16]], [[Т17]], [[Т18]] [[Т[19]], [[Т20]], [[Т21]]] [22], [23], [24], [24], [[Т], [[Т]], [[Т]], [[Т]], [[Т[]], [[Т]], [[Т]], [[Т]], [[Т]], [[Т]], [[Т]], [[Т]], [[Т[]]], [[Т]], [[Т[]]], [[Т]], [[Т[]]], [[Т]], [[Т[]]], [[Т[]]], [[Т[]]], [[Т[]]], [[Т[]]], [[Т[]]], [[Т]]], [[Т[]]], [[Т[]]], [[Т]]], [[Т[]]], [[Т]], [[Т[]]][[Т]], [[Т]][[Т]]], [[Т[]]][[ Переменные [[Т25]], [[Т26]] [[Т[27]], [[Т28]]] Макрос get_practice_macro, set_practice_macro

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

lauterbach-trace32-mcp

A Model Context Protocol (MCP) server that exposes Lauterbach TRACE32 debugger control as tools for AI assistants (Claude, GPT-4, etc.).

Once connected, your AI assistant can control a live TRACE32 session via natural language: set breakpoints, read registers, inspect memory, step through code, run PRACTICE scripts, and more.


Features

51 tools across 12 categories:

Category Tools
Connection connect, disconnect, ping, get_state, get_message
Execution control go, break_, step, step_asm, step_hll, step_over, go_up, go_return
PRACTICE run_command, evaluate_function, run_practice_script
Memory read_memory, read_memory_typed, write_memory_typed
Registers read_register, read_all_registers, write_register
Breakpoints set_breakpoint, list_breakpoints, delete_breakpoint
Variables read_variable, write_variable
Symbols query_symbol_by_name, query_symbol_by_address
PRACTICE Macros get_practice_macro, set_practice_macro
Composite / high-level get_context, get_source_location, evaluate_expression, get_system_info, read_string, dump_memory_formatted, write_memory, backtrace, disassemble, set_breakpoint_at_symbol, run_until, snapshot, list_functions, list_global_variables, search_memory
Documentation list_trace32_docs, search_trace32_docs
Peripheral (PER) list_per_files, load_per_file, per_read_register

MCP Resources:

  • trace32://docs/ — TRACE32 PDF documentation with text extraction
  • trace32://hints — user-provided debugging tips

Structured error handling with actionable suggestions for every TRACE32 exception type.

Built-in server instructions teach the LLM TRACE32 concepts: target states, address classes, debug symbol requirements, common workflows, and useful PRACTICE functions.

Non-blocking Auto-connect startup — the server registers with the MCP client immediately and auto-connects to TRACE32 in the background. If TRACE32 is not running, the server stays available and you can connect later via the connect tool.


Prerequisites

  • Python 3.10 or later
  • Lauterbach TRACE32 with the Remote API enabled
  • lauterbach-trace32-rcl Python package (pyrcl) — install via pip:
    pip install lauterbach-trace32-rcl
    

Enable the TRACE32 Remote API

Add the following to your TRACE32 startup script (config.t32 or equivalent):

RCL=NETASSIST
PACKLEN=1024
PORT=20000

Restart TRACE32 after making this change.


Installation

From GitHub

pip install git+https://github.com/hsoffar/lauterbach-trace32-mcp.git

From source (editable)

git clone https://github.com/hsoffar/lauterbach-trace32-mcp.git
cd lauterbach-trace32-mcp
pip install -e .
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "lauterbach-trace32": { "command": "lauterbachdebugger-mcp", "env": { "T32_HOST": "localhost", "T32_PORT": "20000", "T32_PROTOCOL": "TCP", "T32SYS": "~/t32", "T32_HINTS": "/path/to/hints.md" } } } }