Skip to main content
Glama
sandraschi

Windows Operations MCP

๐ŸชŸ Windows Operations MCP โ€” SOTA v14.1.0

๐Ÿ“– Installation Guide โ€” quick start, manual setup, and troubleshooting

Native Windows Control Plane & Data Surgery for Agentic Ecosystems

windows-operations-mcp is a specialized, industrial-grade MCP server designed to provide LLMs with a high-fidelity control plane for Windows-native operations and complex data manipulation. It bypasses generic filesystem overhead to offer deep integration with Registry, User Accounts, Task Automation, and SOTA Data Logic.


Quick Start

git clone https://github.com/sandraschi/windows-operations-mcp
cd windows-operations-mcp
just

This opens an interactive dashboard showing all available commands. Run just bootstrap to install dependencies, then just serve or just dev to start.

Manual Setup

If you don't have just installed:

Related MCP server: Claude Desktop Commander MCP

๐Ÿš€ Key Capabilities (SOTA v14.0)

๐Ÿ› ๏ธ Windows Native Control

  • Registry Management: Safe-mode editing with auto-backups, deep tree queries, and value manipulation.

  • Account Operations: Local user and group management (listing, adding, password resets).

  • Automation Hub: Scheduled task (schtasks) orchestration and WMI/CIM system introspection.

  • Permissions (ICACLS): Granular NTFS ACL management with recursive inheritance control.

  • Networking Control: Native firewall orchestration (netsh) and adapter diagnostics. [NEW]

  • Environment Surgery: Persistent User/System environment variable management with system-wide broadcasting. [NEW]

  • App Management: AppX/Store package management and automated bloatware removal. [NEW]

๐Ÿงฌ Specialized Data Surgery

  • JSON Portmanteau: Deep patching (recursive merging), fuzzy JSON extraction from unstructured text, and standards-compliant validation.

  • Archive Logic: Unified interface for ZIP, TAR, and native Windows Cabinet (.cab) expansion.

  • Safe Mode: Automatic state preservation (e.g., Registry exports) before destructive operations.

๐Ÿ›ฐ๏ธ Agentic Telemetry & Sampling

  • FastMCP 3.2.0+: Full support for ctx: Context telemetry.

  • LLM-in-the-loop: Integrated ctx.sample() for autonomous failure recovery and repair suggestions.

  • Industrial Logging: Structured async logging for high-concurrency environments.


๐Ÿ“ฆ Installation

mcp install windows-operations-mcp

Or manually via mcp_config.json:

{
  "mcpServers": {
    "windows-operations": {
      "command": "python",
      "args": ["-m", "windows_operations_mcp"],
      "env": {
        "PYTHONPATH": "C:/path/to/repo/src"
      }
    }
  }
}

๐Ÿ› ๏ธ Tool Registry Reference

Tool

Portmanteau Action

Description

windows_registry

read, write, delete, export

Native Winreg control with Safe Mode protection.

windows_accounts

list_users, manage_group, get_group_members

Local SAM database and security group auditing.

windows_services

list, start, stop, restart

Native Windows Service Control Manager orchestration.

windows_event_logs

query, clear, export, list

Comprehensive Event Log management and channel discovery.

windows_network

firewall_list, firewall_add, diag

Firewall rule management and networking diagnostics.

windows_environment

get, set, delete, list

Persistent User/System environment variable control.

windows_apps

list, uninstall

AppX/Store package auditing and uninstallation.

windows_permissions

get, grant, revoke, set_owner

ICACLS-backed ACL management.

windows_automation

list_tasks, create_task, wmi_query

System scheduling & state introspection.

windows_performance

system, process, counters

High-fidelity telemetry and performance monitoring.

json_operations

read, patch, extract_from_text

Deep JSON surgery and fuzzy parsing.

archive_management

list, extract, expand_cab

ZIP/TAR/CAB management.

agentic_operations

system_hardening, audit_report

High-level autonomous troubleshooting workflows.


๐Ÿ“œ Ethical Guardrails & Safety

  1. Safe Mode (Registry): Setting safe_mode=True (default) automatically exports Registry keys to backups/registry/ before any write/delete.

  2. Contextual Awareness: Agents are provided with real-time progress reports and warning logs for high-impact operations.

  3. Reductionist Logic: No redundant tools. We defer standard filesystem tasks to filesystem-mcp to maintain a lean, high-performance orchestration layer.


๐Ÿงช Development & Testing

Prerequisites

  • Windows 10/11 Pro

  • Python 3.10+

  • fastmcp 3.2.0

Running Tests

pytest

Author: Sandra Schipal (Vienna, AT)
License: MIT

๐Ÿ›ก๏ธ Industrial Quality Stack

This project adheres to SOTA 14.1 industrial standards for high-fidelity agentic orchestration:

  • Python (Core): Ruff for linting and formatting. Zero-tolerance for print statements in core handlers (T201).

  • Webapp (UI): Biome for sub-millisecond linting. Strict noConsoleLog enforcement.

  • Protocol Compliance: Hardened stdout/stderr isolation to ensure crash-resistant JSON-RPC communication.

  • Automation: Justfile recipes for all fleet operations (just lint, just fix, just dev).

  • Security: Automated audits via bandit and safety.

Latest Blog Posts

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/sandraschi/windows-operations-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server