glances
Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, macOS and Windows operating systems.
The Glances MCP server exposes real-time system monitoring data to AI assistants through the Model Context Protocol. This cross-platform monitoring tool tracks CPU, memory, disk, network usage, running processes, temperatures, container stats (Docker/Podman/LXC), and more. When running Glances in web server mode with the --enable-mcp flag, AI assistants like Claude and Cursor can query system metrics via an SSE transport endpoint at http://<ip>:61208/mcp/sse. It transforms Glances' comprehensive system monitoring capabilities into a queryable interface for AI agents, enabling intelligent system analysis and troubleshooting.
Key Features
Use Cases
- 01Enable AI assistants to analyze server performance metrics and diagnose resource bottlenecks
- 02Query container resource usage across Docker/Podman environments through conversational AI
- 03Build AI-powered monitoring dashboards that answer natural language questions about system health
- 04Automate incident response by allowing AI agents to inspect process lists and resource consumption
- 05Create intelligent system optimization recommendations based on real-time metrics
- 06Integrate system monitoring data into AI coding assistants for infrastructure-aware development
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
glances — FAQ
What is the Glances MCP server?+
The Glances MCP server is a built-in Model Context Protocol interface (added in version 4.5.1) that exposes Glances' comprehensive system monitoring data to AI assistants like Claude and Cursor. It provides real-time access to CPU, memory, disk, network, container, and process metrics through an SSE transport endpoint.
How do I install and enable the Glances MCP server?+
Install Glances with MCP support using 'pip install glances[mcp]' or 'pip install glances[all]'. Run Glances in web server mode with the --enable-mcp flag: 'glances -w --enable-mcp'. The MCP endpoint will be available at http://<ip>:61208/mcp/sse.
Which AI clients work with the Glances MCP server?+
The Glances MCP server works with any AI assistant that supports the Model Context Protocol, including Claude, Cursor, and similar tools. Configure your MCP client to connect to the SSE endpoint at http://<ip>:61208/mcp/sse as documented in the McpApi guide.
What are the prerequisites for running Glances MCP?+
You need Python 3.10 or higher with the psutil library. For full MCP functionality, install dependencies with 'pip install glances[mcp]' or 'glances[all]'. No API keys are required since Glances monitors the local system directly.
Is the Glances MCP server free and open source?+
Yes, Glances is completely free and distributed under the LGPL version 3 license. All features including the MCP server are open source and available on GitHub.
Can I monitor Docker containers through the MCP interface?+
Yes, when you install Glances with container support ('pip install glances[containers]'), the MCP server exposes metrics from Docker, Podman, and LXC containers. Mount the Docker socket when running to enable container monitoring.
How do I install glances?+
Open the source repository on GitHub and follow its README. glances is a mcp server — MCP Agents Market links you directly to the official repo.
Is glances free?+
glances is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.