winuae-emu
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@winuae-emu Launch WinUAE, set a breakpoint at $1000, and step through the code"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-winuae-emu
An MCP server that provides Amiga 68k debugging tools through the WinUAE emulator. It connects to a custom WinUAE fork via GDB Remote Serial Protocol (RSP), giving AI assistants direct read-write access to the emulated Amiga hardware.
What it does
This server lets an AI assistant (Claude, etc.) launch WinUAE, connect to its GDB server, and then read/write memory, read/write registers, set breakpoints, single-step through code, disassemble Copper lists, and more -- all through MCP tool calls.
Related MCP server: sbl-debugger
Quick Start
1. Download the pre-built WinUAE binary
Download winuae-gdb.exe from the WinUAE fork releases and place it in a directory (e.g., C:\apps\winuae\).
This is a custom build of BartmanAbyss's WinUAE fork with added register and memory write support. See the patch details.
2. Install the MCP server
git clone https://github.com/axewater/mcp-winuae-emu.git
cd mcp-winuae-emu
npm install
npm run build3. Add to Claude Code
Add to your MCP settings (~/.claude/claude_desktop_config.json or project .mcp.json):
{
"mcpServers": {
"winuae-emu": {
"command": "node",
"args": ["C:/path/to/mcp-winuae-emu/dist/index.js"],
"env": {
"WINUAE_PATH": "C:/apps/winuae",
"WINUAE_CONFIG": "C:/apps/winuae/Configurations/A500-Dev.uae"
}
}
}
}4. Provide a Kickstart ROM and config
You need a valid Amiga Kickstart ROM file (e.g., Kickstart 1.3 for A500) and a WinUAE .uae config file. A minimal config:
cpu_type=68000
chipset=ocs
chipmem_size=1
kickstart_rom_file=C:\path\to\kickstart.romThe server reads your config, merges in GDB-required settings, and launches winuae-gdb.exe automatically.
Configuration
Variable | Default | Description |
|
| Directory containing |
|
| Path to your |
|
| GDB server TCP port |
|
| Set to |
Tools
Connection
Tool | Description |
| Launch WinUAE and connect to GDB server |
| Disconnect and stop the emulator |
| Check if connected and responsive |
Memory
Tool | Description |
| Read memory bytes as hex |
| Write hex bytes to memory |
| Hex + ASCII dump (like a hex editor) |
| Load a binary file into Amiga memory |
CPU
Tool | Description |
| Read all m68k registers (D0-D7, A0-A7, SR, PC) |
| Write registers (any subset of D0-D7, A0-A7, SR, PC) |
| Single-step N instructions |
| Resume execution |
| Pause execution and read registers |
| Pause CPU and read current register state |
Breakpoints & Watchpoints
Tool | Description |
| Set a software breakpoint at an address |
| Remove a breakpoint |
| Break on memory read/write/access |
| Remove a watchpoint |
Amiga Hardware
Tool | Description |
| Read and decode all custom chip registers ($DFF000-$DFF1FE) |
| Decode a Copper list (WAIT, MOVE, SKIP, END) |
| Basic m68k disassembly |
How it works
Launch: Reads your
.uaeconfig, merges GDB settings, spawnswinuae-gdb.exe -portable -G -s debugging_features=gdbserver -s debugging_trigger=Connect: Retries TCP connection to
localhost:2345until the GDB server is readyProtocol: Communicates via GDB RSP -- packet framing, checksums, ack mode, register/memory commands, breakpoint commands, etc.
Technical notes
The
-Gflag and-soverrides must be CLI arguments. This WinUAE build (v4.10.1) ignoresuse_guianddebugging_featureswhen set in the config file.The GDB server sends
Opackets (console output) on connect. The protocol handler skips these automatically.Custom chip register reads use 64-byte chunks because the GDB server has read-size limits for hardware I/O addresses.
ECS/AGA-only registers ($DFF1C0+) return zeros on OCS chipset configurations.
CIA registers ($BFE001/$BFD000) are not accessible through the GDB memory read interface.
Credits
WinUAE by Toni Wilen -- the Amiga emulator
BartmanAbyss WinUAE fork -- added the GDB server to WinUAE
vscode-amiga-debug by BartmanAbyss -- the VSCode extension that pioneered Amiga GDB debugging, and the reference for this work
Model Context Protocol by Anthropic
Limitations
Windows only -- requires WinUAE
Basic disassembly -- the disassembler only recognizes a few opcodes (RTS, NOP, RTE, etc.); all others show as
DC.WNo CIA access -- CIA-A/CIA-B registers are not mapped through the GDB server
Single connection -- the GDB server accepts one client at a time
License
MIT
Available Tools
23 toolswinuae_breakpoint_clearC
Remove a breakpoint at address
Inputs: address (required).
winuae_breakpoint_setB
Set a software breakpoint at address. Execution stops when PC reaches this address.
Inputs: address (required).
winuae_connectA
Launch WinUAE (BartmanAbyss fork) and connect to GDB RSP server. Must be called before any other WinUAE commands. Set WINUAE_PATH env var to override default path.
Inputs: no named parameters.
winuae_continueA
Resume execution. Will stop at next breakpoint/watchpoint.
Inputs: no named parameters.
winuae_copper_disassembleB
Disassemble a Copper list at given address. Decodes WAIT, MOVE, SKIP, and END instructions.
Inputs: address (required), length.
winuae_custom_registersB
Read and decode Amiga custom chip registers ($DFF000-$DFF1FE). Shows register names and values.
Inputs: no named parameters.
winuae_disassembleB
Disassemble 68k machine code at given address using WinUAE's built-in disassembler. Shows address, hex bytes, and full mnemonic with operands.
Inputs: address (required), count.
winuae_disconnectA
Disconnect from WinUAE and stop the emulator process
Inputs: no named parameters.
winuae_eject_diskA
Eject floppy disk from a drive. Restarts WinUAE to apply.
Inputs: drive.
winuae_insert_diskA
Insert a floppy disk image (ADF, ADZ, DMS, IPF) into a drive. Restarts WinUAE to apply. Use drive 0 for DF0: (boot drive).
Inputs: file (required), drive.
winuae_loadA
Load an Amiga executable into memory by writing it via GDB. Provide the host path to the compiled binary. For disk images (.adf etc.), inserts into DF0: and restarts.
Inputs: file (required), address.
winuae_memory_dumpA
Dump memory as formatted hex + ASCII (like a hex editor). Great for inspecting chip registers, copper lists, etc.
Inputs: length (required), address (required), bytesPerLine.
winuae_memory_readB
Read memory bytes. Returns hex string. Address can use $ prefix for hex (e.g., $DFF000).
Inputs: length (required), address (required).
winuae_memory_writeB
Write bytes to memory. Provide data as hex string (e.g., "48E7FFFE" or "48 E7 FF FE").
Inputs: data (required), address (required).
winuae_pauseB
Pause/break execution (send interrupt to CPU)
Inputs: no named parameters.
winuae_registers_getA
Get all m68k CPU registers: D0-D7, A0-A7, SR, PC
Inputs: no named parameters.
winuae_registers_setC
Set m68k CPU registers. Provide any subset of D0-D7, A0-A7, SR, PC.
Inputs: A0, A1, A2, A3, +14 more.
winuae_resetA
Reset the Amiga by restarting WinUAE with current configuration (hard reset). Reconnects GDB automatically.
Inputs: no named parameters.
winuae_screenshotB
Capture current screen buffer and save as PNG file.
Inputs: filename.
winuae_statusA
Check if WinUAE is running and GDB connection is active
Inputs: no named parameters.
winuae_stepA
Single-step N instructions. Returns registers after stepping.
Inputs: count.
winuae_watchpoint_clearC
Remove a watchpoint
Inputs: type (required), length (required), address (required).
winuae_watchpoint_setC
Set a watchpoint to break on memory read/write/access.
Inputs: type (required), length (required), address (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools map clearly to distinct emulator/debugger operations, with lifecycle, memory, register, breakpoint, and execution controls separated cleanly. Minor overlap exists between memory_read and memory_dump and between load's disk-image behavior and insert_disk, but descriptions mostly disambiguate them.
All tools use a consistent winuae_ prefix and snake_case, producing predictable names. The only inconsistency is mixed ordering, with some noun_verb names (winuae_memory_read) and others verb-only or noun-only (winuae_disassemble, winuae_screenshot), though this remains readable.
The 23 tools cover a broad but legitimate emulator-debugging surface, and each tool earns its place. The count is slightly heavy, but the domain naturally requires separate lifecycle, memory, CPU, breakpoint, watchpoint, and disassembly operations.
Core workflows are well covered: connection lifecycle, program loading, disk handling, memory access, registers, breakpoints, watchpoints, stepping, disassembly, and screenshots. Some conveniences are missing, such as listing or clearing all breakpoints/watchpoints and symbol loading, but agents can work around these gaps.
Maintenance
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GDB for debugging via the MCP protocol. Supports setting breakpoints, stepping through code, inspecting memory and registers, and more.85MIT

sbl-debuggerofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to debug ARM Cortex-M targets via GDB and OpenOCD, supporting attach, breakpoints, stepping, register/memory inspection, and SVD peripheral decoding.MIT- AlicenseAqualityDmaintenanceEnables AI-powered control and debugging of Commodore 64 programs via the VICE emulator, supporting memory operations, breakpoints, register access, and program loading.188 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to fully control the VICE Commodore 64 emulator, including running programs, viewing the screen, sending input, reading/writing memory, setting breakpoints, and assembling 6502 code.MIT