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_counttool
- Uses
-
"Show me the top 5 CPU consuming processes"
- Uses
get_top_cpu_processestool
- Uses
-
"What are the most memory-intensive processes?"
- Uses
get_top_memory_processestool
- Uses
-
"Which processes have multiple instances running?"
- Uses
get_process_instancestool
- Uses
-
"Find all node processes"
- Uses
find_process_by_nametool with "node"
- Uses
-
"What's consuming the most resources on my system?"
- AI will intelligently combine multiple tools
