Can AI agents automate Semgrep?

Semgrep · saas · developer-toolsquality-management

Semgrep is automatable today through the official Semgrep CLI. This record is Semgrep SAST and secret scanning, including Semgrep Code and the first-party MCP entry point bundled as `semgrep mcp`. It is not Snyk. The CLI installs with pipx, uv, Homebrew, or the `semgrep/semgrep` Docker image and runs on macOS, Linux, and Windows (beta). `semgrep scan` works without an account. `semgrep ci` uses a Semgrep account, `semgrep login`, or `SEMGREP_APP_TOKEN` to pull organization policies and optionally upload findings. Structured output includes text, JSON, and SARIF. Product flags include `--code`, `--supply-chain`, and `--secrets`. The same CLI hosts first-party MCP over stdio or streamable-http. Official client configs use `command: semgrep` / `args: [mcp]` and may set `SEMGREP_APP_TOKEN`. Semgrep Guardian documents the same local MCP command and a hosted remote plugin for Claude Code. The opened MCP README names one sample tool, `semgrep_scan_remote`; a full tool catalog was not published on the opened pages. Community `mcp-server-semgrep` is listed as inspiration, not the official server. The AppSec Platform REST API is OpenAPI-documented at `https://semgrep.dev` and authenticates with an API token that has the Web API permission in an Authorization: Bearer header. Documented resources include findings, deployments, projects, scans, and secrets. That API manages platform records; it does not replace local `semgrep scan` / `semgrep ci`. Outbound JSON webhooks post scan and finding objects. iPaaS connector catalogs were not opened. Computer-use viability is unassessed. The CLI scores 8 and is the best path because it scans locally, authenticates in CI, and is the process that serves MCP.

Best path today: cli · Overall automatability: 8/10

Modalities

ModalityStatusDetail
APIyesrestbearer-api-token
coverage: partial · docs
SDKunknown
official: unknown
MCPyes
verdict: official
Integrationsunknown
CLIyes
Extensibilityyes
webhooks: True
Data access
export: json, sarif · import: unknown
RPA / UI automationunknownweb-dom
No repeatable UI probe was run. Semgrep's official CLI, AppSec Platform REST API, outbound webhooks, and first-party MCP cover practical SAST and secrets automation without browser control.
Computer useunknown
measured verdicts only — "unknown" means not yet probed by us

Scores

apimcpintegrationsclirpacomputer useoverall
7688

Evidence

FactTierSourceDate
homepagedeclaredsource2026-09-05
licensedeclaredsource2026-09-05
licensedeclaredsource2026-09-05
platformsdeclaredsource2026-09-05
modalities.api.existsdeclaredsource2026-09-05
modalities.api.kinds[0]declaredsource2026-09-05
modalities.api.auth[0]declaredsource2026-09-05
modalities.api.auth[0]declaredsource2026-09-05
modalities.api.coveragedeclaredsource2026-09-05
modalities.mcp.first_partydeclaredsource2026-09-05
modalities.mcp.verdictdeclaredsource2026-09-05
modalities.cli.existsdeclaredsource2026-09-05
modalities.cli.existsdeclaredsource2026-09-05
modalities.extensibility.webhooksdeclaredsource2026-09-05
modalities.data_access.export[0]declaredsource2026-09-05
modalities.data_access.export[1]declaredsource2026-09-05
modalities.agent_docs.llms_txtdeclaredsource2026-09-05
verdict.scores.apideclaredsource2026-09-05
verdict.scores.mcpdeclaredsource2026-09-05
verdict.scores.clideclaredsource2026-09-05
freshness.watch[0].urldeclaredsource2026-09-05
freshness.watch[1].urldeclaredsource2026-09-05
freshness.watch[2].urldeclaredsource2026-09-05
freshness.watch[3].urldeclaredsource2026-09-05

Related tools

Other products in this database that share a category with Semgrep.

Last verified 2026-09-05 · volatility high · JSON record