sysflow-mcp
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
- System Resource Telemetry: Reads CPU load averages,
/proc/meminfomemory usage, and root partition utilization without requiring root privileges. - Path-Guarded Log Tailer: Reads backward in chunks from
/var/log,/tmp, or configuredSYSFLOW_LOG_DIRS, filtering regex matches before slicing and rejecting binary files or sensitive dotfiles (.env,.ssh,.git/config). - Systemd User Plane Inspection: Lists
systemd --userservices, failed units, and scheduled timers. - Validated Systemd Unit Generator: Generates
.serviceand.timerdefinitions, rejecting control-character injection and distinguishingOnUnitActiveSecintervals (12h,30min) fromOnCalendarexpressions (hourly,daily,*-*-* 04:00:00). - Listening TCP Port Auditor: Inspects active TCPv4/TCPv6 listeners via
sswith a/proc/net/tcp{,6}hex-decoding fallback. - Timeout-Bounded Task Runner: Executes non-interactive argv commands (
shell=Falseby 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 |
Related Open-Source MCP Servers
| 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.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sysflow_mcp-2.0.1.tar.gz | 18.2 kB | Without provenance | Details for sysflow_mcp-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sysflow_mcp-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for sysflow_mcp-2.0.1-py3-none-any.whl |
Total release size: 35.4 kB
Release files / sysflow_mcp-2.0.1.tar.gz
| Download URL | sysflow_mcp-2.0.1.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb55846769618453f586033d4afd139c1113de728023d7f131b8e607b41f8e0f
|
|
BLAKE2b-256 checksum How to use checksums |
2c5ca1f33d4faa4fa266f3ec5f32db8c1977c3104c6e85c7fbae276b62eda8de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / sysflow_mcp-2.0.1-py3-none-any.whl
| Download URL | sysflow_mcp-2.0.1-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
767fe3ebef6673eeebe3b8614ba4239f49cf5b7f219cb3ae3a51321d85d91e5f
|
|
BLAKE2b-256 checksum How to use checksums |
71aa264e80fcebcb89ac0a887ca894dc65e66d236cc6121374372b755bc0d844
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for sysflow-mcp 2.0.1
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.