start_scan_from_content
Initiate a Semgrep scan using directly provided code content to identify security vulnerabilities. Input code files and configuration to generate detailed scan results.
Instructions
Starts a Semgrep scan with code content provided directly
Args: ctx: MCP context for sending notifications code_files: List of dictionaries with 'filename' and 'content' keys config: Semgrep configuration (e.g. "auto" or absolute path to rule file)
Returns: Dictionary with scan information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code_files | Yes | ||
config | No | auto |