Skip to main content
Glama
e2studio RA MCP Server

e2studio RA MCP Server

by KaleoLiu

e2studio RA MCP Server

An MCP server that lets Claude (Claude Code / Claude Desktop) drive the Renesas e2studio IDE for RA MCU development: create projects, configure FSP modules, pins and clocks, generate code, build, flash and debug, all from a conversation.

  • 122 tools covering the full workflow, from project setup to on-chip debugging

  • All 39 RA series (RA0 / RA2 / RA4 / RA6 / RA8), built end-to-end through real e2studio

  • Per-MCU driver routing: add_module("uart") picks r_sci_uart, r_sci_b_uart or r_sau_uart for your chip

  • Schema-validated configuration from the FSP 6.3.0 packs: module properties, 520 clock constraints, pin/package conflicts

  • Built-in task guides (e2studio_get_usage_guide) that walk an agent through each workflow

Workflow

Project setup → FSP config → Code gen → Compiler config → Build → Build analysis → Debug / Flash

Area

Examples

Project

create_project, import_project, clone_project, create_tz_pair (TrustZone)

FSP configuration

describe_module, add_module, configure_pins, configure_clocks, configure_interrupts, modify_config

RTOS

enable_freertos, add_freertos_thread, enable_threadx, add_threadx_thread

Code generation

generate_code, validate_generated, lint_config

Build & analysis

build, parse_build_output, memory_report, analyze_map_file, security_scan, misra_check

Flash & debug

flash_program, connect_debugger, breakpoints, stepping, memory/registers, analyze_hardfault

Runtime

SEGGER RTT logging, RTOS diagnostics, NVIC/clock checks, profiling

The full tool contract (every tool and parameter) is in CLAUDE.md.

Related MCP server: stmctl-mcp

Requirements

Item

Version

OS

Windows 10 / 11

Node.js

≥ 20

e2studio + FSP

e2studio 2025-12 + FSP 6.3.0 (recommended)

Debug probe

SEGGER J-Link (recommended), Renesas E2 / E2 Lite

Client

Claude Code or Claude Desktop

Quick start

git clone https://github.com/KaleoLiu/e2studio-ra-mcp-server.git
cd e2studio-ra-mcp-server
npm install
setx E2STUDIO_PATH "C:\Renesas\RA\e2studio_v2025-12_fsp_v6.3.0"

Then open the repository root in Claude Code. The bundled .mcp.json compiles and starts the server automatically. To use it from another folder or from Claude Desktop, see INSTALL.md.

Ask Claude something like:

Create an RA6M5 project on EK-RA6M5, add a UART on SCI7 at 115200 baud, build it and flash it.

Documentation

  • INSTALL.md: installation, configuration and client registration

  • CLAUDE.md: complete tool reference and rules

  • RELEASE_NOTES.md: capabilities and known limitations

  • skills/: task walkthroughs served by e2studio_get_usage_guide

Disclaimer

This is an independent project and is not affiliated with or endorsed by Renesas Electronics. e2studio, FSP and RA are products of Renesas Electronics Corporation. Hardware operations such as flash erase and programming act on real devices; review what the agent is about to do.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude Code to build, flash, and communicate with STM32 hardware over SWD and serial, including multi-board management, live memory monitoring, and hardware sequences.
      26
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to flash firmware, program memory, modify option bytes, erase chips, reset boards, and capture SWO printf traces for STM32 microcontrollers via STM32CubeCLT.
      12
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI coding assistants to perform complete headless STM32 embedded firmware development, including project creation, pin configuration, code generation, building, and flashing, by driving the official STM32 command-line toolchain.
      2
      9
      MIT