Skip to main content

servchart-agent

The agent for ServChart, a self-hosted map of your servers, containers and Compose stacks.

It reads this host's Docker state (GET requests only), drops anything sensitive, and sends it to your ServChart hub every 60 seconds. It has no dependencies beyond Python's standard library.

Run it

With Docker (recommended):

docker run -d --name servchart-agent --restart unless-stopped --pid host \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  -e SERVCHART_OBSERVE_CONNECTIONS=1 \
  -e SERVCHART_HUB=https://servchart.example.com \
  -e SERVCHART_TOKEN=sc_... \
  opticodev/servchart-agent:latest

Without Docker, from PyPI. The user running it needs access to the Docker socket, for example by being in the docker group:

pipx install servchart-agent        # or: pip install servchart-agent
servchart-agent --hub https://servchart.example.com --token sc_...
servchart-agent --stdout            # print what would be sent, send nothing

Get the token from the hub: + Add host in the map.

What it sends

It sends container names, images, state and health, networks and IPs, published ports, mounts, restart policy, and Compose stack details (project, service, folder, compose files). It never sends environment variables or container commands, and secret-looking label values are redacted. Set SERVCHART_HIDE_PATHS=1 to also drop host paths and stack folders.

All options are in the main README.

Metadata

Release files for servchart-agent 0.3.1

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

Source distribution (sdist)

Source distribution for servchart-agent 0.3.1
File Size Uploaded Provenance
servchart_agent-0.3.1.tar.gz 17.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for servchart-agent 0.3.1
File Interpreter ABI Platform
servchart_agent-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.5 kB

Release files / servchart_agent-0.3.1.tar.gz

Download URL servchart_agent-0.3.1.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
55984abab7858005f2e3ae1c0367b97f2a29803d407e5e15b6a82a87e5b318be
BLAKE2b-256 checksum
How to use checksums
80d8a1f1f5bf6df25c8eb8ecdcefee42189171d0b66883b82ff2afe1624774eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / servchart_agent-0.3.1-py3-none-any.whl

Download URL servchart_agent-0.3.1-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06b03b8f2e7dc6ef83eeda94f3e5a6e390f0b8b496077bdb4edaf899220bec79
BLAKE2b-256 checksum
How to use checksums
8c6ff9ae423c109701ec22ebb6f3c339cda4ffaef64aef1ff7d2f7fe051421ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for servchart-agent 0.3.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for servchart_agent-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

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.

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