Skip to main content
Glama

Semgrep MCP Server

Semgrep サーバー

Semgrep を開発環境に統合するためのモデル コンテキスト プロトコル (MCP) サーバー。このサーバーを使用すると、MCP プロトコルを介して静的コード分析を実行し、Semgrep ルールを直接管理できます。

インストール

# Repository klonen git clone [repository-url] cd semgrep-server # Abhängigkeiten installieren npm install # Server bauen npm run build

使用

サーバーは次の方法で起動できます。

# Produktionsmodus npm start # Entwicklungsmodus npm run dev

利用可能なツール

サーバーは次の MCP ツールを提供します。

  • scan_directory : ディレクトリ内でSemgrepスキャンを実行する
  • list_rules : 利用可能なSemgrepルールを一覧表示する
  • analyze_results : スキャン結果を分析する
  • create_rule : 新しいSemgrepルールを作成する
  • filter_results : さまざまな基準に従ってスキャン結果をフィルタリングします
  • export_results : スキャン結果をさまざまな形式でエクスポートします
  • compare_results : 2つのスキャン結果を比較する

発達

このプロジェクトは TypeScript で記述されており、サーバーの実装には MCP SDK を使用します。

プロジェクト構造

semgrep-server/ ├── src/ # Quellcode ├── build/ # Kompilierte JavaScript-Dateien ├── test.js # Testdateien └── test-rule.yaml # Beispiel Semgrep-Regel

依存関係

  • Node.jsとnpm
  • タイプスクリプト
  • MCP SDK
  • HTTPリクエスト用のAxios

ライセンス

このプロジェクトは ISC ライセンスに基づいてライセンスされています。詳細については、 LICENSEファイルをご覧ください。

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

MCP プロトコルを介して開発環境での Semgrep の統合を可能にし、静的コード分析、ルール管理、スキャン結果の操作をサポートします。

  1. インストール
    1. 使用
      1. 利用可能なツール
        1. 発達
          1. プロジェクト構造
          2. 依存関係
        2. ライセンス

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            The 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 -
            3
            13
            3
            JavaScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A 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 -
            4
            JavaScript
            MIT License
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            An 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 -
            6
            192
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            An 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 -
            2
            Python
            AGPL 3.0

          View all related MCP servers

          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/stefanskiasan/semgrep-mcp-server'

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