Integrations
Enables cloning repositories for code analysis and scanning with Semgrep.
Supports working with Semgrep rules defined in YAML format, allowing for rule creation and management.
Semgrep Server
A Model Context Protocol (MCP) server for integrating Semgrep into the development environment. This server enables static code analysis and the management of Semgrep rules directly via the MCP protocol.
installation
use
The server can be started in the following way:
Available tools
The server provides the following MCP tools:
scan_directory
: Runs a Semgrep scan in a directorylist_rules
: Lists available Semgrep rulesanalyze_results
: Analyzes the scan resultscreate_rule
: Creates a new Semgrep rulefilter_results
: Filters scan results according to various criteriaexport_results
: Exports scan results in various formatscompare_results
: Compares two scan results
Development
The project is written in TypeScript and uses the MCP SDK for the server implementation.
Project structure
Dependencies
- Node.js & npm
- TypeScript
- MCP SDK
- Axios for HTTP requests
License
This project is licensed under the ISC License. See the LICENSE file for details.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables integration of Semgrep in development environments via the MCP protocol, supporting static code analysis, rule management, and scan result operations.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThe Seq MCP Server enables interaction with Seq's API endpoints for logging and monitoring, providing tools for managing signals, events, and alerts with extensive filtering and configuration options.Last updated -3133JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol compliant server that integrates Semgrep static analysis tool with AI assistants like Anthropic Claude, enabling advanced code analysis, security vulnerability detection, and code quality improvements through a conversational interface.Last updated -4JavaScriptMIT License
Semgrep MCP Serverofficial
AsecurityAlicenseAqualityAn MCP server that provides a comprehensive interface to Semgrep, enabling users to scan code for security vulnerabilities, create custom rules, and analyze scan results through the Model Context Protocol.Last updated -6140PythonMIT License- -securityAlicense-qualityAn implementation of the Model Context Protocol (MCP) that enables interaction with debug adapters, allowing language models to control debuggers, set breakpoints, evaluate expressions, and navigate source code during debugging sessions.Last updated -2PythonAGPL 3.0