SonarQube MCP服务端

通过stdio与SonarQube Server REST API集成的MCP服务端,运行环境为Bun。

  • by alexjcm
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 alexjcm/sonar-mcp-server

使用说明

SonarQube MCP服务器

MCP服务器,用于通过stdio与SonarQube服务器REST API集成。

运行时间:Bun

设置

cp .env.example .env

# Edit .env with your credentials
SONARQUBE_URL=https://your-server.example.com
SONARQUBE_TOKEN=your-token

安装

bun install

跑

bun run src/index.ts

与MCP检查员进行验证

npx @modelcontextprotocol/inspector bun /Users/ajcm/my-mcps/sonar-mcp-server/src/index.ts