Skip to main content

Workspace Storage Guard

Workspace Storage Guard is a local MCP server and command-line tool for software developers on macOS and Linux. It reports free space, ranks workspace directories by size, and reclaims allowlisted build output such as Cargo debug artifacts, Next.js caches, and node_modules. Optional cleanup covers developer caches and unused container resources on Rancher Desktop, Colima, Docker Desktop, Podman, and Kiri.

Connect your agent

Install uv, then create a local config from examples/config.json and set your workspace, free-space thresholds, and cleanup allowlists. Register the server with Hermes Agent, Claude Code, GitHub Copilot CLI, or Codex. Setup guide

For example, register it in Codex using the package from PyPI.

codex mcp add workspace-storage-guard -- "$(command -v uvx)" \
  workspace-storage-guard@0.4.0

Start a fresh agent session and ask it to call storage_status.

Check and reclaim space

  • storage_status reports free space and cleanup thresholds, with optional memory and container usage.
  • scan_storage ranks the largest directories in your workspace.
  • restore_storage starts configured cleanup when free space drops below your minimum. Pass {"force": true} to clean every eligible workspace output regardless of free space.

Your workspace path and allowlists live in a per-user local config. Scan results include local paths and may be shared with your agent’s model provider. Usage guide

Automate checks

Run Storage Guard from the terminal, add advisory hooks to your agents, or schedule checks with a macOS LaunchAgent. The example LaunchAgent runs at sign-in and every five minutes. Enable desktop notifications for low disk space or high memory use. Hook and LaunchAgent setup

Publish a release to PyPI

Metadata

Release files for workspace-storage-guard 0.4.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 workspace-storage-guard 0.4.0
File Size Uploaded Provenance Actions
workspace_storage_guard-0.4.0.tar.gz 30.5 kB Without provenance Details for workspace_storage_guard-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for workspace-storage-guard 0.4.0
File Interpreter ABI Platform Actions
workspace_storage_guard-0.4.0-py3-none-any.whl Python 3 none any Details for workspace_storage_guard-0.4.0-py3-none-any.whl

Total release size: 45.6 kB

Release files / workspace_storage_guard-0.4.0.tar.gz

Download URL workspace_storage_guard-0.4.0.tar.gz
Size 30.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2d613ebef26a418017fe8eafe55733d5a49e51b9eee30f1de28c49c6a6a5cf7f
BLAKE2b-256 checksum
How to use checksums
c7c4853e188d5bf775ee18060c1ed73a95d581d210ff72b7a1d02d6b326fcdfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / workspace_storage_guard-0.4.0-py3-none-any.whl

Download URL workspace_storage_guard-0.4.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
588a321885b9b33dd3ae468b1e3b65b0d2edc4a8f8b4c67d52a6ff8d478f0aa0
BLAKE2b-256 checksum
How to use checksums
35f51eeaafcb32497477d2576951642d8195e2124a79ec090c4ad71f93111005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for workspace-storage-guard 0.4.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