
menkw/defender-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Microsoft Defender XDR 용 MCP 서버 - 사건, 경고, 기계, 고급 사냥 및 AI 조수에 대한 위협 인텔리전스
개요
Microsoft Defender XDR 및 Microsoft Defender for Endpoint. AI Assistants(Claude, Kilo, etc.)를 사용해서 자연어를 이용한 보안 환경과 상호 작용할 수 있습니다. - MTP API (api.security.microsoft.com) 및 WDATP API (api.securitycenter.microsoft.com)에 대한 별도의 Azure AD 토큰 - - 단일 KQL 쿼리의 쿼리 엔드포인트, 정체성, 이메일 및 클라우드 앱 데이터 - 목록, get, 전체 경고 및 증거 세부 사항이있는 업데이트 사고 - - - 고립 된 기계, 실행 AV 검사, 조사 패키지를 수집, 실시간 응답을 실행 - - 생성, 수입, 전송, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC, IPC - 18.0.0 이상 - (Microsoft Entra ID) 권한으로 부여 된 다음 API 권한 ( 위임되지 않음) : - 고급화. 읽기. 모든 - 법인. 읽기.
개요(AI 번역)
A ** 모델 Context Protocol (MCP) 서버 ** Microsoft Defender XDR 및 Microsoft Defender for Endpoint. AI Assistants(Claude, Kilo, etc.)를 사용해서 자연어를 이용한 보안 환경과 상호 작용할 수 있습니다.
특징
- ** ~ 45 도구 ** 9 보안 카테고리의
- Dual-token 인증 - MTP API (
api.security.microsoft.com]) 및 WDATP API ([T1]])에 대한 별도의 Azure AD 토큰 - **XDR 크로스 워크로드 사냥 ** - 단일 KQL 쿼리에 대한 쿼리 엔드 포인트, 정체성, 이메일 및 클라우드 앱 데이터
- Incident Management - 목록, 가져오기, 전체 알림 및 증거 세부 사항 업데이트
- **장치 응답 작업 ** - 격리 기계, AV 스캔을 실행, 조사 패키지를 수집, 실시간 응답을 실행
- Threat Intelligence - IOC 지표 생성, 수입 및 관리 (파일 해시, IP, 도메인, URL)
- ** 취약점 관리 ** - CVE 조회, 소프트웨어 재고, 보안 권고, 구제 추적
도구 카테고리
| 카테고리 | 도구 | Description |—||||| | Incidents | 4 | 상품 일람표, 알림, 업데이트 알림 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Defender-MCP
A Model Context Protocol (MCP) server for Microsoft Defender XDR and Microsoft Defender for Endpoint. Enables AI assistants (Claude, Kilo, etc.) to interact with your security environment using natural language — investigating incidents, hunting threats, managing devices, and querying vulnerabilities.
Features
- ~45 tools across 9 security categories
- Dual-token authentication — separate Azure AD tokens for the MTP API (
api.security.microsoft.com) and the WDATP API (api.securitycenter.microsoft.com) - XDR cross-workload hunting — query endpoint, identity, email, and cloud app data in a single KQL query
- Incident management — list, get, update incidents with full alert and evidence detail
- Device response actions — isolate machines, run AV scans, collect investigation packages, execute live response
- Threat intelligence — create, import, and manage IOC indicators (file hashes, IPs, domains, URLs)
- Vulnerability management — CVE lookup, software inventory, security recommendations, remediation tracking
Tool Categories
| Category | Tools | Description |
|---|---|---|
| Incidents | 4 | List, get, get alerts, update incidents |
| Alerts | 5 | List, get, update, batch-update, create alerts |
| Machines | 16 | Get devices, isolate, AV scan, restrict code execution, live response |
| Advanced Hunting | 2 | WDATP KQL query + XDR cross-workload KQL query |
| Entities | 11 | File hashes, domains, IPs, user alerts and machines |
| Indicators (IoC) | 5 | Get, create, import, delete threat indicators |
| Machine Actions | 12 | Investigation packages, live response, automated investigations |
| Scoring | 5 | Exposure score, secure score, AV health, device health |
| Vulnerabilities | 17 | CVEs, software inventory, recommendations, remediation activities |
Prerequisites
- Node.js 18.0.0 or higher
- Azure AD App Registration (Microsoft Entra ID) with the following API permissions granted as Application permissions (not delegated):
Required API Permissions
api.security.microsoft.com (Microsoft Threat Protection):
AdvancedHunting.Read.AllIncident.Read.AllIncident.ReadWrite.All
WindowsDefenderATP (Microsoft Defender for Endpoint):
Alert.Read.AllAlert.ReadWrite.AllMachine.Read.AllMachine.ReadWrite.AllMachine.IsolateMachine.LiveResponseMachine.ScanTi.Read.AllTi.ReadWrite.AllVulnerability.Read.AllSoftware.Read.AllScore.Read.AllSecurityRecommendation.Read.All
Important: All permissions must be Application type and require admin consent.
Setup
-
Clone the repository:
git clone https://github.com/MenkW/Defender-MCP.git cd Defender-MCP -
Install dependencies:
npm install -
Configure credentials:
cp .env.example .envEdit
.envand fill in your Azure AD app registration details:
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"defender": {
"command": "node",
"args": ["C:/path/to/Defender-MCP/dist/index.js"],
"env": {
"DEFENDER_TENANT_ID": "your-tenant-id",
"DEFENDER_CLIENT_ID": "your-client-id",
"DEFENDER_CLIENT_SECRET": "your-client-secret"
}
}
}
}