PC-health-checking-MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PC-health-checking-MCPHow much CPU am I using?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🖥️ PC Health Checker Assistant using MCP
An AI-powered PC Health Assistant built using the Model Context Protocol (MCP), LangChain, and Google Gemini. Developed a MCP server from scratch using the official Python MCP SDK to enable AI-agent interaction with local system resources, demonstrating the complete MCP client-server architecture.
Quick Preview
Related MCP server: Desktop Commander MCP Server
Project Objective
The objective of this project is to demonstrate how an AI agent can communicate with a custom-built MCP Server to access operating system information through standardized tools.
This project serves as a beginner-friendly implementation of:
Model Context Protocol (MCP)
MCP Server
MCP Client
LangChain Agents
Gemini Tool Calling
AI + System Integration
Technology Stack
Category | Technology |
Programming Language | Python 3.12 |
AI Framework | LangChain |
LLM | Google Gemini 3,1 Flash Lite |
Protocol | Model Context Protocol (MCP) |
MCP SDK | Official MCP Python SDK |
System Monitoring | psutil |
OS Information | platform |
Environment Variables | python-dotenv |
Features
Check CPU Usage
Check Memory Usage
Check Disk Usage
Retrieve Operating System Information
Natural Language Interaction
Custom MCP Server built from scratch
LangChain Agent integrated with Gemini
Modular architecture
Project Architecture
User
│
▼
Natural Language Query
│
▼
main.py
│
▼
LangChain Agent
│
▼
Google Gemini
│
Chooses Appropriate Tool
│
▼
LangChain Tool Wrapper
│
▼
MCP Client
│
═══════════════════════════════════════
Model Context Protocol
═══════════════════════════════════════
│
▼
MCP Server
│
▼
System Tools
│
▼
psutil / platform
│
▼
Operating SystemExample Conversation
User
Show me the operating system information.Assistant
Operating System : Linux
OS Version : 7.0.0-28-generic
Architecture : x86_64
CPU Cores : 2
Logical Processors : 4
Python Version : 3.12.3Learning Outcomes
By completing this project I have understand:
What is Model Context Protocol (MCP)
How MCP Server works
How MCP Client communicates with an MCP Server
How LangChain integrates with MCP
How Gemini performs tool selection
Building AI agents with external tools
Designing modular AI architectures
Installation
Clone the Repository
git clone https://github.com/Parisa-Reza/PC-health-checking-MCP.git
cd PC-health-MCPCreate Virtual Environment
Linux
python3 -m venv venv
source venv/bin/activateInstall Dependencies
pip install -r requirements.txtCreate Environment File
Create a file named
.envAdd your Gemini API key.
Running the Project
Run the application.
python main.pyExample:
You:
How much CPU am I using?License
This project is intended for educational and learning purposes.
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
LLM Orchestration Agent (Mcp)
- EngramOAuthapp.getengram
Persistent, verbatim, searchable memory for AI assistants — one memory across every MCP client.
MCP-Native LLM Orchestration Agent
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA real-time system diagnostics MCP server that gives AI agents live access to CPU, RAM, disk, network, processes, and hardware health metrics, with zero cloud dependency.7-
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server that gives AI assistants full control over your desktop — monitor system resources, manage windows, capture screenshots, control the clipboard, launch applications, and more.MIT
- AlicenseNot gradedqualityFmaintenanceMulti-machine system monitor with a built-in MCP server that enables AI agents to query health metrics, manage processes, schedule cron jobs, and run diagnostics across local and remote machines.133 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to monitor system resources and control media, brightness, volume, and other Windows PC functions through natural language commands.1MIT