read_register

MCP tool from Debugforge by YangPan2020

Read a single CPU register

How to use it

Project documentation lists read_register for the Debugforge MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Debugforge

$pip install debugforge
FULL DEBUGFORGE LISTING

Other tools in Debugforge (39)

clear_all_breakpoints

Delete all breakpoints at once

connect

Connect to a TRACE32 PowerView instance

delete_breakpoint

Delete a breakpoint

disconnect

Disconnect from TRACE32

evaluate

Evaluate a TRACE32 expression or function

execute_command

Execute any TRACE32 PRACTICE command

get_callstack

Get call stack with function names

get_current_function

Get name of currently executing function

get_locals

Get call stack with all local variables per frame

get_project_config

Get the loaded project configuration (paths, scripts, settings)

get_run_stats

Combined run/halt statistics

get_source_location

Get current source file and line

get_state

Get current CPU execution state

go

Start/continue program execution

halt

Stop program execution

list_breakpoints

List all active breakpoints

read_memory

Read target memory (hex dump format)

read_memory_cached

Read through CPU data cache

read_memory_physical

Read bypassing cache

read_registers

Read multiple registers at once

read_variable

Read a C/C++ variable by symbol name

reset

Reset the target CPU

run_practice

Run a PRACTICE (.cmm) script with timeout

set_action_breakpoint

Execute a TRACE32 command on hit

set_breakpoint

Set a program/read/write/readwrite breakpoint

set_conditional_breakpoint

Breakpoint with HLL condition (e.g., i > 100)

set_count_breakpoint

Stop after N-th hit (loop debugging)

set_data_breakpoint

Trigger on memory access with optional value match

set_task_breakpoint

Trigger only for a specific OS task/thread

set_temporary_breakpoint

Auto-deletes after first hit

status

Get connection status, TRACE32 version, and system state

step

Single-step execution (into, over, or out)

symbol_by_address

Look up symbol name by address

symbol_by_name

Look up symbol address by name

toggle_breakpoint

Enable/disable a breakpoint without deleting

var_view

View a variable/struct/array with full expansion

write_memory

Write data to target memory

write_register

Write a value to a CPU register

write_variable

Write a value to a C/C++ variable