Skip to main content
Glama

sysflow-mcp

PyPI CI Python 3.10+ MCP Compliant License: MIT Support on Ko-fi

SysFlow MCP is a zero-dependency Linux administration and diagnostics Model Context Protocol server for Claude Desktop, Cursor, Windsurf, and Antigravity. It exposes host CPU/RAM/disk metrics, path-guarded log tailing, systemd --user service and timer inspection, validated unit generation, TCP port auditing, and timeout-bounded argv command execution.


Quickstart

Run directly via uvx:

uvx sysflow-mcp

Claude Desktop / Cursor configuration:

{
  "mcpServers": {
    "sysflow-mcp": {
      "command": "uvx",
      "args": ["sysflow-mcp"]
    }
  }
}

Related MCP server: DevOps Dashboard MCP Server

Core Capabilities

  1. System Resource Telemetry: Reads CPU load averages, /proc/meminfo memory usage, and root partition utilization without requiring root privileges.

  2. Path-Guarded Log Tailer: Reads backward in chunks from /var/log, /tmp, or configured SYSFLOW_LOG_DIRS, filtering regex matches before slicing and rejecting binary files or sensitive dotfiles (.env, .ssh, .git/config).

  3. Systemd User Plane Inspection: Lists systemd --user services, failed units, and scheduled timers.

  4. Validated Systemd Unit Generator: Generates .service and .timer definitions, rejecting control-character injection and distinguishing OnUnitActiveSec intervals (12h, 30min) from OnCalendar expressions (hourly, daily, *-*-* 04:00:00).

  5. Listening TCP Port Auditor: Inspects active TCPv4/TCPv6 listeners via ss with a /proc/net/tcp{,6} hex-decoding fallback.

  6. Timeout-Bounded Task Runner: Executes non-interactive argv commands (shell=False by default, secret environment variables scrubbed) inside a dedicated process group that is cleanly killed if the timeout expires.


MCP Tools

Tool

Parameters

Description

check_system_resources

(none)

Returns CPU load averages, RAM usage, and disk space

tail_logs

filepath, lines, pattern

Tails text log files inside allowed directories with optional regex filter

inspect_systemd_services

failed_only

Lists systemd --user service units and active states

inspect_systemd_timers

(none)

Lists active systemd --user timers

run_sandboxed_task

command, timeout_sec, cwd

Runs an argv command with secret scrubbing and process-group timeout

generate_systemd_unit

service_name, exec_start, cwd, timer_schedule

Emits validated .service and .timer unit strings

audit_listening_ports

(none)

Lists listening TCPv4 and TCPv6 ports


Package

Description

Repository

genesis-blackbox

Runtime flight recorder and AST blast-radius crash compiler

GitHub

pgsafe-mcp

Read-only PostgreSQL/SQLite query guard and PII masker

GitHub

crawlengine-mcp

HTTP web extraction, clean Markdown conversion, and proxy rotation

GitHub

browserbridge-mcp

Session-pooled HTTP DOM inspection and SHA-256 action trail receipts

GitHub

omnibridge-mcp

Multi-channel notification bus with SQLite retry queue

GitHub

fastmcp-forge

MCP server framework and project scaffolder

GitHub

Support

If this project is useful in your workflow, you can support ongoing maintenance on Ko-fi.

License

MIT License. Copyright (c) 2026 Johann Schiffer.

Available Tools

4 tools
check_system_resourcesB

Inspect CPU load average, RAM utilization, and disk partition space.

Inputs: no named parameters.

inspect_systemd_servicesB

List systemd --user services, active states, and detect failed background units.

Inputs: failed_only.

inspect_systemd_timersA

List systemd --user scheduled timers and their next trigger times.

Inputs: no named parameters.

tail_logsA

Safely read recent lines from a log or text file with optional regex filtering.

Inputs: filepath (required), lines, pattern.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a clearly distinct area: system resources, log tailing, systemd services, and systemd timers. The service and timer tools are related but their descriptions make the boundary explicit.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern: check_system_resources, tail_logs, inspect_systemd_services, inspect_systemd_timers. There are no mixed conventions or vague standalone verbs.

    Tool Count4/5

    Four tools are focused and each has a clear purpose, but the set is somewhat thin for a general system diagnostics server. Additional common operations could reasonably be expected.

    Completeness4/5

    Core diagnostic areas are covered: resources, logs, services, and timers. Minor gaps exist around process listing, network status, or journal-specific queries, but agents can work around them with the provided tools.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to perform controlled Linux system administration tasks like reading logs, managing services, cron jobs, WordPress, and executing sandboxed Python code, with strict security constraints.
      29
      2
      GPL 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Provides read-only access to host system metrics (CPU, memory, disk), Docker container health/logs, and sandboxed log file analysis via MCP tools, enabling AI agents to monitor enterprise infrastructure safely.
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Lets an AI assistant inspect a Linux machine through ten fixed read-only tools covering load, memory, disks, processes, ports, interfaces, systemd units, the journal, and allowlisted log files. All output is size-capped, control-character-stripped and secret-redacted, and nothing in the package can write to the system.
      10
      MIT