Local Logs MCP Server

MCP for monitoring local application logs with real-time tailing, error tracking, and log search capabilities.

Local serverstdioGo

What is the Local Logs MCP Server?

MCP for monitoring local application logs with real-time tailing, error tracking, and log search capabilities.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_log_filesList available log files with metadata
tail_logGet last N lines from a log file
get_errorsGet recent error log entries
get_server_statusServer status summary from logs
watch_logMonitor log file for changes
search_logsSearch for text in log files

How to install the Local Logs MCP Server

{
  "mcpServers": {
    "local-logs": {
      "command": "npx",
      "args": ["-y", "local-logs-mcp-server"],
      "env": {
        "LOGS_DIR": "./logs"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
LOGS_DIRFilesystem location the server is allowed to use.Optional
LOG_EXTENSIONSConfiguration value read at startup.Optional

Example prompts to try

  • “Use Local Logs to get log files.”
  • “Use Local Logs to tail log.”
  • “Use Local Logs to get errors.”

Frequently asked questions

MCP for monitoring local application logs with real-time tailing, error tracking, and log search capabilities. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.