Semgrep MCP Server

Stablesecurity
85 starsPythonsemgrep
GitHub
About

Overview

The Semgrep MCP Server enables AI agents to perform static application security testing (SAST) using Semgrep. It provides tools for scanning code for security vulnerabilities, enforcing coding standards, and detecting code patterns.
Capabilities

Tools & Capabilities

scan

Run a Semgrep scan on code

list_rules

List available scanning rules

get_findings

Get findings from a scan

scan_file

Scan a specific file

Setup

Installation

bash
Install
pip install mcp-server-semgrep
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "semgrep": {
      "command": "python",
      "args": ["-m", "mcp_server_semgrep"]
    }
  }
}

Quick Info

Authorsemgrep
LanguagePython
StatusStable
Stars 85
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.