Skip to main content
Integrate Semgrep Guardian with GitHub Copilot through MCP in Visual Studio, JetBrains IDEs, Xcode, or Eclipse. For Copilot in VS Code, see VS Code setup.

Prerequisites

Setup

2
Register the Semgrep MCP server with your IDE’s Copilot configuration. The JSON shape is the same across IDEs:
Follow your IDE’s instructions for where to put this entry: Extending Copilot Chat with MCP servers covers Visual Studio, JetBrains, Xcode, and Eclipse.
3
Restart your IDE and open Copilot Chat. Semgrep tools become available in Agent mode.
Copilot does not expose a post-write hook, so Semgrep tools are invoked when the agent calls them through MCP.

What rules does this setup use?

This integration scans with the rules enabled for your Semgrep organization through your Policies. See Rules and configuration for how this differs from the Claude Code remote plugin.

Next steps