To scan code locally as your agent writes it, use Semgrep Guardian, which runs the MCP server with
semgrep mcp.- Search and filter findings, triage them in bulk, and read finding history.
- Generate fixes, inspect failed scans, and start new scans.
- Look up projects, dependencies, and advisories.
- Test rules, manage policies, and open Jira or Linear tickets.
Prerequisites
- An AppSec Platform account in an organization on a Teams or Enterprise plan, including trials.
- An MCP client that supports remote servers over HTTP, such as Claude Code, Codex, Cursor, or VS Code.
Get started
Authentication and access
Find the server URL for your deployment, choose between OAuth and an API token, and limit access with the read-only URL.
Connect an MCP client
Add the hosted MCP server to Claude Code, Codex, Cursor, VS Code, or another MCP client.
Tools and capabilities
See what your agent can do with findings, fixes, scans, rules, policies, and integrations.
Run scans and workflows
Start rule-based scans, AI-powered detection scans, and Agentic Workflows jobs from your agent.
Troubleshooting
Fix common connection, permission, and plan errors.