Skip to content
Conduit

mcp server

system-admin-mcp

Windows system administration through AI with file recovery, security, and diagnostics

sandraschi/system-admin-mcpcommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

Before you start

  • uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "system-admin-mcp": {
      "command": "uvx",
      "args": [
        "system-admin-mcp"
      ]
    }
  }
}

same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12

Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs

README

synced Oct 21, 2026

System Admin MCP

📖 Installation Guide — quick start, manual setup, and troubleshooting

Windows system administration, through AI. File recovery, security, disk maintenance, diagnostics, services, processes — all accessible via MCP (Claude Desktop, Cursor, etc.) and a React web dashboard.

Download the installer: latest release (system-admin-mcp-0.4.0-setup.exe) — no Python needed, backend embedded. For Claude Desktop without installing: attach system-admin-mcp-0.4.0.mcpb from the same release.

Claude Desktop only — one-line install of the latest bundle:

irm https://github.com/sandraschi/system-admin-mcp/releases/latest/download/install.ps1 | iex

⚠️ Administrator privileges required. Disk operations, service management, file recovery, and permission changes need elevation. Run your terminal as Administrator before starting the server.

// Claude Desktop — from source (no registry package; see INSTALL.md):
{ "mcpServers": { "system-admin-mcp": {
  "command": "uv",
  "args": ["--directory", "D:\\Dev\\repos\\system-admin-mcp", "run", "system-admin-mcp"]
} } }

Quick Start

git clone https://github.com/sandraschi/system-admin-mcp
cd system-admin-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. Frontend deps install via Bun 1.3+ (bun.lock committed); Node 22+ stays for the Vite/Tauri CLIs.

Manual Setup

If you don't have just installed:

Run terminal AS ADMINISTRATOR first, then:

git clone https://github.com/sandraschi/system-admin-mcp
cd system-admin-mcp
uv sync --all-extras
uv run system-admin-mcp         # stdio mode (for MCP clients like Claude Desktop)
uv run system-admin-mcp --web   # HTTP mode on :10861 (web dashboard backend)

Verify: Invoke-WebRequest http://127.0.0.1:10861/api/health -UseBasicParsing → 200. See INSTALL.md for prerequisites, installer/MCPB options, and troubleshooting.

What You Can Do

AreaOperations
System HealthCPU/RAM/disk metrics, event logs, hardware inventory, installed software
File RecoveryScan NTFS MFT, recover deleted files, validate integrity
SecurityView/set/audit NTFS permissions, take ownership, network port audit, Defender/VPN/Tailscale posture, red-button Airgap
DisksSMART health, defrag (HDD), TRIM (SSD), cleanup, folder size analysis
ServicesList/start/stop, change startup type, paginated
ProcessesList/sort/analyze/kill, paginated, sortable by CPU/Memory/Name/PID
Startup & TaskbarManage startup programs, toggle autohide, find blockers, taskbar buttons + tray icons with autostart flags
AI ChatLocal (Ollama/LM Studio) + 13 cloud providers via backend proxy, streaming, resident-first GPU placement
SafetyRead-only mode (SYSTEMADMIN_READ_ONLY=1), mutation audit log, confirm-gated Airgap (see docs/SECURITY.md)
AgenticLet AI autonomously diagnose and fix issues (SEP-1577 sampling)

All operations go through a single system_admin tool — one tool, 40+ operations.


FastMCP 3.4 Capabilities

