MS

medinios/suricatamcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

14 stars 4 forks 품질 50 트렌드 9

SuricataMCP는 MCP 클라이언트가 네트워크 트래픽 분석을위한 자율적으로 suricata를 사용하는 모델 Context Protocol Server입니다.

개요

SuricataMCP는 MCP 클라이언트가 네트워크 트래픽 분석을위한 자율적으로 suricata를 사용하는 모델 Context Protocol Server입니다. get suricata version, get suricata help, get suricata help, get alerts from pcap file과 같은 도구를 통해 Suricata와 프로그래밍 상호 작용을 가능하게 합니다. 귀하의 편의를 위해, 우리는 커서 단계로 SuricataMCP를 설치하고 사용하는 방법을 통해 걸어가는 전체 중간 문서를 만들었습니다. SuricataMCP: 네트워크 보안 - Easily 쉽게 Suricata 버전을 얻을 수 있으며 정보를 돕습니다. - Par Parse .pcap 파일 및 간단한 도구 인터페이스를 사용하여 경고를 검색합니다. · Cursor와 같은 AI 코딩 도구와 원활한 통합을위한 MCP 프로토콜을 내장. 이 프로젝트를 사용하려면 Suricata를 다운로드하고 설치해야합니다. 공식 Suricata 사이트로 이동: https://suricata.io/download/ OS (Linux, macOS 또는 Windows)에 대한 설치 지침을 따르십시오. Linux에서 패키지 관리자를 통해 설치할 수 있습니다. 예를 들어.

개요(AI 번역)

SuricataMCP는 MCP 클라이언트가 네트워크 트래픽 분석을위한 자율적으로 suricata를 사용하는 모델 Context Protocol Server입니다. get suricata version, get suricata help, get suricata help, get alerts from pcap file과 같은 도구를 통해 Suricata와 프로그래밍 상호 작용을 가능하게 합니다.

중간에 전체 가이드

귀하의 편의를 위해, 우리는 커서 단계로 SuricataMCP를 설치하고 사용하는 방법을 통해 걸어가는 전체 중간 문서를 만들었습니다. SuricataMCP: 네트워크 보안


☸ 특징

  • Easily 쉽게 Suricata 버전을 얻을 수 있으며 정보를 돕습니다.
  • Par Parse .pcap 파일 및 간단한 도구 인터페이스를 사용하여 경고를 검색합니다.
  • Cursor와 같은 AI 코딩 도구와 완벽하게 통합을위한 MCP 프로토콜을 내장.

Suricata 다운로드

이 프로젝트를 사용하려면 Suricata를 다운로드하고 설치해야합니다.

공식 Suricata 사이트로 이동: https://suricata.io/download/

OS (Linux, macOS 또는 Windows)에 대한 설치 지침을 따르십시오.

Linux에서 패키지 관리자를 통해 설치할 수 있습니다. 예를 들어:

뚱 베어 sudo apt 설치 suricata

설치 후 Suricata 바이너리 및 구성 파일을 찾습니다. 그래서 config에서 올바른 경로를 설정할 수 있습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

SuricataMCP 🚀

SuricataMCP is a Model Context Protocol Server that allows MCP clients to autonomously use suricata for network traffic analysis. It enables programmatic interaction with Suricata through tools like get_suricata_version, get_suricata_help, and get_alerts_from_pcap_file.

📰 Full Guide on Medium

For your convenience, we created a full Medium article that walks you through how to install and use SuricataMCP with Cursor step by step. Supercharging Cursor with SuricataMCP: Network Security at Your Fingertips


📦 Features

  • 🔡 Easily get Suricata version and help info.
  • 📁 Parse .pcap files and retrieve alerts using a simple tool interface.
  • 🧠 Built with the MCP protocol for seamless integration with AI coding tools like Cursor.

⬇️ Downloading Suricata

To use this project, you’ll need to download and install Suricata:

Go to the official Suricata site: https://suricata.io/download/

Follow installation instructions for your OS (Linux, macOS, or Windows)

On Linux, you can also install via package manager, e.g.:

bash sudo apt install suricata

After installation, locate the Suricata binary and configuration files so you can set the correct paths in config.py.


⚙️ Installation Guide

Installing via Smithery

To install Suricata Network Traffic Analysis Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @Medinios/SuricataMCP --client claude

Follow these steps to set up SuricataMCP on your system:


1. Clone the Repository

Open your terminal and run:

git clone https://github.com/medinios/SuricataMCP.git
cd SuricataMCP

2. Install dependencies (e.g., if using a virtual environment)

pip install -r requirements.txt

3. Edit the config.py file to specify your Suricata installation path:

SURICATA_DIR = "/path/to/suricata"
SURICATA_EXE_FILE = "suricata"  # or "suricata.exe" on Windows

4. Add SuricataMCP to your AI platform with:

  {
    "mcpServers": {
      "SuricataMcp": {
        "command": "cmd",
        "args": ["/c", "mcp", "run", "[YourPath]\\SuricataMcp\\suricata-mcp.py"]
      }
    }
  }

🚀 Usage

Run the MCP server locally from your AI platform (like Cursor)

When running, the server exposes the following MCP tools:

  • get_suricata_version(): Returns Suricata’s version string.
  • get_suricata_help(): Returns Suricata CLI help output.
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @Medinios/SuricataMCP --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →