
Logmcp
This is the server you want when Claude needs to debug a Linux box but you're not handing over SSH. It exposes journald streams and file logs over HTTPS with bearer tokens, whitelists, and syslog audit trails. The AI gets list_logs, read_log, search_log, and log_info tools to tail files, grep patterns, and pull metadata. Nothing else. No writes, no shell, no execution. You can run it in quickstart mode for ephemeral testing or install it permanently with systemd. It also supports CLI extensions for wrapping arbitrary tools into MCP and Redis-backed RPC workers if you need lower latency than subprocess spawning. Good for production servers, customer machines, or any environment where least privilege actually matters.
- GitHub stars
- 6
- tools
- 7
- last updated
- Aug 25, 2026
Tools
7 toolsPublic tool metadata for what this MCP can expose to an agent.
list_logsList all log files the server has been configured to expose
List all log files the server has been configured to expose
No parameter schema in public metadata yet.
read_logRead lines from a log file — head, tail, offset, or time window
Read lines from a log file — head, tail, offset, or time window
No parameter schema in public metadata yet.
search_logSearch a log file by regexp with optional context lines and time filter
Search a log file by regexp with optional context lines and time filter
No parameter schema in public metadata yet.
log_infoFile metadata: size, line count, last modified
File metadata: size, line count, last modified
No parameter schema in public metadata yet.
check_environmentServer-side health checks (config, TLS, whitelist, syslog, databases)
Server-side health checks (config, TLS, whitelist, syslog, databases)
No parameter schema in public metadata yet.
check_configShow current server configuration and optional parameters at their defaults
Show current server configuration and optional parameters at their defaults
No parameter schema in public metadata yet.
server_statusRuntime status of the MCP layer and registered extensions
Runtime status of the MCP layer and registered extensions
No parameter schema in public metadata yet.
Sponsors
Readme
LogMCP
MCP server — read-only log access for AI assistants. Debug your Linux server with AI, without giving the AI shell access.
No SSH. No write permissions. The AI reads your logs over HTTPS and helps you diagnose problems, while your server stays fully under your control.
LogMCP is an open-source MCP server that exposes log files on a remote Linux server to AI assistants (Claude Code, VS Code, Claude Desktop). Access is read-only, token-authenticated, and fully audited via syslog.
Get Started
Option A: Quickstart (no root required)
Try LogMCP in under a minute — no config file, no root, no systemd:
logmcp quickstart
The command checks your group memberships (adm, systemd-journal), generates a bearer token and a self-signed TLS certificate, starts the server, and prints a ready-to-paste claude mcp add command.
Details
- Repository
- github.com/kascada/logmcp
- Categories
- Developer Tools, Monitoring & Observability
- Registry
- MCP registry, active