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 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
- Enterprise deployment for authentication and organization-wide rollout
- Semgrep Guardian overview
- Rules and configuration