You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,61 +233,61 @@ When using custom certificates, you can modify your MCP configuration to mount t
233
233
234
234
### Analysis
235
235
236
-
-**analyze_code_snippet** - Analyze a code snippet with SonarQube analyzers to find SonarQube issues in it.
236
+
-**analyze_code_snippet** - Analyze a file or code snippet with SonarQube analyzers to identify code quality and security issues. Specify the language of the snippet to improve analysis accuracy.
237
237
-`codeSnippet` - Code snippet or full file content - _Required String_
238
238
-`language` - Optional language of the code snippet - _String_
239
239
240
240
### Dependency Risks
241
241
242
242
**Note: Dependency risks are only available when connecting to SonarQube Server 2025.4 Enterprise or higher with SonarQube Advanced Security enabled.**
243
243
244
-
-**search_dependency_risks** - Search for software composition analysis issues (dependency risks) of a project, paired with releases that appear in the analyzed project, application, or portfolio.
244
+
-**search_dependency_risks** - Search for software composition analysis issues (dependency risks) of a SonarQube project, paired with releases that appear in the analyzed project, application, or portfolio.
-**list_languages** - List all programming languages supported in this instance
252
-
-`q` - Optional pattern to match language keys/names against - _String_
251
+
**Note: Enterprises are only available when connecting to SonarQube Cloud.**
252
+
253
+
-**list_enterprises** - List the enterprises available in SonarQube Cloud that you have access to. Use this tool to discover enterprise IDs that can be used with other tools.
254
+
-`enterpriseKey` - Optional enterprise key to filter results - _String_
253
255
254
256
### Issues
255
257
256
-
-**change_sonar_issue_status** - Change the status of a SonarQube issue to "accept", "falsepositive" or to "reopen" an issue
258
+
-**change_sonar_issue_status** - Change the status of a SonarQube issue to "accept", "falsepositive" or to "reopen" an issue.
257
259
-`key` - Issue key - _Required String_
258
260
-`status` - New issue's status - _Required Enum {"accept", "falsepositive", "reopen"}_
259
261
260
262
261
-
-**search_sonar_issues_in_projects** - Search for SonarQube issues in my organization's projects
263
+
-**search_sonar_issues_in_projects** - Search for SonarQube issues in my organization's projects.
262
264
-`projects` - Optional list of Sonar projects - _String[]_
-`pullRequest` - Optional pull request identifier to analyze for measures - _String_
274
281
275
282
### Metrics
276
283
277
-
-**search_metrics** - Search for metrics
284
+
-**search_metrics** - Search for SonarQube metrics.
278
285
-`p` - Optional page number (default: 1) - _Integer_
279
286
-`ps` - Optional page size. Must be greater than 0 and less than or equal to 500 (default: 100) - _Integer_
280
287
281
-
### Enterprises
282
-
283
-
**Note: Enterprises are only available when connecting to SonarQube Cloud.**
284
-
285
-
-**list_enterprises** - List the enterprises available in SonarQube Cloud that you have access to. Use this tool to discover enterprise IDs that can be used with other tools.
286
-
-`enterpriseKey` - Optional enterprise key to filter results - _String_
287
-
288
288
### Portfolios
289
289
290
-
-**list_portfolios** - List portfolios available in SonarQube with filtering and pagination options.
290
+
-**list_portfolios** - List enterprise portfolios available in SonarQube with filtering and pagination options.
291
291
292
292
**For SonarQube Server:**
293
293
-`q` - Optional search query to filter portfolios by name or key - _String_
@@ -305,40 +305,40 @@ When using custom certificates, you can modify your MCP configuration to mount t
305
305
306
306
### Projects
307
307
308
-
-**search_my_sonarqube_projects** - Find Sonar projects in my organization
308
+
-**search_my_sonarqube_projects** - Find SonarQube projects. The response is paginated.
309
309
-`page` - Optional page number - _String_
310
310
311
311
### Quality Gates
312
312
313
-
-**get_project_quality_gate_status** - Get the Quality Gate Status for the project
313
+
-**get_project_quality_gate_status** - Get the Quality Gate Status for the SonarQube project.
314
314
-`analysisId` - Optional analysis ID - _String_
315
315
-`branch` - Optional branch key - _String_
316
316
-`projectId` - Optional project ID - _String_
317
317
-`projectKey` - Optional project key - _String_
318
318
-`pullRequest` - Optional pull request ID - _String_
319
319
320
320
321
-
-**list_quality_gates** - List all quality gates in the organization
321
+
-**list_quality_gates** - List all quality gates in my SonarQube.
322
322
323
323
### Rules
324
324
325
-
-**list_rule_repositories** - List rule repositories available in SonarQube
325
+
-**list_rule_repositories** - List rule repositories available in SonarQube.
326
326
-`language` - Optional language key - _String_
327
327
-`q` - Optional search query - _String_
328
328
329
329
330
-
-**show_rule** - Shows detailed information about a SonarQube rule
330
+
-**show_rule** - Shows detailed information about a SonarQube rule.
331
331
-`key` - Rule key - _Required String_
332
332
333
333
### Sources
334
334
335
-
-**get_raw_source** - Get source code as raw text. Require 'See Source Code' permission on file
335
+
-**get_raw_source** - Get source code as raw text from SonarQube. Require 'See Source Code' permission on file.
336
336
-`key` - File key - _Required String_
337
337
-`branch` - Optional branch key - _String_
338
338
-`pullRequest` - Optional pull request id - _String_
339
339
340
340
341
-
-**get_scm_info** - Get SCM information of source files. Require See Source Code permission on file's project
341
+
-**get_scm_info** - Get SCM information of SonarQube source files. Require See Source Code permission on file's project.
342
342
-`key` - File key - _Required String_
343
343
-`commits_by_line` - Group lines by SCM commit if value is false, else display commits for each line - _String_
344
344
-`from` - First line to return. Starts at 1 - _Number_
@@ -348,31 +348,31 @@ When using custom certificates, you can modify your MCP configuration to mount t
348
348
349
349
**Note: System tools are only available when connecting to SonarQube Server.**
350
350
351
-
-**get_system_health** - Get the health status of SonarQube Server instance
351
+
-**get_system_health** - Get the health status of SonarQube Server instance. Returns GREEN (fully operational), YELLOW (usable but needs attention), or RED (not operational).
352
352
353
353
354
-
-**get_system_info** - Get detailed information about SonarQube Server system configuration including JVM state, database, search indexes, and settings. Requires 'Administer' permissions
354
+
-**get_system_info** - Get detailed information about SonarQube Server system configuration including JVM state, database, search indexes, and settings. Requires 'Administer' permissions.
355
355
356
356
357
-
-**get_system_logs** - Get SonarQube Server system logs in plain-text format. Requires system administration permission
357
+
-**get_system_logs** - Get SonarQube Server system logs in plain-text format. Requires system administration permission.
358
358
-`name` - Optional name of the logs to get. Possible values: access, app, ce, deprecation, es, web. Default: app - _String_
359
359
360
360
361
-
-**ping_system** - Ping the SonarQube Server system to check if it's alive
361
+
-**ping_system** - Ping the SonarQube Server system to check if it's alive. Returns 'pong' as plain text.
362
362
363
363
364
-
-**get_system_status** - Get state information about SonarQube Server
364
+
-**get_system_status** - Get state information about SonarQube Server. Returns status (STARTING, UP, DOWN, RESTARTING, DB_MIGRATION_NEEDED, DB_MIGRATION_RUNNING), version, and id.
365
365
366
366
### Webhooks
367
367
368
-
-**create_webhook** - Create a new webhook for the organization or project. Requires 'Administer' permission on the specified project, or global 'Administer' permission
368
+
-**create_webhook** - Create a new webhook for the SonarQube organization or project. Requires 'Administer' permission on the specified project, or global 'Administer' permission.
369
369
-`name` - Webhook name - _Required String_
370
370
-`url` - Webhook URL - _Required String_
371
371
-`projectKey` - Optional project key for project-specific webhook - _String_
372
372
-`secret` - Optional webhook secret for securing the webhook payload - _String_
373
373
374
374
375
-
-**list_webhooks** - List all webhooks for the organization or project. Requires 'Administer' permission on the specified project, or global 'Administer' permission
375
+
-**list_webhooks** - List all webhooks for the SonarQube organization or project. Requires 'Administer' permission on the specified project, or global 'Administer' permission.
376
376
-`projectKey` - Optional project key to list project-specific webhooks - _String_
0 commit comments