Security Copilot MCP Server
セキュリティコパイロットとセンチネル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を使用します。現在の統合には多くのユースケースがありますが、最も興味深いユースケースの一つは、Security Copilot KQLスキルの開発、テスト、展開をサポートすることです。


Related MCP server: Fabric MCP
特徴
Sentinel 統合: Sentinel ワークスペースに対して KQL クエリを実行します
セキュリティコパイロット管理:
既存のスキルセット/プラグインを一覧表示する
新しいスキルセット/プラグインをアップロードするか、既存のスキルセット/プラグインを更新する
Security Copilot 内でプロンプトまたはスキルを実行する
認証サポート: インタラクティブブラウザ、クライアントシークレット、マネージドIDを含む複数の認証方法
ロードマップ
次の機能が含まれます:
プロンプトブックのテストとアップデート
Defender XDRでAdvance Huntingクエリを実行する
前提条件
Python 3.8以上
Microsoft Sentinel ワークスペース
Microsoft Security Copilot アクセス
Sentinel と Security Copilot の適切な Azure 権限
インストール
リポジトリをクローンします。
git clone https://github.com/jguimera/SecurityCopilotMCPServer.git cd SecurityCopilotMCPServer依存関係をインストールします:
pip install -r requirements.txt次の構成で
.envファイルを作成します。#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
使用法
サーバーの起動
MCP サーバーを実行します。
python server.pyサーバーを起動する前にテストを実行するには:
python server.py --run-tests利用可能なツール
MCP サーバーは次のツールを提供します。
run_sentinel_query : SentinelでKQLクエリを実行する
get_skillsets : Security Copilot のスキルセットを一覧表示する
upload_plugin : スキルセット/プラグインをアップロードまたは更新する
run_prompt : Security Copilot でプロンプトまたはスキルを実行する
カーソルのMCPクライアント設定
このMCPサーバーは、お好みのクライアントからご利用いただけます。このリポジトリには、Cursorの説明書と設定ファイルが含まれています。
MCPツールを有効にするには、クライアントプロジェクト内に.cursorフォルダを追加してください。このフォルダには以下の2つのファイルが含まれています。
カーソル プロジェクト ルール (securitycopilotdev.mdc): このファイルには、エージェントがプロセスを定義し、ユーザー プロンプトを理解するのに役立つカスタム カーソル ルールがいくつか含まれています。
MCP クライアント構成 (mcp.json): Cursor を MCP サーバーに接続するファイル。
/tool_name パラメータ1="ツールパラメータの値" を使用してツールを直接呼び出すことができます。例: /run_prompt コンテンツ="最近のリスクのあるユーザーを一覧表示する"
詳細情報: https://docs.cursor.com/context/model-context-protocol#configuring-mcp-servers
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
リポジトリをフォークする
機能ブランチを作成します(
git checkout -b feature/amazing-feature)変更をコミットします (
git commit -m 'Add some amazing feature')ブランチにプッシュする (
git push origin feature/amazing-feature)プルリクエストを開く
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Related MCP Servers
- AlicenseCqualityDmaintenanceMCP server for Microsoft Sentinel. Enables access to Sentinel logs, incidents, analytics, and Entra ID data via a modular, queryable interface. Strictly non-production. Designed for use with Claude and other LLMs.4918MIT
- FlicenseNot gradedqualityDmaintenanceA Python-based MCP server that enables interaction with Microsoft Fabric APIs for managing workspaces, lakehouses, warehouses, and tables through natural language.17-
- AlicenseNot gradedqualityAmaintenanceAn MCP server that exposes a 60+ tool security and threat-intel stack to AI agents, enabling secret scanning, Sigma rule generation, ransomware lookup, OSINT, and deep research.1MIT
- AlicenseAqualityCmaintenanceA Python-based MCP server that enables AI agents to query the Microsoft 365 Roadmap programmatically.11MIT