Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Docker 4 min read How-to mediumAdept

Boost Your Copilot with SonarQube via Docker MCP Toolkit and Gateway

The Sonar MCP server, launched from Docker Desktop's MCP Toolkit and exposed through the Docker MCP Gateway, lets GitHub Copilot's Agent Mode in IntelliJ read SonarQube findings without leaving the IDE. The walkthrough configures the server with a SonarQube URL, organization and token, then registers the gateway in Copilot's mcp.json as a stdio command. On a Spring Boot and Testcontainers demo project, the agent fixed security and maintainability issues and wrote tests for uncovered lines. Coverage rose from 72.1% to 91.1%, with an A rating in every category.

Assumes: SonarQube basicsMaven buildsGitHub Copilot Agent Mode

Related posts

  • How to Add MCP Servers to Claude Code with Docker MCP Toolkit

    Docker mediumAdept

    Docker MCP Toolkit lets Claude Code reach containerized MCP servers through a single Docker MCP Gateway entry in a project's .mcp.json, connected with one click in Docker Desktop or via `docker mcp client connect claude-code`. The guide covers setting up the Atlassian (Jira), GitHub (OAuth or personal access token) and Filesystem (scoped paths) servers. It then walks through a demo where Claude Code scans a Node.js codebase for TODO/FIXME comments, runs git blame, assigns priority by keyword and bulk-creates Jira tickets. Docker claims this cuts a 20–30 minute manual task to about 2 minutes.

  • How to add MCP Servers to Gemini CLI with Docker MCP Toolkit

    Docker mediumAdept

    Gemini CLI can be connected to Docker MCP Toolkit so it can drive containerized MCP servers from the terminal. Connecting is either one click in Docker Desktop or `docker mcp client connect gemini --global`, which adds a Docker MCP Gateway entry to `~/.gemini/settings.json`. A demo pairs Playwright, GitHub and Filesystem MCP servers to automatically browser-test a sample Node e-commerce catalog app, finding performance and accessibility issues, saving screenshots and filing a GitHub issue. The claimed payoff is cutting a roughly 20-minute manual test-and-report cycle to about 30 seconds.

  • Building AI Agents with Docker MCP Toolkit: A Developer’s Real-World Setup

    Docker mediumAdept

    A GitHub repository question-answering agent is built by running the GitHub MCP Gateway (docker/mcp-gateway) as a container under Docker Compose and connecting a Python agent to it over streamable-http via MCPTools. The gateway lists files, fetches content and searches code, and GPT-4o reasons over the results. Setup takes a few commands: store a GitHub token with `docker mcp secret set`, run `docker compose up`, then run app.py. The main argument is that containerized MCP connectors keep integration code out of the agent and give consistent environments, and new tools such as Jira or Slack can be added as extra Compose services.

  • Dynamic MCPs with Docker: Stop Hardcoding Your Agents’ World

    Docker mediumAdept

    Docker MCP Gateway now exposes primordial tools (mcp-find, mcp-add) that let agents search a curated catalog of 270+ MCP servers, add them to the live session, and trigger OAuth or elicitation flows, instead of hand-editing JSON config and restarting. The gateway can also hide added servers' tool definitions from tools/list so they stay discoverable without bloating the context window. A code-mode tool lets agents write JavaScript that composes tools from several MCP servers inside a Docker sandbox, keeping intermediate results out of the model and cutting per-turn token usage. The features ship in Docker Desktop 4.50 and are on by default, and cagent can expose such agents to ACP-enabled editors like Zed and Neovim.

  • Better tools made Copilot code review worse. Here’s how we actually improved it.

    GitHub Engineering mediumAdept

    Swapping Copilot code review's bespoke exploration tools for the shared Copilot CLI tools (grep, glob, view) initially raised review cost and reduced useful comments, because the tool instructions encouraged broad, repo-browsing behavior instead of diff-anchored investigation. Benchmark traces exposed the browsing loop, and rewriting tool guidance around a reviewer's workflow (form questions from the diff, narrow with grep/glob, batch discovery, view only known ranges, recover from failed searches with simpler queries or glob) cut average review cost about 20% in production without a quality regression. The same focused instructions did not help the interactive CLI, so tool prompting must match the product's job.

The quest for software engineering knowledge.

Look:
Layout: