Defender-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEFENDER_ALLOWED_PATHS | No | Comma-separated absolute allowlist for `scan_file`; use `*` to disable restriction. | current working directory |
| DEFENDER_POWERSHELL_PATH | No | PowerShell executable. | powershell.exe |
| DEFENDER_EXECUTION_POLICY | No | PowerShell execution policy (`Bypass` is opt-in if explicitly set). | RemoteSigned |
| DEFENDER_STATUS_TIMEOUT_MS | No | Status query timeout in ms (clamped to 1000..3600000). | 30000 |
| DEFENDER_FILE_SCAN_TIMEOUT_MS | No | File scan timeout in ms (clamped to 1000..3600000). | 60000 |
| DEFENDER_QUICK_SCAN_TIMEOUT_MS | No | Quick scan timeout in ms (clamped to 1000..3600000). | 600000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scan_fileC | Scan a single file using Windows Defender |
| quick_scanB | Run a Windows Defender quick scan |
| get_statusB | Get Windows Defender antivirus status |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
quick_scan and scan_file both trigger scans but are distinguished by scope (whole-system quick scan vs single file), and get_status is clearly a read-only operation. Boundaries are understandable, though the two scan tools could momentarily be confused without reading descriptions.
All three names are snake_case with a verb-first reading (quick_scan, get_status, scan_file). quick_scan is a slight deviation in that it leads with an adjective rather than a clean verb_noun form, but overall the pattern is predictable.
Three tools is a minimal but focused surface for antivirus management, and each earns its place. However, the set feels thin for a domain with obvious adjacent operations (updates, history, remediation), so it sits on the low edge of well-scoped.
The surface covers scanning and status only; there is no way to update signatures, view scan/threat history, quarantine or restore items, or toggle real-time protection. These are significant gaps that would force an agent to dead-end on common Defender workflows.