PC-health-checking-MCP
Click on "Install 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
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Parisa-Reza/PC-health-checking-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server