E2 MCP — Build, Flash & Debug for Renesas RX
Build, flash and debug Renesas RX microcontrollers directly from VS Code.
Works with E2 Lite, E1 and J-Link probes using the Renesas CC-RX toolchain.
Features
- Sidebar panel — Select project, debugger, build configuration and launch file
- Build / Clean / Rebuild — Drive the CC-RX compiler and GNU Make from VS Code
- Flash firmware — Program the target via
e2-server-gdb (RSP protocol)
- Debug sessions — Start hardware debug with automatic build, flash and GDB attach
- Virtual Console (ADM) — Read
printf-style output from the target in an Output channel
- MCP integration — Expose build, flash and debug tools to AI assistants via the Model Context Protocol
Requirements
- Renesas e2 Studio installed (provides CC-RX compiler, e2-server-gdb, GNU Make)
- Renesas Debug VS Code extension (
renesaselectronicscorporation.renesas-debug)
- Python 3 available as
py, python3 or python
- A USB debug probe: E2 Lite, E1, or J-Link
Getting Started
- Open a workspace that contains one or more Renesas e2 Studio projects (
.cproject files)
- The E2 MCP icon appears in the Activity Bar
- Select your project, debugger and build configuration from the sidebar
- Click Build, Flash or Debug
Extension Settings
| Setting |
Description |
e2mcp.projectsPath |
Folder containing Renesas projects (auto-detected) |
e2mcp.e2studioPath |
Path to e2 Studio eclipse folder (auto-detected) |
e2mcp.ccrxPath |
Path to CC-RX compiler bin folder (auto-detected) |
e2mcp.debugToolsPath |
Path to DebugComp/RX folder with e2-server-gdb (auto-detected) |
e2mcp.pythonPath |
Python executable name (default: py) |
e2mcp.consolePollMs |
Virtual console poll interval in ms (default: 500) |
Commands
All commands are available from the Command Palette (Ctrl+Shift+P) under the E2 MCP category:
- Build Project / Clean Project / Rebuild Project
- Flash Firmware — Build + flash + run (no debug session)
- Stop Debug Session
- Open Virtual Console Output
- Select Project / Select Debugger / Select Launch File
License
Proprietary — see LICENSE.txt for details.
| |