
jguimera/securitycopilotmcpserver
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCPの特長 セキュリティコピロ、セニテル、その他のツール(将来)と統合するサーバー。 セキュリティコピロットアーティファクトの開発、テスト、アップロードのプロセスを強化します.
概要
Azure Identity Authentication を使用して、Microsoft Security Copilot と Microsoft Sentinel との統合を実現する FastMCP ライブラリを使用した Python ベースの MCP サーバー。 このプロジェクトでは、MCP サーバーを実装し、次の機能を有効にします。 - Microsoft Sentinel に対する KQL のクエリを実行 - Microsoft Security Copilot のアップロード/更新 - Microsoft Security Copilot のプロンプトとスキルの実行 サーバは、開発環境とMicrosoft Security Copilot 間でブリッジとして機能し、テスト、デプロイ、スキルとプラグインの実行を可能にします。 MCP サーバーの搬送層としてSSEを使用します。 現在の統合には多くのユースケースがあります。 最も興味深いのは、セキュリティコピロットKQLスキルの開発、テスト、展開をサポートすることです.
概要(AI 翻訳)
Azure Identity Authentication を使用して、Microsoft Security Copilot と Microsoft Sentinel との統合を実現する FastMCP ライブラリを使用した Python ベースの MCP サーバー。
概要
このプロジェクトでは、MCP サーバーを実装し、次の機能を有効にします。
- Microsoft Sentinel に対する KQL クエリの実行
- Microsoft Security Copilotのスキルセット/プラグインのアップロード/アップロード
- Microsoft Security Copilot の実行プロンプトとスキル
サーバは、開発環境とMicrosoft Security Copilot 間でブリッジとして機能し、テスト、デプロイ、スキルとプラグインの実行を可能にします。 MCP サーバーの搬送層としてSSEを使用します。 現在の統合には多くのユースケースがあります。 最も興味深いのは、セキュリティコピロットKQLスキルの開発、テスト、展開をサポートすることです。
##特徴
- Sentinelの統合: Sentinel のワークスペースに対して KQL のクエリを実行
- セキュリティコピロット管理:
- 既存のスキルセット/プラグインのリスト
- 既存のスキルセット/プラグインをアップロードまたは更新する
- セキュリティコピロー内でプロンプトやスキルを実行 -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
-
Clone the repository:
git clone https://github.com/jguimera/SecurityCopilotMCPServer.git cd SecurityCopilotMCPServer -
Install dependencies:
pip install -r requirements.txt -
Create a
.envfile 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:
- run_sentinel_query: Execute KQL queries in Sentinel
- get_skillsets: List skillsets in Security Copilot
- upload_plugin: Upload or update a skillset/plugin
- 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.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →