start_scan
Initiate a Semgrep scan to detect code vulnerabilities, monitor progress via notifications, and analyze results using specified configurations for targeted files or directories.
Instructions
Starts a Semgrep scan with progress updates via notifications
Args: ctx: MCP context for sending notifications target_path: Absolute path to the file or directory to scan config: Semgrep configuration (e.g. "auto" or absolute path to rule file)
Returns: Dictionary with scan information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
config | No | auto | |
target_path | Yes |