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.
README
MachineProfile MCP
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, andvscode. - 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
buildlibrary (pip install build).
- Build wheel:
python -m build - Install wheel in environment:
pip install dist/machine_profile_mcp-1.0.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), 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。