MCP Directory

SonarQube MCP Server vs Serena

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 SonarQube MCP Server

Official SonarQube MCP server: bring code quality, security, and coverage analysis from SonarQube Server or Cloud into AI agents.

Unverified
stdio (local)
API key
Java
Serena

LSP-powered coding agent toolkit: semantic symbol search, references and structural edits.

Verified
stdio (local)
No auth
Python
CategoryDeveloper ToolsDeveloper Tools
LanguageJavaPython
Transportstdio (local)stdio (local)
AuthAPI keyNone
GitHub stars58612k
Last commit1 day ago23 days ago
Verified
Actively maintained
Installdocker pull sonarsource/sonarqube-mcpuvx --from git+https://github.com/oraios/serena serena start-mcp-server
RepoOpen Open

Verdict

Pick SonarQube MCP Server if you need the broadest set of tools.

Pick Serena if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Add SonarQube MCP Server

Install / run
docker pull sonarsource/sonarqube-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--init",
        "--pull=always",
        "-i",
        "--rm",
        "-e",
        "SONARQUBE_TOKEN",
        "-e",
        "SONARQUBE_ORG",
        "sonarsource/sonarqube-mcp"
      ],
      "env": {
        "SONARQUBE_TOKEN": "<your-token>",
        "SONARQUBE_ORG": "<your-org>"
      }
    }
  }
}

Requires Docker to be installed and running.

Add Serena

Install / run
uvx --from git+https://github.com/oraios/serena serena start-mcp-server

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/oraios/serena",
        "serena",
        "start-mcp-server"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

FAQ

SonarQube MCP Server or Serena — which is better?

Pick SonarQube MCP Server if you need the broadest set of tools. Pick Serena if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Can I use both SonarQube MCP Server and Serena?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do SonarQube MCP Server and Serena work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.