How to install Sonar MCP Server in VS Code
To install Sonar MCP Server in VS Code, click "Add to VS Code" on this page or add the "sonar-mcp-server" block under "servers" in .vscode/mcp.json, then pick it in Copilot Chat agent mode.
Built from the published package · server updated 1 month ago
- 1
One click (fastest)
Click the button to open VS Code with this server ready to install.
Add Sonar MCP Server to VS Code - 2
Or add it by hand
Create .vscode/mcp.json and paste this. Note that VS Code uses "servers", not "mcpServers".
{ "servers": { "sonar-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/igorolv/sonar-mcp-server:0.1.0" ] } } } - 3
Start it in Copilot Chat
Open Copilot Chat in Agent mode and pick the server from the tools menu.
Config file: .vscode/mcp.json in your workspace
MCP servers run with your permissions. If Sonar MCP Server needs an API key, add it under env in the config. Check its README.
Install Sonar MCP Server in another app
Similar servers
Start Claude Code and Codex agents the person can watch, wait for them and read their answers.
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Questions
Does Sonar MCP Server work in VS Code?
Yes. VS Code supports local and remote mcp servers in copilot agent mode, and Sonar MCP Server installs with the steps above.
Sonar MCP Server does not show up in VS Code. What now?
Restart VS Code fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Sonar MCP Server safe?
It scores 27 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
