mcp-ssh-sre
An MCP server providing read-only server monitoring tools to AI assistants. Runs predefined diagnostic commands over SSH and passes only the results to the LLM - your server credentials and shell are never exposed.
MCP SSH SRE
An MCP server providing read-only server monitoring tools to AI assistants. Runs predefined diagnostic commands over SSH and passes only the results to the LLM - your server credentials and shell are never exposed.
Quick Start (Docker)
Pre-built images available on GitHub Container Registry.
docker run -d \
-p 3000:3000 \
-e SSH_HOST=server.local \
-e SSH_USERNAME=mcp-readonly \
-e SSH_KEY_PATH=/keys/id_ed25519 \
-v ~/.ssh/id_ed25519_mcp:/keys/id_ed25519:ro \
ghcr.io/ohare93/mcp-ssh-sre:latest
Then add to your MCP client:
{
"mcpServers": {
"ssh-sre": {
"url": "http://your-server:3000/mcp"
}
}
}
See DEPLOYMENT.md for Docker Compose, local installation, authentication setup, and security configuration.
Why Use This?
Managing a Linux server involves SSH-ing in, running commands, correlating logs, and interpreting metrics. This MCP server lets AI assistants do that work using natural language.
Ask questions like:
- "Why is my Plex container crashing?"
- "Is my array healthy and are there any drives showing signs of failure?"
- "Which containers are consuming the most resources?"
- "Help me debug network connectivity between my nginx and database containers"
Instead of manually running docker logs, smartctl, docker inspect, and correlating outputs, your AI assistant does it in seconds.
Supported Platforms
| Platform | Status | Tools |
|---|---|---|
| Unraid | Full support | 12 modules (10 core + 2 Unraid-specific) |
| Generic Linux | Full support | 10 core modules |
| TrueNAS | Untested (PRs welcome) | Core tools should work |
| Proxmox | Untested (PRs welcome) | Core tools should work |
The server auto-detects your platform at startup and loads appropriate tools.
Features
- 12 tool modules with 79+ actions for comprehensive server management
- Dual transport - Stdio (local) or HTTP/SSE (network-accessible)
- Read-only by design - Zero risk of accidental modifications
- Docker management - Logs, stats, environment, ports, network topology
- Storage & array - Parity checks, SMART data, temperatures, mover logs (Unraid)
- Health diagnostics - Aggregated status with automatic issue detection
- System monitoring - Processes, disk I/O, network connections
- Log analysis - Search across containers and system logs
- VM management - List, inspect, VNC details, libvirt logs
- Security auditing - Port scanning, login monitoring, permission audits
Why SSH Instead of Platform APIs?
| Feature | APIs | SSH |
|---|---|---|
| Docker container logs | ❌ | ✅ |
| SMART disk health data | ❌ | ✅ |
| Real-time CPU/load averages | ❌ | ✅ |
| Network bandwidth monitoring | ❌ | ✅ |
| Process monitoring (ps/top) | ❌ | ✅ |
| Log file analysis | ❌ | ✅ |
SSH provides unrestricted access to system tools without API rate limiting.
Architecture
src/
├── platforms/
│ ├── linux/ # Generic Linux (baseline)
│ └── unraid/ # Unraid-specific tools
├── tools/core/ # 10 core tool modules
├── index.ts # Stdio transport
└── http-server.ts # HTTP transport
Adding New Platforms
- Create
src/platforms/<platform>/index.tsimplementingPlatform - Add detection logic
- Create platform-specific tool modules
- Register in
src/platforms/index.ts
Development
npm run dev # Development with auto-reload
npm test # Run tests
npm run build # Build for production
License
ISC
Support
For issues and questions, open an issue on the GitHub repository.
İlgili Sunucular
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Terraform MCP Server by Binadox
MCP server for Terraform — automatically validates, secures, and estimates cloud costs for Terraform configurations. Developed by Binadox, it integrates with any Model Context Protocol (MCP) client (e.g. Claude Desktop or other MCP-compatible AI assistants).
MCP Toolhouse
Provides access to a wide range of tools from the Toolhouse platform.
Nextflow Developer Tools
An MCP server for Nextflow development and testing, which requires a local clone of the Nextflow Git repository.
Symphony of One
An MCP server for orchestrating multiple Claude instances to collaborate in a shared workspace with real-time communication.
Meta MCP Server
An MCP server for intelligent tool routing, using a Qdrant vector database and LM Studio for embeddings.
Blockchain Vulnerability Analyzer
Analyzes blockchain smart contracts for vulnerabilities using Mythril and Slither.
Substrate MCP Server
A Model Context Protocol (MCP) server for Substrate blockchains, written in Rust.
AppsAI
Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB
HED MCP Server
An MCP server for Hierarchical Event Descriptors (HED) that automates sidecar creation and annotation for BIDS event files using LLMs.
FastAPI-MCP
A zero-configuration tool to automatically expose FastAPI endpoints as MCP tools.