HL

hsoffar/lauterbach-trace32-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

39 stars 16 forks 品質 80 トレンド 4MIT

hsoffar/lauterbach-trace32-mcpは[https://github.com/hsoffar/lauterbach-trace32-mcp.からインポートされたMCPサーバー候補です

概要

hsoffar/lauterbach-trace32-mcpは[https://github.com/hsoffar/lauterbach-trace32-mcp.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

公開するモデルコンテキストプロトコル(MCP)サーバ Lauterbach TRACE32 のデバッガはAIのためのツールとして制御します アシスタント(クロード、GPT-4など)

接続したら、AIアシスタントは、自然を介してライブTRACE32セッションを制御することができます 言語:ブレークポイントを設定し、レジスタを読み込み、メモリを検査し、コードを経由してステップを実行 PRACTICEスクリプトなど

お問い合わせ

##特徴

12のカテゴリを渡る51の用具:

| カテゴリー | ツール | お問い合わせ | 接続 | [connect, disconnect, [ping, [get_state]], [get_message]], [[disconnect]], [[ping]], [[[get_state]]]]], [[get_message]]]], [[[disconnect]]]], [[[[[ping]]], [[[[[[get_state]]]]]]]], [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[get_state]]]]]]]]]]]]]]]]]]]]]]]]]]]、[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ | 実行制御 | go, break_, [step], [step_asm], [[step_over, [[go_up, [[go_return]]], [[[[[go_return]]]]], [[[step_over]]]], [[[[go_up]]]], [[[[[[go_return]]]]], [[[[[[[[go_return]]]]]] | 業務内容 | [[T13], evaluate_function, [run_practice_script | | メモリ | [[T16], read_memory_typed, [write_memory_typed | | 参加登録 | [[T19], read_all_registers, write_register | | ブレイクポイント | [[T22], list_breakpoints, delete_breakpoint | | 変数 | [read_variable, write_variable | | シンボル | [[T27], query_symbol_by_address | | 業務用マクロ | get_practice_macro, [set_practice_macro |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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 .
GitHub で README 全文を見る

インストール

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" } } } }