Skip to main content
Glama
narmaku

Linux MCP Server

by narmaku

get_service_logs

Retrieve recent systemd service logs for troubleshooting on Linux systems, supporting both local execution and remote SSH access to analyze service behavior and diagnose issues.

Instructions

Get recent logs for a specific systemd service.

Args: service_name: Name of the service lines: Number of log lines to retrieve (default: 50) 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
service_nameYes
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-archived'

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