@@ -54,14 +54,40 @@ Tools provided by this Server|Short Description
54
54
55
55
#### Tool: ** ` create_new_file_with_text ` **
56
56
Creates a new file at the specified path within the project directory and populates it with the provided text
57
+ Parameters|Type|Description
58
+ -|-|-
59
+ ` pathInProject ` |` string ` |The relative path where the file should be created
60
+ ` text ` |` string ` |The content to write into the new file
61
+
62
+ ---
57
63
#### Tool: ** ` execute_action_by_id ` **
58
64
Executes an action by its ID in JetBrains IDE editor
65
+ Parameters|Type|Description
66
+ -|-|-
67
+ ` actionId ` |` string ` |The ID of the action to execute
68
+
69
+ ---
59
70
#### Tool: ** ` execute_terminal_command ` **
60
71
Executes a specified shell command in the IDE's integrated terminal
72
+ Parameters|Type|Description
73
+ -|-|-
74
+ ` command ` |` string ` |The shell command to execute
75
+
76
+ ---
61
77
#### Tool: ** ` find_commit_by_message ` **
62
78
Searches for a commit based on the provided text or keywords in the project history
79
+ Parameters|Type|Description
80
+ -|-|-
81
+ ` query ` |` string ` |The text or keywords to search for in commit messages
82
+
83
+ ---
63
84
#### Tool: ** ` find_files_by_name_substring ` **
64
85
Searches for all files in the project whose names contain the specified substring
86
+ Parameters|Type|Description
87
+ -|-|-
88
+ ` nameSubstring ` |` string ` |The substring to search for in file names
89
+
90
+ ---
65
91
#### Tool: ** ` get_all_open_file_paths ` **
66
92
Lists full path relative paths to project root of all currently open files
67
93
#### Tool: ** ` get_all_open_file_texts ` **
@@ -70,6 +96,11 @@ Returns text of all currently open files in the JetBrains IDE editor
70
96
Retrieves a list of all line breakpoints currently set in the project
71
97
#### Tool: ** ` get_file_text_by_path ` **
72
98
Retrieves the text content of a file using its path relative to project root
99
+ Parameters|Type|Description
100
+ -|-|-
101
+ ` pathInProject ` |` string ` |The file location from project root
102
+
103
+ ---
73
104
#### Tool: ** ` get_open_in_editor_file_path ` **
74
105
Retrieves the absolute path of the currently active file
75
106
#### Tool: ** ` get_open_in_editor_file_text ` **
@@ -92,26 +123,86 @@ Retrieves the current text content from the first active terminal
92
123
Lists all available actions in JetBrains IDE editor
93
124
#### Tool: ** ` list_directory_tree_in_folder ` **
94
125
Provides a hierarchical tree view of the project directory structure
126
+ Parameters|Type|Description
127
+ -|-|-
128
+ ` pathInProject ` |` string ` |The starting folder path (use '/' for project root)
129
+ ` maxDepth ` |` integer ` * optional* |Maximum recursion depth (default: 5)
130
+
131
+ ---
95
132
#### Tool: ** ` list_files_in_folder ` **
96
133
Lists all files and directories in the specified project folder
134
+ Parameters|Type|Description
135
+ -|-|-
136
+ ` pathInProject ` |` string ` |The folder path (use '/' for project root)
137
+
138
+ ---
97
139
#### Tool: ** ` open_file_in_editor ` **
98
140
Opens the specified file in the JetBrains IDE editor
141
+ Parameters|Type|Description
142
+ -|-|-
143
+ ` filePath ` |` string ` |The path of file to open (can be absolute or relative)
144
+
145
+ ---
99
146
#### Tool: ** ` replace_current_file_text ` **
100
147
Replaces the entire content of the currently active file
148
+ Parameters|Type|Description
149
+ -|-|-
150
+ ` text ` |` string ` |The new content to write
151
+
152
+ ---
101
153
#### Tool: ** ` replace_file_text_by_path ` **
102
154
Replaces the entire content of a specified file with new text
155
+ Parameters|Type|Description
156
+ -|-|-
157
+ ` pathInProject ` |` string ` |The path to the target file, relative to project root
158
+ ` text ` |` string ` |The new content to write
159
+
160
+ ---
103
161
#### Tool: ** ` replace_selected_text ` **
104
162
Replaces the currently selected text in the active editor
163
+ Parameters|Type|Description
164
+ -|-|-
165
+ ` text ` |` string ` |The replacement content
166
+
167
+ ---
105
168
#### Tool: ** ` replace_specific_text ` **
106
169
Replaces specific text occurrences in a file with new text
170
+ Parameters|Type|Description
171
+ -|-|-
172
+ ` newText ` |` string ` |The replacement text
173
+ ` oldText ` |` string ` |The text to be replaced
174
+ ` pathInProject ` |` string ` |The path to the target file, relative to project root
175
+
176
+ ---
107
177
#### Tool: ** ` run_configuration ` **
108
178
Run a specific run configuration in the current project
179
+ Parameters|Type|Description
180
+ -|-|-
181
+ ` name ` |` string ` |The name of the run configuration to execute
182
+
183
+ ---
109
184
#### Tool: ** ` search_in_files_content ` **
110
185
Searches for a text substring within all files in the project
186
+ Parameters|Type|Description
187
+ -|-|-
188
+ ` searchText ` |` string ` |The text to find
189
+
190
+ ---
111
191
#### Tool: ** ` toggle_debugger_breakpoint ` **
112
192
Toggles a debugger breakpoint at the specified line in a project file
193
+ Parameters|Type|Description
194
+ -|-|-
195
+ ` filePathInProject ` |` string ` |The relative path to the file within the project
196
+ ` line ` |` integer ` |The line number where to toggle the breakpoint (1-based)
197
+
198
+ ---
113
199
#### Tool: ** ` wait ` **
114
200
Waits for a specified number of milliseconds
201
+ Parameters|Type|Description
202
+ -|-|-
203
+ ` milliseconds ` |` integer ` * optional* |The duration to wait in milliseconds (default: 5000)
204
+
205
+ ---
115
206
## Use this MCP Server
116
207
117
208
``` json
0 commit comments