windows-debug-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@windows-debug-mcpWhat caused my last blue screen?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
windows-debug-mcp
A read-only MCP server for diagnosing Windows crashes, stability problems and gaming performance.
It reads event logs, crash dumps, error reports, hardware and driver inventory, performance counters, power configuration and the registry settings that matter for games — and it has no code that can change any of them.
The read-only guarantee
This is the whole design constraint, so it is enforced in four independent layers rather than by convention:
No mutating code exists. The package never imports a write API. Files are opened in binary-read mode, registry keys with
KEY_READ, and processes are spawned with a fixed argument vector andshell=False.No passthrough. No tool accepts a command, script or argument that is executed as code. Every PowerShell fragment that runs ships inside the package; caller-supplied values are passed to it as JSON in an environment variable and are only ever used as values.
Allowlisted cmdlets. Before a script runs it is parsed and rejected unless every cmdlet in it is on a read-only allowlist. External executables are checked including their arguments —
powercfg /queryis allowed,powercfg /setactiveis not.Deny patterns. A final scan rejects redirection,
Invoke-Expression,Add-Type,.Delete(),reg add, shell escapes and environment mutation, even if they would otherwise slip past the allowlist.
Layers 3 and 4 run on every invocation, so a script edited on disk after installation is still rejected.
You do not have to take this on faith. The verify_read_only_guarantees tool
scans the installed source and reports what it found:
> verify_read_only_guarantees
{
"clean": true,
"summary": "No write APIs, mutating cmdlets or shell escapes found in the installed source.",
"findings": []
}The same audit runs as a test (tests/test_safety.py), along with about forty
cases asserting that mutating scripts and commands are refused.
Related MCP server: dump-analyzer-mcp-server
Install
Requires Python 3.10+ on Windows 10 or 11.
git clone https://github.com/emyk/windows-mcp
cd windows-mcp
pip install .Then register it with your MCP client. For Claude Desktop
(%APPDATA%\Claude\claude_desktop_config.json) or Claude Code
(.mcp.json):
{
"mcpServers": {
"windows-debug": {
"command": "windows-debug-mcp"
}
}
}Or without installing, using uv:
{
"mcpServers": {
"windows-debug": {
"command": "uvx",
"args": ["--from", "C:\\path\\to\\windows-mcp", "windows-debug-mcp"]
}
}
}Run unelevated unless you need the Security event log or bcdedit output —
everything else works as a normal user.
Tools
Crashes and the event log
Tool | What it gives you |
| Every critical and error event from the System and Application logs over a window, with the known ones explained: bug checks, unexpected restarts, WHEA hardware errors, display driver resets, disk and NTFS errors, application crashes and hangs |
| Any log, filtered by time, severity, event ID, provider or message text |
| Which logs exist and how many records they hold |
| Kernel minidumps, |
| Parses the dump header. For a kernel dump: the stop code, its four parameters and what they mean. For an application dump: the exception code, the faulting address and the module that address belongs to |
| Windows Error Reporting entries — the faulting app, module, offset and exception code, which survive even when no dump was kept |
| Why a dump was never written |
| The data behind Reliability Monitor |
| Boot and shutdown timings, and what specifically slowed them |
inspect_crash_dump reads only header structures, so it returns in
milliseconds even on a multi-gigabyte MEMORY.DMP. It also flags overlay and
anti-cheat modules loaded into a crashed process — Steam overlay, Discord,
RivaTuner, ShadowPlay, EAC, BattlEye and friends — because "disable the overlay"
resolves a large share of game crashes.
Hardware and drivers
get_system_overview, get_gpu_info, get_display_info, get_memory_modules,
get_storage_health, list_drivers, list_problem_devices, get_temperatures.
get_memory_modules calls out modules running below their rated speed or at
mismatched speeds — the usual explanation for MEMORY_MANAGEMENT and
WHEA_UNCORRECTABLE_ERROR. get_storage_health returns wear level, power-on
hours and read errors from the drive's own reliability counters.
list_problem_devices decodes Device Manager codes, so a GPU that has fallen
over reads as "Code 43: Windows stopped this device because it reported
problems" rather than as a number.
Performance
get_performance_snapshot, list_processes, get_startup_programs,
list_services, get_power_configuration, get_sleep_states,
get_network_configuration.
The performance snapshot reports the numbers that explain stutter rather than throughput: DPC and interrupt time, processor queue length, hard page faults, disk queue depth and per-engine GPU utilisation. Counters are read through the locale-independent CIM classes, so it works on non-English installations where counter paths are translated.
Settings
get_gaming_settings, get_per_application_graphics_settings,
get_security_mitigations, get_installed_software, get_windows_updates,
read_registry_key, read_registry_value.
get_gaming_settings covers Game Mode, Game Bar and background recording,
hardware-accelerated GPU scheduling, multiplane overlay, TdrDelay, variable
refresh rate and Auto HDR, the multimedia scheduler's reservations,
Win32PrioritySeparation and power throttling. Each value is explained, and
"not set" is distinguished from "set to zero" — most of these keys are absent by
default, so the difference matters.
get_security_mitigations reports VBS, memory integrity (HVCI) and the
speculative-execution mitigation overrides, which is where "everything got
slower after an update" usually leads.
Meta
collect_diagnostic_snapshot runs the common starting set in one call, with
each section independent so one unavailable data source does not lose the rest.
verify_read_only_guarantees audits the server's own source.
get_server_status reports whether the Windows data sources are reachable.
Two prompts, diagnose_blue_screen and diagnose_game_stutter, lay out an
investigation order.
What it deliberately does not do
It cannot change anything. When a setting should change, it tells you which one and leaves you to apply it.
No stack analysis. Reading the call stack out of a dump needs WinDbg and symbol resolution. This server gives you the stop code, the parameters and the faulting module, which is usually enough to know where to look next.
Win32_Productis never enumerated. Doing so triggers an MSI consistency check that can reconfigure installed products, which would not be read-only. Installed software is read from the uninstall registry keys instead.No tracing. Starting an ETW session is a write, so boot and shutdown timings come from the logs Windows already keeps.
Environment variables are not exposed, since they routinely carry tokens.
Development
pip install -e ".[dev]"
pytestThe test suite runs on any platform: the Windows-only paths are exercised through synthetic dumps and error reports, and the read-only guard is tested directly.
Licence
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceAn MCP server for read-only Linux system administration and diagnostics on RHEL-based systems via SSH. It enables users to troubleshoot remote hosts by accessing system information, services, logs, and network configurations through natural language.Last updated19272Apache 2.0
- Alicense-qualityCmaintenanceMCP server for remote Windows Crash Dump analysis. Enables AI agents to analyze crash dumps via CDB commands through standard MCP interfaces.Last updated2MIT
- Alicense-qualityBmaintenanceA read-only MCP server for Linux and macOS system administration, diagnostics, and troubleshooting, supporting remote SSH execution and multi-host management.Last updatedApache 2.0
- Alicense-qualityCmaintenanceAn MCP server for Windows process memory inspection/editing and crash dump analysis, enabling live memory scanning, patching, pointer resolution, disassembly, and offline dump examination via structured tool calls.Last updatedMIT
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
Read-only MCP server for wafergraph.com's semiconductor & AI supply-chain data: 30 tools, no auth.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/emyk/windows-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server