Mesh Status MCP Server
Provides tools for monitoring Docker services and containers, including listing running containers, checking container health, and retrieving container logs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Mesh Status MCP Server
Monitor your homelab agent mesh via MCP tools or CLI.
What It Does
Provides 6 tools for monitoring a multi-agent homelab:
Agent health — roles, workspaces, Docker containers
Docker services — list, status, health checks, logs
Router V3 — routing stats, message routing, query distribution
Mesh overview — everything at a glance
Works as both an MCP server (for AI agents) and a CLI (for humans).
Related MCP server: mcp-it-ops
Install
pip install mesh-status-mcpOr from source:
git clone https://github.com/Proto-labs-rnd/mesh-status-mcp.git
cd mesh-status-mcp
pip install -e ".[dev]"Quick Start
CLI
# Full overview
mesh-status overview
# Agent details
mesh-status agents proto
# Container health
mesh-status health router-v3
# Route a query
mesh-status route "restart the database"
# Router stats
mesh-status stats
# Docker services
mesh-status services
# JSON output (works on all commands)
mesh-status --json overview
mesh-status --json agents
mesh-status --json services
mesh-status --json health router-v3
mesh-status --json route "restart the database"
mesh-status --json statsMCP Server (OpenClaw / Claude / etc.)
Add to your MCP config:
{
"mcpServers": {
"mesh-status": {
"command": "python3",
"args": ["-m", "mesh_status.mcp_server"]
}
}
}Or if installed via pip:
{
"mcpServers": {
"mesh-status": {
"command": "mesh-status-mcp"
}
}
}Configuration
Create mesh_status_config.yaml or set environment variables:
router:
url: "http://127.0.0.1:8905"
timeout: 5.0
retries: 2
retry_delay: 0.5
docker:
timeout: 10.0
max_containers_display: 20
log_tail_lines: 10
agents:
tachikoma:
role: "Orchestrator"
emoji: "🤖"
workspace: "workspace"
proto:
role: "R&D"
emoji: "🧪"
workspace: "workspace-labs"
log_level: "WARNING"Environment Variables
Variable | Default | Description |
|
| Router V3 URL |
|
| Router timeout (seconds) |
|
| Log level (DEBUG, INFO, WARNING) |
| — | Path to config file |
Config Search Order
--configCLI flagMESH_STATUS_CONFIGenv var./mesh_status_config.yaml~/.config/mesh-status/config.yaml/etc/mesh-status/config.yamlBuilt-in defaults
Architecture
mesh_status/
├── __init__.py # Version
├── config.py # Configuration (YAML + env + defaults)
├── core.py # MeshStatus — shared business logic
├── docker_client.py # Docker CLI wrapper (timeout, retry, error types)
├── router_client.py # Router V3 HTTP client (retry, typed results)
├── mcp_server.py # MCP server entry point (6 tools via FastMCP)
└── cli.py # CLI entry point (argparse subcommands)Key design decisions:
core.MeshStatusis the single source of truth — both MCP and CLI use itDocker and Router clients have typed error hierarchies (
DockerError,RouterUnavailableError)Every external call has timeout + retry with configurable attempts
Graceful degradation: tools return informative messages instead of crashing
Tools Reference
Tool | Description | Args |
| Full mesh overview | — |
| Agent details |
|
| Running Docker containers | — |
| Route via Router V3 |
|
| Router statistics | — |
| Container health + logs |
|
Development
pip install -e ".[dev]"
pytest
pytest --cov=mesh_statusLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only Linux server and Docker monitoring for AI assistants: CPU, memory, disk, network.
Monitors TLS/SSL certificate expiry, DNS resolution, and TCP port status for AI agents.
Create, test, and manage uptime monitors for websites and APIs from your AI agent.
IP intelligence, network diagnostics, and AI service availability tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage a homelab by providing tools for Docker, Ollama, and system monitoring through the Model Context Protocol.MIT
- FlicenseAqualityDmaintenanceExposes homelab and IT-ops tools to Claude, including system health monitoring, Grafana alert states, Docker container status, Loki logs, SMART disk health, and more.81-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to autonomously check, diagnose, and recover Dockerized services through safe, tool-based ops without direct host shell access.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to monitor Docker containers, system resources, ports, and logs in real-time.5MIT