Back to Home
ptitmonnstree icon

sonarlint-mcp-server

Verified Safe

by ptitmonnstree

Overview

Provides SonarLint-powered code quality analysis, bug detection, and quick fixes as an MCP server for AI clients like Claude Desktop.

Installation

Run Command
npx -y @nielspeter/sonarlint-mcp-server

Security Notes

The server primarily uses standard I/O for communication via the Model Context Protocol (MCP), minimizing direct network attack surface. It utilizes 'child_process.spawn' to interact with a local Java-based SLOOP backend, which is generally safer than arbitrary command execution. File system operations are inherent to its code analysis function and are performed on user-specified paths. No 'eval' or directly malicious code patterns were found. Hardcoded credentials for testing purposes are isolated to test fixtures, not operational code. The Node.js path for language analyzers is set to 'process.execPath', preventing arbitrary executable injection.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens3500
Stars0
Forks0
Last Update2026-01-19

Tags

Code AnalysisSonarLintCode QualityStatic AnalysisMCP