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
| Modality | Status | Detail |
|---|---|---|
| API | yes | restbearer-api-token coverage: partial · docs |
| SDK | unknown | official: unknown |
| MCP | yes | verdict: official |
| Integrations | unknown | |
| CLI | yes | |
| Extensibility | yes | webhooks: True |
| Data access | export: json, sarif · import: unknown | |
| RPA / UI automation | unknown | web-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 use | unknown | measured verdicts only — "unknown" means not yet probed by us |
Scores
| api | mcp | integrations | cli | rpa | computer use | overall |
|---|---|---|---|---|---|---|
| 7 | 6 | — | 8 | — | — | 8 |
Evidence
| Fact | Tier | Source | Date |
|---|---|---|---|
homepage | declared | source | 2026-09-05 |
license | declared | source | 2026-09-05 |
license | declared | source | 2026-09-05 |
platforms | declared | source | 2026-09-05 |
modalities.api.exists | declared | source | 2026-09-05 |
modalities.api.kinds[0] | declared | source | 2026-09-05 |
modalities.api.auth[0] | declared | source | 2026-09-05 |
modalities.api.auth[0] | declared | source | 2026-09-05 |
modalities.api.coverage | declared | source | 2026-09-05 |
modalities.mcp.first_party | declared | source | 2026-09-05 |
modalities.mcp.verdict | declared | source | 2026-09-05 |
modalities.cli.exists | declared | source | 2026-09-05 |
modalities.cli.exists | declared | source | 2026-09-05 |
modalities.extensibility.webhooks | declared | source | 2026-09-05 |
modalities.data_access.export[0] | declared | source | 2026-09-05 |
modalities.data_access.export[1] | declared | source | 2026-09-05 |
modalities.agent_docs.llms_txt | declared | source | 2026-09-05 |
verdict.scores.api | declared | source | 2026-09-05 |
verdict.scores.mcp | declared | source | 2026-09-05 |
verdict.scores.cli | declared | source | 2026-09-05 |
freshness.watch[0].url | declared | source | 2026-09-05 |
freshness.watch[1].url | declared | source | 2026-09-05 |
freshness.watch[2].url | declared | source | 2026-09-05 |
freshness.watch[3].url | declared | source | 2026-09-05 |
Related tools
Other products in this database that share a category with Semgrep.
Last verified 2026-09-05 · volatility high · JSON record