MachineProfile
БесплатноНе проверенEnables AI assistants to retrieve structured information about the local Windows machine, including system specifications, resource health, developer tools, and
Описание
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.
README
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 (v1.2.0 Capabilities):
- System & CPU Profile: Reports Windows Edition, version, build number, boot uptime, and CPU hardware details (model, vendor, cores, logical processors, and frequency) alongside OS-visible CPU instruction set support checks (AVX, AVX2, and AVX512F).
- 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 common runtimes (
python,git,node,docker,java,vscode). - AI Environment & GPU Profile: Queries GPU adapters (integrated/discrete), local package installations (
torch,onnxruntime), local Python virtualenvs, and passive file-presence evidence of key accelerator runtimes (CUDA Driver API, D3D12, and system DirectML DLL libraries). - GPU Deduplication: Implements active/stale registry display adapter filtering and PnP-based hardware identity mapping to prevent stale/duplicate entries (e.g. Remote Display Adapters).
- Offline Model Discovery: Scans local directory tags and manifests for offline Ollama models (works even when the daemon is stopped) and LM Studio GGUF models (with depth/file bounds, quantization inference, and junction/symlink protection).
- Docker Status & AI Containers: Reports Docker CLI version and daemon connection status, alongside running AI-related container details (e.g.,
ollama,vllm,localai) via a strict image repository allowlist. - Privacy & Path Anonymization: Supports path redaction when
MACHINE_PROFILE_ANONYMIZE=trueis enabled, sanitizing active-user profile folders (e.g.,C:\Users\LocalUser) while leaving general usernames intact. - Network Topology: Gathers DNS servers, gateway IPs, local addresses, and checks internet reachability.
- Installed Developer Tools: Exposes a summary checklist of local runtime availability.
- Workload Fit Assessment: Deterministically estimates local hardware backend compatibility (fits, marginal, does_not_fit) based on model parameter count, quantization, and real-time host RAM/VRAM telemetry.
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
buildlibrary (pip install build).
- Build wheel:
python -m build - Install wheel in environment:
pip install dist/machine_profile_mcp-1.2.0-py3-none-any.whl - 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), local Ollama model files, and passive accelerator evidence. |
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 |
assess_workload_fit |
Estimates model memory footprint and deployment compatibility (fits, marginal, does_not_fit) on local GPU/CPU hardware. | parameter_count_billions: float, quantization: str, bits_per_parameter: float (optional), context_length: int (optional), target_backend: str (default "auto"), safety_margin_percent: float (default 20.0) |
WorkloadFitResponseModel |
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, local ML packages, and passive runtime library evidence.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.
4. Workload Fit Usage & Limitations
The assess_workload_fit tool deterministically estimates whether a local machine can run a specific AI model based on parameter count, quantization bits, and current system resource constraints.
Usage Example (MCP Tool Invocation)
{
"name": "assess_workload_fit",
"arguments": {
"parameter_count_billions": 7.0,
"quantization": "q4",
"target_backend": "auto"
}
}
Evidence and Fit Classifications
- Observed Metrics:
- Real-time host RAM usage (
psutil) and VRAM occupancy (nvidia-smitelemetry). - Registry-based total GPU capacity and active display status.
- Passive files existence for runtime libraries (
nvcuda.dll,d3d12.dll,directml.dll).
- Real-time host RAM usage (
- Estimated Footprint:
- Raw model weights:
ceil(parameters × 10^9 × bits / 8) - Runtime overhead:
ceil(max(1 GiB, raw_weight × 0.20)) - Safety margin buffer:
ceil(required × safety_margin_percent / 100)
- Raw model weights:
- Derived Classifications:
fits: Required memory with safety margin fits inside current free space.marginal: Required memory fits, but exceeds the safety margin buffer limit.does_not_fit: Footprint exceeds currently available memory.unknown: Telemetry data is unavailable (e.g. registry-only GPUs).
Important Limitations
- Estimates Only: Workload fit classifications are mathematical estimates, not guaranteed deployment execution fits.
- Quantization Idealization: Bits-per-parameter mappings do not model block scales, mixed-precision configurations, or framework storage structures.
- Excluded memory: Context length is excluded from the math estimates (KV-cache and activations are not modeled).
- No multi-GPU Pooling: VRAM capacities of multiple GPUs are not aggregated.
- Passive Discovery: File presence checks do not verify actual driver or device usability.
Tested Environment & Evidence-Based Compatibility
- Windows 11 Pro (25H2, Build 26200) with Intel CPU: 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).
- GPU Duplicate Adapter Fix: Validated via unit tests and local simulation; physical revalidation on affected peer machine is pending.
- Windows 10 physical validation: Pending (Verified by unit test mock layers only).
- AMD hardware validation: Pending (Verified by unit test mock layers only).
- Real LM Studio installation validation: Pending (Verified by unit test mock layers only).
- Active Docker AI-container validation: Pending (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.
Установка MachineProfile
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/SurathDurgaprasad/machine-profile-mcpFAQ
MachineProfile MCP бесплатный?
Да, MachineProfile MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для MachineProfile?
Нет, MachineProfile работает без API-ключей и переменных окружения.
MachineProfile — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить MachineProfile в Claude Desktop, Claude Code или Cursor?
Открой MachineProfile на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare MachineProfile with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
