Prerequisites
- A Semgrep account
- Semgrep CLI installed and signed in
Setup
2
Add the Semgrep MCP server to VS Code. Create
.vscode/mcp.json in your workspace (or run the MCP: Open User Configuration command from the Command Palette for a user-wide entry) and paste the following:3
Reload VS Code. Semgrep tools become available in the Copilot Chat Agent mode.
What rules does this setup use?
This integration has no Guardian-specific policy available. It pulls all rules enabled on Policies. See Rules and configuration for how this differs from the Claude Code and Codex plugins.Next steps
- Enterprise deployment for authentication and organization-wide rollout
- Semgrep Guardian overview
- Rules and configuration