Skip to content

Commit 6ade0f1

Browse files
MCP-126 Publish MCP server into MCP registry
1 parent 4ca2eed commit 6ade0f1

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ COPY --chown=appuser:appgroup --chmod=755 scripts/install-certificates.sh /usr/l
4646
USER appuser
4747
WORKDIR /app
4848
ENV STORAGE_PATH=./storage
49+
LABEL io.modelcontextprotocol.server.name="io.github.SonarSource/sonarqube-mcp-server"
4950

5051
ENTRYPOINT ["/bin/sh", "-c", "/usr/local/bin/install-certificates && exec java -jar /app/sonarqube-mcp-server.jar"]

server.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3+
"name": "io.github.SonarSource/sonarqube-mcp-server",
4+
"description": "An MCP server that enables integration with SonarQube Server or Cloud for code quality and security.",
5+
"status": "active",
6+
"repository": {
7+
"url": "https://github.com/SonarSource/sonarqube-mcp-server",
8+
"source": "github"
9+
},
10+
"version": "0.0.8",
11+
"packages": [
12+
{
13+
"registry_type": "oci",
14+
"registry_base_url": "https://docker.io",
15+
"identifier": "mcp/sonarqube",
16+
"version": "sha256:1f83c5655d462b267414e4b2e81863e3568ab2dc8c5e23ee094f4b1e061cbaf5",
17+
"transport": {
18+
"type": "stdio"
19+
},
20+
"environment_variables": [
21+
{
22+
"description": "Your SonarQube Server USER token",
23+
"is_required": true,
24+
"format": "string",
25+
"is_secret": true,
26+
"name": "SONARQUBE_TOKEN"
27+
},
28+
{
29+
"description": "Your SonarQube Cloud organization key (if using SonarQube Cloud)",
30+
"is_required": false,
31+
"format": "string",
32+
"is_secret": true,
33+
"name": "SONARQUBE_ORG"
34+
},
35+
{
36+
"description": "Your SonarQube Server URL (if using SonarQube Server)",
37+
"is_required": false,
38+
"format": "string",
39+
"is_secret": true,
40+
"name": "SONARQUBE_URL"
41+
}
42+
]
43+
}
44+
]
45+
}

0 commit comments

Comments
 (0)