Skip to main content
Glama
narmaku

Linux MCP Server

by narmaku

get_journal_logs

Retrieve and filter systemd journal logs from Linux systems to diagnose issues, with options for time range, priority, service unit, and remote SSH access.

Instructions

Query systemd journal logs with optional filters.

Args: unit: Filter by systemd unit priority: Filter by priority (emerg, alert, crit, err, warning, notice, info, debug) since: Show entries since specified time (e.g., '1 hour ago', '2024-01-01') lines: Number of log lines to retrieve (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
unitNo
priorityNo
sinceNo
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