Skip to main content

sysflow-mcp

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

sysflow-mcp MCP server

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"]
    }
  }
}

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.

Metadata

Release files for sysflow-mcp 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sysflow-mcp 2.1.0
File Size Uploaded Provenance Actions
sysflow_mcp-2.1.0.tar.gz 19.8 kB Without provenance Details for sysflow_mcp-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sysflow-mcp 2.1.0
File Interpreter ABI Platform Actions
sysflow_mcp-2.1.0-py3-none-any.whl Python 3 none any Details for sysflow_mcp-2.1.0-py3-none-any.whl

Total release size: 38.3 kB

Release files / sysflow_mcp-2.1.0.tar.gz

Download URL sysflow_mcp-2.1.0.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7979a300e893a9d332eef17b9273e9a06723a80c07631385d8ed4fc8c28237ef
BLAKE2b-256 checksum
How to use checksums
9639071f232f600847369dfb241feb47e43bb8677a7d77065b0d24d97603d511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / sysflow_mcp-2.1.0-py3-none-any.whl

Download URL sysflow_mcp-2.1.0-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d38abee787c7f7ef6c33118fdaab6d77ea71ecad0fea499448f6a9962ab21502
BLAKE2b-256 checksum
How to use checksums
e61d9976c973a3106157b0b6fcfa46e3e4502fb5f0de04a291a2ca0541d40dab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for sysflow-mcp 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page