Semgrep MCP Server

by Semgrep · Python

Official
View source

Overview

Run static analysis and security scans on codebases via Semgrep.

Set up

Runs locally

This server runs on your machine, so the install command depends on its package. The project README has the exact steps. Most clients expect an entry shaped like this:

mcp.json
{
  "mcpServers": {
    "semgrep": {
      "command": "<command from the docs>",
      "args": [
        "<args>"
      ],
      "env": {}
    }
  }
}
Open README