MCP & AI Agent Integration

Semgrep
automation.

13 AI agent actions for Semgrep — callable from any MCP-compatible runtime, Claude, Cursor, or Cerebral OS workflow. Use Semgrep to create tasks, update project status, and coordinate work across teams automatically. Full governance, audit trail, and dry-run safety on every execution.

No credit card required
Live in production environments
<200ms median execution
Dry-run before production
Execution trace
live
13
actions
100%
governed
<200ms
latency
13
AI agent actions
8
Read operations
5
Write operations
1
High-risk actions (approval gated)
Productivity Semgrep is a Productivity integration — use it to automate tasks, projects, and team workflows from any AI agent or MCP-compatible runtime.
Actions

What you can do
with Semgrep.

Every action below is available as an MCP tool and a verb in Cerebral OS — callable from any AI agent, Claude, Cursor, Windsurf, or your own runtime via the BYOA API. All executions are governed, audited, and dry-run safe.

Get Finding
semgrep:get_finding
Fetch a single security finding by ID with full details.
Read Low risk
Get Project
semgrep:get_project
Fetch a single project by ID with configuration and scan settings.
Read Low risk
Get Rule
semgrep:get_rule
Fetch a single security rule by ID with full configuration.
Read Low risk
Get Scan
semgrep:get_scan
Fetch scan status and results by ID.
Read Low risk
List Findings
semgrep:list_findings
List security findings with filtering and pagination.
Read Low risk
List Projects
semgrep:list_projects
List all projects with optional filtering and pagination.
Read Low risk
List Rules
semgrep:list_rules
List security rules with filtering and pagination.
Read Low risk
List Scans
semgrep:list_scans
List scans with filtering and pagination.
Read Low risk
Create Project
semgrep:create_project
Create a new project for code scanning.
Write Medium risk
Delete Project
semgrep:delete_project
Permanently delete a project and all its scan data.
Write High risk
Trigger Scan
semgrep:trigger_scan
Trigger a new security scan for a project.
Write Medium risk
Update Finding Status
semgrep:update_finding_status
Update the status of a security finding (triage action).
Write Medium risk
Update Project
semgrep:update_project
Update an existing project's configuration.
Write Medium risk
MCP & Runtime API

Call Semgrep
from any AI agent.

Any AI agent — Claude, Cursor, LangChain, AutoGen, or your own — can call Semgrep actions through the Cerebral OS Runtime API. Governance, credentials, and audit trail fire automatically.

semgrep:get_finding READ
# Call via Runtime API
curl
-X POST \
  "https://api.cerebralos.com/v1/runtime/actions/run"
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "verb": "semgrep:get_finding",
    "args": {},
    "execution_id": "agent-001"
  }'
semgrep:create_project WRITE
# Dry-run first — no production risk
curl
-X POST \
  "https://api.cerebralos.com/v1/runtime/actions/run"
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "verb": "semgrep:create_project",
    "args": {},
    "execution_id": "agent-001",
    "metadata": {"dryRun": true}
  }'
Get your Runtime API key at app.cerebralos.com/signup — 1,000 free executions, no credit card required.
AI agent examples

What your AI agent
can do with Semgrep.

Real patterns your AI agent can execute via MCP or the Runtime API. Every action governed, dry-run safe, and fully audited.

Trigger
AI agent needs Semgrep data
Call semgrep:get_finding via MCP or Runtime API
AI processes result and takes next action
Full execution logged to audit trail automatically
Trigger
Workflow needs to write to Semgrep
Dry-run validates semgrep:create_project before execution
Approval gate fires if risk level is high
Action executes with full governance — logged, audited, reversible
Trigger
Task or project event
Update status automatically
Notify assignees
Sync across tools
How it works

Every Semgrep action
governed end-to-end.

Cerebral OS isn't a connector. It's the execution layer that sits in front of Semgrep — adding governance, dry-run safety, and a full audit trail to every operation.

Governance first
Every verb carries a risk classification. High-risk writes require explicit approval gates before they execute in production.
Dry-run safe
Simulate any Semgrep action before it touches production. See exactly what would happen before a single real call is made.
Immutable audit trail
Every Semgrep action is logged — what ran, what changed, who approved it, when it happened. Full history on every verb, forever.
Connect with

Semgrep works best
alongside these.

Build multi-step workflows that connect Semgrep to the rest of your stack. All governed. All audited.

Semgrep integration

Start free.
No credit card required.

Start free with 1,000 runs — no credit card required. Connect Semgrep in minutes, dry-run every action before it touches production, full audit trail on everything.

Start free — 1,000 runs Browse all integrations →