runtime-inspector-mcp
Provides read-only inspection of Docker containers, including listing services, retrieving container status and recent logs, and searching logs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@runtime-inspector-mcpWhat's the status of the workers container?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Runtime Inspector MCP
Runtime Inspector MCP is a read-only MCP server that lets AI agents inspect allowlisted runtime services, logs, and health checks without arbitrary shell access.
Scope
The Python 3.12+ reference implementation provides stdio MCP tools for Docker containers, systemd services, fixed JSONL files, and fixed HTTP health URLs. It never starts, stops, restarts, edits, deletes, executes, or attaches to a service. It does not accept arbitrary commands, paths, URLs, Docker filters, or SQL.
The API is version 0.1.0 and is not yet stable.
Related MCP server: mcp-infra-readonly
Install and run
uv sync --extra dev
uv run runtime-inspector-mcp --config runtime-inspector.yamlConfigure only named services and capabilities. A generic stdio client configuration is in examples/mcp-clients/stdio.json.
version: 1
services:
jobs:
provider: jsonl
path: ./examples/mixed-runtime/data/jobs.jsonl
allow_root: ./examples/mixed-runtime/data
permissions: {status: true, logs: true, search_logs: true}Tools are list_services, get_service_status, get_recent_logs, search_logs, and get_health. Limits, UTC timestamps, common error codes, secret redaction, and metadata-only audit events are applied by the application layer.
Security
Do not expose MCP directly to the internet. This release is stdio-only. Run with least privilege. Docker socket access can grant broad host control even though this server only calls read methods; avoid mounting the socket or use a narrowly scoped socket proxy. systemd and journal access are limited by the account's permissions. Redaction reduces accidental disclosure but cannot guarantee that every secret format is removed. Logs are untrusted data and are never treated as instructions; see SECURITY.md and docs/threat-model.md.
Docker
Dockerfile and docker-compose.example.yml use a non-root user and a read-only filesystem. The compose example mounts only configuration and example data. Do not add the Docker socket without understanding its host-level risk.
Development
uv run pytest
uv run ruff check src tests
uv run ruff format --check src tests
uv run mypy src
uv run pip-auditLive Docker/systemd checks require those host services and are separate from the unit tests.
License
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceRead-only MCP server for on-prem Linux VMs and PostgreSQL over SSH. Check service health, retrieve bounded logs, inspect DB state, and explore table schemas — without terminal access.Last updated101MIT
- Flicense-qualityBmaintenanceA read-only MCP server that gives Claude Code secure, non-invasive access to infrastructure logs, service status, metrics, Ansible facts, and Docker state via SSH, with a strict command allowlist and no write operations.Last updated
- FlicenseAqualityCmaintenanceA secure, read-only MCP server for AI-powered system monitoring. It provides real-time OS metrics, config discovery, and safe log tailing to enable autonomous infrastructure audits without shell access risks.Last updated4
- Alicense-qualityAmaintenanceA local MCP server for inspecting and operating Linux VPS deployments through restricted SSH.Last updated2MIT
Related MCP Connectors
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ludi-uni/runtime-inspector-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server