← Back to search

@nielspeter/sonarlint-mcp-server

GitHub Actions Scanned 23d ago

MCP server providing SonarLint code analysis for Claude Desktop and other MCP clients

C
74.1 / 100

Versions

0.5.5latest
May 12, 2026
0.5.4
Apr 7, 2026
0.5.3
Apr 3, 2026
0.5.2
Apr 3, 2026
0.5.1
Apr 2, 2026
+ show 14 moreshow less
0.5.0
Apr 2, 2026
0.4.1
Mar 30, 2026
0.4.0
Mar 30, 2026
0.3.1
Mar 30, 2026
0.2.8
Mar 30, 2026
0.3.0
Mar 30, 2026
0.2.7
Mar 30, 2026
0.2.6
Mar 28, 2026
0.2.5
Mar 28, 2026
0.2.4
Mar 28, 2026
0.2.3
Mar 28, 2026
0.2.2
Mar 28, 2026
0.2.1
Nov 12, 2025
0.1.3
Nov 11, 2025
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 7

check_quality
annotations: none low

Check a file for code quality issues — bugs, code smells, security vulnerabilities, and complexity problems. Like having SonarLint in your IDE. Use after writing or modifying code to catch issues early. Returns issues with exact line numbers, severity, and available quick fixes. For multiple files use check_files.

filePath string
check_files
annotations: none low

Check multiple files for code quality issues in one call — bugs, code smells, security vulnerabilities. Use when reviewing or modifying several files. Supports glob patterns (e.g. 'src/**/*.ts'). When using relative paths or globs, provide basePath so they resolve correctly. Output is compact: only files with issues are shown, clean files get a summary count. For a single file use check_quality.

groupByFile boolean
check_code
annotations: none low

Check code quality of a code snippet or content you have in hand — catches bugs, code smells, security issues, and complexity problems. Use to validate code before writing it to disk, review generated code, or check code you've read into context. No file on disk needed.

content string fileName string
list_rules
annotations: none low

List all active code quality rules with ID, name, and severity. Use to look up what a rule means (e.g., S3776 = Cognitive Complexity), discover what issues can be detected, or see which rules apply to a language. Covers bugs, code smells, security vulnerabilities, and security hotspots.

health_check
annotations: none low

Check if the code quality analysis backend is running and healthy. Shows installed language plugins, cache stats, and version info. Use to diagnose when analysis isn't working as expected.

fix_issue
annotations: none low

Automatically fix one specific code quality issue. Applies the SonarLint-suggested fix for the issue at the given file, line, and rule. The file is modified directly. To fix all issues in a file at once, use fix_all_issues instead.

line number rule string filePath string
fix_all_issues
annotations: none low

Automatically fix all code quality issues in a file that have available quick fixes. Applies all SonarLint-suggested fixes in one operation. Returns what was fixed and what remains (some issues require manual fixes like reducing complexity).

filePath string

Permissions 3

filesystem low
Server uses filesystem capabilities via: fs
shell high
Server uses shell capabilities via: child_process, spawn()
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 0

No scan findings.