Skip to main content
Glama
narmaku

Linux MCP Server

by narmaku

read_log_file

Retrieve recent entries from system log files on local or remote Linux servers to monitor events and diagnose issues.

Instructions

Read a specific log file (whitelist-controlled via LINUX_MCP_ALLOWED_LOG_PATHS).

Args: log_path: Path to the log file lines: Number of lines to retrieve from the end (default: 100) host: Remote host to connect to via SSH (optional, executes locally if not provided) username: SSH username for remote host (required if host is provided)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
log_pathYes
linesNo
hostNo
usernameNo

Latest Blog Posts

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/narmaku/linux-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server