Back to Home
RycnCDL icon

sentinel-mcp-server

Verified Safe

by RycnCDL

Overview

Provides a Model Context Protocol (MCP) server for Microsoft Sentinel to enable natural language SOC operations and multi-tenant security management through Python and PowerShell tools.

Installation

Run Command
python -m src

Environment Variables

  • AZURE_TENANT_ID
  • AZURE_CLIENT_ID
  • AZURE_CLIENT_SECRET
  • SENTINEL_MANAGER_SCRIPT

Security Notes

The server uses a PowerShell Bridge to execute local and remote scripts, which is a powerful capability. While the implementation includes whitelisting of PowerShell functions and parameter sanitization to mitigate command injection risks, the underlying `subprocess.run` and `pypsrp` for remote execution carry inherent risks if the environment is not properly secured. Remote PowerShell execution with `pypsrp` by default disables certificate validation (`cert_validation=False`), which is noted as a development/test setting and should be set to `True` in production. Sensitive credentials are managed via environment variables, which is a good practice, and explicit warnings against hardcoding them are present.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-29

Tags

Microsoft SentinelMCPSOC AutomationAzureMulti-tenant