-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathcom.sonarqube-mcp-docker.json
More file actions
105 lines (105 loc) · 3.78 KB
/
Copy pathcom.sonarqube-mcp-docker.json
File metadata and controls
105 lines (105 loc) · 3.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"$schema": "../schemas/server-definition.schema.json",
"id": "com.sonarqube-mcp-docker",
"name": "SonarQube (Docker)",
"alias": "sonarqube",
"description": "Official SonarQube MCP server (Docker) connecting AI agents to SonarQube Cloud and SonarQube Server for code quality and security data. Analyze code snippets, retrieve issues and security hotspots, browse projects, and inspect quality gates.",
"logo": "https://avatars.githubusercontent.com/u/545988?v=4",
"schema_version": "2.1",
"categories": [
"developer-tools",
"security"
],
"tags": [
"sonarqube",
"sonarcloud",
"code-quality",
"security",
"static-analysis",
"code-review",
"docker"
],
"transport": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--init",
"--pull=always",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_URL",
"sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "${input:SONARQUBE_TOKEN}",
"SONARQUBE_ORG": "${input:SONARQUBE_ORG}",
"SONARQUBE_URL": "${input:SONARQUBE_URL}"
},
"metadata": {
"inputs": [
{
"id": "SONARQUBE_TOKEN",
"label": "SonarQube Token",
"description": "Required. Your SonarQube Cloud token, or a SonarQube Server USER token for self-hosted instances. Used to authenticate all requests.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "squ_********************************",
"obtain": {
"url": "https://docs.sonarsource.com/sonarqube-cloud/managing-your-account/managing-tokens/",
"instructions": "SonarQube Cloud: open your account > Security and generate a token at https://sonarcloud.io/account/security/.\nSonarQube Server (self-hosted): open My Account > Security and generate a USER token.\nCopy the token and paste it here.",
"button_label": "Create Token"
}
},
{
"id": "SONARQUBE_ORG",
"label": "SonarQube Cloud Organization Key",
"description": "Required for SonarQube Cloud / SonarCloud only. Your organization key (leave empty for self-hosted SonarQube Server, where you set the Server URL instead).",
"type": "text",
"required": false,
"secret": false,
"placeholder": "my-organization"
},
{
"id": "SONARQUBE_URL",
"label": "SonarQube Server URL",
"description": "Required for self-hosted SonarQube Server (your instance URL, e.g. https://sonarqube.example.com). For SonarQube Cloud leave empty to use https://sonarcloud.io, or set https://sonarqube.us for SonarQube Cloud US.",
"type": "url",
"required": false,
"secret": false,
"placeholder": "https://sonarqube.example.com"
}
]
}
},
"auth": {
"type": "api_key",
"instructions": "Generate a SonarQube Cloud token (or a SonarQube Server USER token for self-hosted) and provide it as SONARQUBE_TOKEN. For SonarQube Cloud also set your organization key (SONARQUBE_ORG); for self-hosted SonarQube Server set your instance URL (SONARQUBE_URL) instead."
},
"contributor": {
"name": "SonarSource",
"github": "SonarSource",
"url": "https://www.sonarsource.com"
},
"links": {
"repository": "https://github.com/SonarSource/sonarqube-mcp-server",
"homepage": "https://www.sonarsource.com",
"documentation": "https://docs.sonarsource.com/sonarqube-mcp-server/"
},
"platforms": [
"all"
],
"capabilities": {
"tools": true,
"resources": false,
"prompts": false,
"read_only_mode": false
},
"changelog_url": "https://github.com/SonarSource/sonarqube-mcp-server/releases"
}