JetBrains

JetBrains

A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio.

7.8K

30 Tools

Packaged by
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

Tools

NameDescription
create_new_file_with_textCreates a new file at the specified path within the project directory and populates it with the provided text
execute_action_by_idExecutes an action by its ID in JetBrains IDE editor
execute_terminal_commandExecutes a specified shell command in the IDE's integrated terminal
find_commit_by_messageSearches for a commit based on the provided text or keywords in the project history
find_files_by_name_substringSearches for all files in the project whose names contain the specified substring
get_all_open_file_pathsLists full path relative paths to project root of all currently open files
get_all_open_file_textsReturns text of all currently open files in the JetBrains IDE editor
get_debugger_breakpointsRetrieves a list of all line breakpoints currently set in the project
get_file_text_by_pathRetrieves the text content of a file using its path relative to project root
get_open_in_editor_file_pathRetrieves the absolute path of the currently active file
get_open_in_editor_file_textRetrieves the complete text content of the currently active file
get_progress_indicatorsRetrieves the status of all running progress indicators
get_project_dependenciesGet list of all dependencies defined in the project
get_project_modulesGet list of all modules in the project with their dependencies
get_project_vcs_statusRetrieves the current version control status of files in the project
get_run_configurationsReturns a list of run configurations for the current project
get_selected_in_editor_textRetrieves the currently selected text from the active editor
get_terminal_textRetrieves the current text content from the first active terminal
list_available_actionsLists all available actions in JetBrains IDE editor
list_directory_tree_in_folderProvides a hierarchical tree view of the project directory structure
list_files_in_folderLists all files and directories in the specified project folder
open_file_in_editorOpens the specified file in the JetBrains IDE editor
replace_current_file_textReplaces the entire content of the currently active file
replace_file_text_by_pathReplaces the entire content of a specified file with new text
replace_selected_textReplaces the currently selected text in the active editor
replace_specific_textReplaces specific text occurrences in a file with new text
run_configurationRun a specific run configuration in the current project
search_in_files_contentSearches for a text substring within all files in the project
toggle_debugger_breakpointToggles a debugger breakpoint at the specified line in a project file
waitWaits for a specified number of milliseconds

Manual installation

You can install the MCP server using:

Installation for

Related servers