FeatureWhat it provides
ctx.sample() (SEP-1577)Server-side LLM calls for autonomous diagnosis. Tools agentic_system_workflow and autonomous_system_troubleshooter use ctx.sample() to orchestrate multi-step diagnostics without client round-trips — the server borrows the client LLM to interpret system data and recommend actions.
Prompts (4 templates)Registered via @mcp.prompt(): system_diagnostics_expert, security_hardening_expert, system_troubleshooter, volume_maintenance_expert. Each has parameterized focus modes (e.g. performance vs events, ownership vs audit). Clients inject them as system instructions.
Skills (skill://)SkillsDirectoryProvider exposes skill://system-admin-expert/SKILL.md — a portable expertise document with safe-mode patterns, diagnostic sequences, and SEP-1577 workflow recipes. Discoverable via resources/list.
Prefab UI (4 cards)@mcp.tool(app=True) tools returning ToolResult with structured_content=PrefabApp(...): system_health_card (CPU/RAM/disk), top_processes_card (sorted by CPU/memory), list_services_card (filtered services), volume_status_card (all volumes with bar charts). Rendered natively by capable hosts (Claude Desktop side-panel).
CodeModeBM25 discovery for agentic tool selection. Enabled via --agentic flag.
SkillsDirectoryProviderRegisters skill:// resources from skills/ directory.
Dual transportstdio (default for Claude Desktop) + streamable-http (MCP_TRANSPORT=http).

Web Dashboard

A 20-page React SPA on ports 10860 (frontend) / 10861 (backend):

just web              # Backend API
just web-frontend     # Frontend dev server

Pages: Dashboard, Inbox (attention feed), Status, Processes (paginated, sortable), Services (paginated), Taskbar (buttons + tray + autostart), Volumes, File Owner, File Recovery, Logs, Tools, Apps, Elevated, Chat, Settings, Help.


Justfile Commands

CommandWhat it does
just devStart MCP server (Claude Desktop)
just serveStart MCP via HTTP
just testRun tests
just lintCheck code quality (ruff + biome)
just fixAuto-fix everything
just certifyFull gates: ruff + format + pyright + pytest + frontend build + biome
just mcpb-packBuild MCPB bundle
just buildInstall dependencies
just webStart FastAPI backend on 10861
just web-frontendStart Vite frontend on 10860

Stack

React 19 + Vite 7 + TailwindCSS 3 + Radix UI + Lucide + TanStack Query + Zustand 5 (LLM/GPU store) + React Router 7. Backend: FastAPI + FastMCP 3.4 (fastmcp[tasks]>=3.4.4,<4) on Python 3.12+, uv managed. No Bootstrap, no jQuery, no Redux.

Environment

VarDefaultEffect
SYSTEMADMIN_READ_ONLY=1offMutation kill switch
SYSTEMADMIN_LLM_KEYSTOREdata/llm_keys.json0600 LLM key store
MCP_TRANSPORT=httpstdioStreamable-HTTP transport
WEBAPP_PORT / PORT10861Backend port

Full install + troubleshooting: INSTALL.md.


Project Map

├── AGENTS.md           # Instructions for AI agents
├── justfile            # Task runner (SOTA Industrial Dashboard)
├── pyproject.toml      # Python project config (FastMCP 3.4)
├── src/system_admin_mcp/
│   ├── app.py          # FastMCP instance + lifespan (skills, prefabs)
│   ├── server.py       # FastAPI backend (20+ REST endpoints)
│   ├── transport.py    # stdio / streamable-http dual transport
│   ├── prompts.py      # 4 @mcp.prompt() templates
│   ├── tools/
│   │   ├── portmanteau.py          # system_admin (40+ ops dispatcher)
│   │   ├── implementations.py      # File recovery, ACLs, disk, WMI
│   │   ├── services_and_tasks.py   # Services, processes, startup, taskbar
│   │   ├── agentic_system_workflow.py  # ctx.sample() workflows
│   │   ├── monitoring.py           # Watchdog file watcher
│   │   ├── system_ops.py           # Standalone tools
│   │   └── prefab/                 # 4 Prefab UI cards
│   ├── elevated_service/           # Named-pipe elevated bridge
│   └── user_bridge/                # Service communication client
├── web_sota/           # React 19 + Vite dashboard
├── mcpb/               # MCPB packaging (v0.2 manifest)
├── skills/             # skill://system-admin-expert/SKILL.md
└── tests/              # Pytest suite

Docs

DocumentFor
QuickstartEnd users — install, configure, run
API ReferenceDevelopers — REST endpoints
DevelopmentContributors — hacking on the server
AGENTS.mdAI agents — architecture & patterns

Built by Sandra Schipal in Vienna. MIT.

↑↓ navigate openesc close