Skip to main content
Glama
semgrep

Semgrep MCP Server

Official
by semgrep

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

TableJSON Schema
NameRequiredDescriptionDefault
code_filesYes
configNoauto
Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/semgrep/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server