Use the JetBrains IDE MCP Server (IntelliJ IDEA 2025.2+) to let an external client drive IDE-backed actions: run Run Configurations, execute commands in the IDE terminal, read/create/edit project...
Goal: use JetBrains IDE features (index, inspections, refactoring, run configurations, integrated terminal) as tools for an external client, while keeping changes auditable and safe.
notes + tool list (condensed): skills/jetbrains-skill/references/jetbrains-skill.md.
The IDE can allow running shell commands / run configurations without per-action confirmation (“Brave mode”). This increases automation power but also increases risk. Require explicit user confirmation before enabling/disabling it.
get_file_problemsget_symbol_inforename_refactoring (prefer over plain text replace)search_in_files_by_text / search_in_files_by_regexfind_files_by_name_keyword (fast, name-only) or find_files_by_glob (path glob)get_file_text_by_pathcreate_new_filereplace_text_in_file (auto-saves)open_file_in_editorreformat_fileget_run_configurationsexecute_run_configurationexecute_terminal_command (may require confirmation; output is capped)projectPath when known to avoid ambiguity.maxLinesCount + truncateMode; do not rely on defaults for large outputs.get_file_problems to find errors/warnings → 2) get_symbol_info to understand the code → 3) rename_refactoring for renames → 4) replace_text_in_file only for truly textual changes.Prefer search_in_files_by_text / search_in_files_by_regex since it uses IDE search/indexing and highlights matches with ||.
Use execute_run_configuration with a sane timeout (ms). For terminal commands use execute_terminal_command, but remember output caps; for huge output, redirect to a file and read it via file tools.
skills/jetbrains-skill/references/jetbrains-skill.md