log-mcp is an MCP server designed to expose `journald` logs, making system and application logs accessible for AI-assisted debugging and monitoring. It acts as an intermediary, collecting structured JSON logs from various services (such as `bclai`, `cdmcp`, and `bidrento-mcp`) writing to `journald`, and then making them queryable via an MCP client like Claude. Users can interact with the server through a chat interface to perform actions like checking for errors, monitoring service health, searching logs, and tailing specific service outputs, all exposed through dedicated SSE and message endpoints.
主要功能
01Perform full-text regex searches across all monitored logs
02Monitor service health, including uptime, error/warning counts, and last restarts
03View the last N lines from a specific service's logs
040 GitHub stars
05Query logs by service, time range, severity, and keywords
06Retrieve recent errors across all monitored services
使用案例
01Rapidly debug service issues by checking for recent errors
02Assess the operational health and status of deployed services
03Investigate specific log patterns or events across service logs using search queries