MachineProfile MCP

MachineProfile MCP

Enables AI assistants to retrieve structured information about the local Windows machine, including system specifications, resource health, developer tools, and AI environment, all through a secure, read-only interface.

Category
Visit Server

README

MachineProfile MCP

License: MIT MCP Protocol

MachineProfile MCP is a read-only Model Context Protocol (MCP) server that gives AI assistants structured information about the local Windows machine they are running on.

Instead of exposing raw event logs, administrative service editors, or destructive command utilities, this server queries system specifications, resource loads, developer tooling paths, and local AI environments, providing structured machine diagnostics securely.

[!IMPORTANT] Read-Only Security Model: This server is strictly read-only. It performs no write operations, registry updates, process terminations, package installations, or directory modifications. It runs entirely in standard user space and does not require administrator privileges.


What It Does & Does Not Do

What It Does:

  • System Profile: Reports Windows Edition, version, build number, and boot uptime.
  • Machine Health: Computes a heuristic 0-100 score indicating resource bottlenecks.
  • Running Processes: Lists processes consuming the highest CPU or Memory.
  • Storage Summary: Maps capacity, file system, and free space of mounted partitions.
  • Developer Environment: Locates installation paths and versions of python, git, node, docker, java, and vscode.
  • AI Environment: Queries GPU hardware adapters, local Ollama models, PyTorch, and local virtualenvs.
  • Network Topology: Gathers DNS servers, gateway IPs, local addresses, and checks internet reachability.
  • Installed Developer Tools: Exposes a summary checklist of local runtime availability.

What It Does NOT Do:

  • No Administrative Privileges Required: Avoids UAC prompts and administrative elevation.
  • No Administrative Actions: Will not terminate tasks, restart interfaces, or edit registries.
  • No Event Log or BSOD Analysis: Designed for profile scanning and state verification, not registry repair.

Installation & Distribution

This project is packaged as a standard Python package exposing the console command machine-profile.

Prerequisites

  • Operating System: Windows OS (v1 Windows-only)
  • Python Runtime: Python 3.10 - 3.13 (CI verified on Windows runners) and Python 3.14.4 (locally tested on Windows host)

Option A: Clean Launch via uvx (No Installation Needed)

If using uv (recommended modern Python runner), the MCP client can run it directly:

  • Prerequisites: uv must be installed.
  • Claude Desktop Configuration:
    {
      "mcpServers": {
        "machine-profile": {
          "command": "uvx",
          "args": [
            "--from",
            "git+https://github.com/SurathDurgaprasad/machine-profile-mcp.git",
            "machine-profile"
          ]
        }
      }
    }
    

Option B: Local User Space Isolation via pipx

Installs the server in an isolated virtual environment and exposes the console command machine-profile globally.

  • Prerequisites: Python (3.10+) and pipx must be installed.
  • Command: pipx install git+https://github.com/SurathDurgaprasad/machine-profile-mcp.git
  • Claude Desktop Configuration:
    {
      "mcpServers": {
        "machine-profile": {
          "command": "machine-profile"
        }
      }
    }
    

Option C: Build and Install Wheel manually

For offline systems, build the package distribution wheel and install it in your environment.

  • Prerequisites: Python (3.10+) and standard Python build library (pip install build).
  1. Build wheel:
    python -m build
    
  2. Install wheel in environment:
    pip install dist/machine_profile_mcp-1.0.0-py3-none-any.whl
    
  3. Claude Desktop Configuration:
    {
      "mcpServers": {
        "machine-profile": {
          "command": "python",
          "args": [
            "-m",
            "windows_diagnostics_mcp.server"
          ]
        }
      }
    }
    

MCP Interface Catalog

1. MCP Tools

All tools return structured JSON payloads with performance metadata (duration_ms and status: OK | PARTIAL | ERROR).

Tool Name Description Parameters Returns
system_summary Summary of Windows Edition, Version, Build Number, Hostname, and Uptime. None SystemSummaryModel
machine_health Rule-based health scoring (0-100), warnings, recommendations, and top consumer processes. None MachineHealthModel
developer_environment Location and version status of common tools (python, git, node, docker, java, vscode). None DevEnvStatusModel
installed_tools Simplified check matrix (installed/version status) of dev tools including ollama. None dict[str, ToolInfoModel]
ai_environment Details about GPU hardware, local packages (torch, onnxruntime), and local Ollama model files. None AIEnvStatusModel
storage_summary Partition mappings, free space, and capacity utilization of local drives. None StorageSummaryModel
running_processes Active process snapshots sorted by highest CPU and memory utilization. limit: int (default 10) ProcessListModel
network_summary DNS servers, gateway interface, local IPs, and outbound internet connectivity test. None NetworkSummaryModel

2. MCP Resources

Exposes read-only snapshots of the host system's current state with MIME type application/json.

  • windows://system: Returns a snapshot of system specifications and boot uptime.
  • windows://developer: Returns a snapshot of installed development runtimes and IDEs.
  • windows://ai: Returns a snapshot of GPU, Ollama state, and local ML packages.
  • windows://network: Returns a snapshot of network routing, IPs, and DNS servers.

3. MCP Prompts

  • analyze_machine: An instruction prompt that directs the LLM to call the registered diagnostic tools dynamically to compile a structured machine report, saving token context and avoiding unnecessary query overhead.

Tested Environment & Evidence-Based Compatibility

  • Windows 11 Pro (25H2, Build 26200): Verified on real environment (Tested on active host).
  • Intel Arc(TM) 140V GPU: Verified on real hardware (Successfully parsed on host registry).
  • Non-Admin User space: Verified on real environment (Tested UAC-free).
  • Windows 10 / Windows Server / AMD GPUs: Not Yet Tested (Verified by unit test mock layers only).

Testing & Verification

  • Run unit tests:
    pytest windows_diagnostics_mcp/tests/test_diagnostics.py -v
    
  • Run E2E protocol test:
    python -m windows_diagnostics_mcp.tests.e2e_mcp_test
    

License

This project is licensed under the MIT License - see the LICENSE details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured