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 on your workspace volume, ranks directories by disk usage, and reclaims generated files you explicitly allowlist, including Cargo debug output, build caches, and node_modules.
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 GitHub release.
codex mcp add workspace-storage-guard -- "$(command -v uvx)" \
--from git+https://github.com/TonPC64/workspace-storage-guard.git@v0.1.0 \
workspace-storage-guard
Start a fresh agent session and ask it to call storage_status.
Check and reclaim space
storage_statusreports free space and your cleanup thresholds.scan_storageranks the largest directories in your workspace.restore_storagereclaims eligible generated output when free space drops below your minimum. Pass{"force": true}to clean eligible 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 a hook to your agent, or schedule it with a macOS LaunchAgent. The example LaunchAgent runs at sign-in and every five minutes. Hook and LaunchAgent setup
Metadata
Release files for workspace-storage-guard 0.1.0
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 |
|---|---|---|---|---|
| workspace_storage_guard-0.1.0.tar.gz | 16.7 kB | Without provenance | Details for workspace_storage_guard-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| workspace_storage_guard-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for workspace_storage_guard-0.1.0-py3-none-any.whl |
Total release size: 26.1 kB
Release files / workspace_storage_guard-0.1.0.tar.gz
| Download URL | workspace_storage_guard-0.1.0.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37f40e94223844b91ec5153d934789d72f6c769d3331e7119e985c396a5a6278
|
|
BLAKE2b-256 checksum How to use checksums |
d194b9d8496a71d31ce06ade72476fe4b34c23538143ae2405f52a6993a6df12
|
| 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.1.0-py3-none-any.whl
| Download URL | workspace_storage_guard-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e316db7cfb4158513991669acf9822a8e2da78cae2057f35bb6ee5a86539404d
|
|
BLAKE2b-256 checksum How to use checksums |
6c0279f578f698fc29e4b3c604c21b840119aca21741efcf4bee962220c958d2
|
| 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.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.