Extending AI with Custom Tools: MCP Demo
Model Context Protocol (MCP) - Bridge between AI and your tools
What is MCP?
- Open protocol for connecting AI assistants to external data/tools
- Enables AI to execute custom functions in your environment
- Works with GitHub Copilot Chat
Live Demo: Process Monitor
- Custom MCP server exposing system process information
- AI can now answer questions about running processes
- No internet required - runs entirely local
Example Capabilities:
- "How many processes are currently running?"
- Uses
get_process_count
tool
- Uses
- "Show me the top 5 CPU consuming processes"
- Uses
get_top_cpu_processes
tool
- Uses
- "What are the most memory-intensive processes?"
- Uses
get_top_memory_processes
tool
- Uses
- "Which processes have multiple instances running?"
- Uses
get_process_instances
tool
- Uses
- "Find all node processes"
- Uses
find_process_by_name
tool with "node"
- Uses
- "What's consuming the most resources on my system?"
- AI will intelligently combine multiple tools
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables AI to monitor and analyze local system processes through custom tools. Provides real-time access to process information including CPU usage, memory consumption, process counts, and process searching capabilities.