JS

jguimera/securitycopilotmcpserver

Developer tools

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

23 stars 9 forks 품질 58 트렌드 0MIT

사이트맵 Security Copilot, Sentinel 및 기타 도구와 통합되는 서버 (미래). 그것은 개발, 테스트 및 업로드 보안 Copilot artifacts의 과정을 강화합니다.

개요

Azure Identity Authentication을 사용하여 Microsoft Security Copilot 및 Microsoft Sentinel과 통합하는 FastMCP 라이브러리를 사용하여 Python 기반 MCP 서버. 이 프로젝트는 MCP 서버를 구현합니다. - Microsoft Sentinel에 대한 KQL 쿼리를 실행 - Microsoft Security Copilot Skillets/plugins 업로드/업데이트 - Microsoft Security Copilot의 실행 프롬프트 및 기술 서버는 개발 환경과 Microsoft Security Copilot 사이의 교량으로 작동하며 테스트, 배포 및 기술 및 플러그인 실행을 허용합니다. 그것은 MCP 서버를 위한 수송 층으로 SSE를 이용합니다. 현재 통합에 대한 많은 사용 사례가 있습니다. 가장 흥미로운 것들 중 하나는 개발, 테스트 및 보안 Copilot KQL 기술의 배포를 지원하는 것입니다.

개요(AI 번역)

Azure Identity Authentication을 사용하여 Microsoft Security Copilot 및 Microsoft Sentinel과 통합하는 FastMCP 라이브러리를 사용하여 Python 기반 MCP 서버.

개요

이 프로젝트는 MCP 서버를 구현합니다.

  • Microsoft Sentinel에 대한 KQL 쿼리 실행
  • Microsoft Security Copilot Skillets/plugins 업로드/업데이트
  • Microsoft Security Copilot의 신속한 및 기술 실행

서버는 개발 환경과 Microsoft Security Copilot 사이의 교량으로 작동하며 테스트, 배포 및 기술 및 플러그인 실행을 허용합니다. 그것은 MCP 서버를 위한 수송 층으로 SSE를 이용합니다. 현재 통합에 대한 많은 사용 사례가 있습니다. 가장 흥미로운 것들 중 하나는 개발, 테스트 및 보안 Copilot KQL 기술의 배포를 지원하는 것입니다.

특징

  • **Sentinel 통합 **: Sentinel workspace에 대한 KQL 쿼리 수행
  • Security Copilot 관리:
  • 기존 스킬/플러그인 목록
  • 새로운 업로드 또는 기존 스킬렛/플러그인 업데이트
  • Security Copilot 내의 프롬프트 또는 기술을 실행 -Authentication Support: 대화형 브라우저, 클라이언트 비밀, 관리된 정체성을 포함한 여러 인증 방법

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

README

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

Security Copilot and Sentinel MCP Server

A Python-based MCP server using FastMCP library that provides integration with Microsoft Security Copilot and Microsoft Sentinel using Azure Identity Authentication.

Overview

This project implements an MCP server that enables:

  • Running KQL queries against Microsoft Sentinel
  • Uploading/Updating Microsoft Security Copilot skillsets/plugins
  • Running prompts and skills in Microsoft Security Copilot

The server acts as a bridge between development environments and Microsoft Security Copilot, allowing for testing, deployment, and execution of skills and plugins. It uses SSE as transport layer for the MCP server. There are many use cases for the current integration. One of the most interesting ones is to support the development, test and deployment of Security Copilot KQL Skills.

Features

  • Sentinel Integration: Execute KQL queries against your Sentinel workspace
  • Security Copilot Management:
    • List existing skillsets/plugins
    • Upload new or update existing skillsets/plugins
    • Run prompts or skills within Security Copilot
  • Authentication Support: Multiple authentication methods including interactive browser, client secret, and managed identity

Roadmap

The next features will include:

  • Promptbook test and Update
  • Run Advance Hunting queries in Defender XDR

Prerequisites

  • Python 3.8+
  • Microsoft Sentinel workspace
  • Microsoft Security Copilot access
  • Appropriate Azure permissions for Sentinel and Security Copilot

Installation

  1. Clone the repository:

    git clone https://github.com/jguimera/SecurityCopilotMCPServer.git
    cd SecurityCopilotMCPServer
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Create a .env file with the following configuration:

    #Add App Reg to use ClientID and Secret authentication
    #AZURE_TENANT_ID=your_tenant_id
    #AZURE_CLIENT_ID=your_client_id
    #AZURE_CLIENT_SECRET=your_client_secret
    SENTINEL_SUBSCRIPTION_ID=your_subscription_id
    SENTINEL_RESOURCE_GROUP=your_resource_group
    SENTINEL_WORKSPACE_NAME=your_workspace_name
    SENTINEL_WORKSPACE_ID=your_workspace_id
    #Authentication Options: interactive, client_secret
    AUTHENTICATION_TYPE=interactive
    

Usage

Starting the Server

Run the MCP server:

python server.py

To run tests before starting the server:

python server.py --run-tests

Available Tools

The MCP server provides the following tools:

  1. run_sentinel_query: Execute KQL queries in Sentinel
  2. get_skillsets: List skillsets in Security Copilot
  3. upload_plugin: Upload or update a skillset/plugin
  4. run_prompt: Run a prompt or skill in Security Copilot

MCP Client Config for Cursor

You can use this MCP server from the Client of your choice. In this repo you can find intructions and config files for Cursor.

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →