pacto-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
pacto
Archive an idle project folder into a single zip that lives inside it, so the folder stays visible as a marker of what used to be there.
C:\dev\old-project\ -> C:\dev\old-project\
src/ node_modules/ ... old-project.zippacto unzip old-project puts it all back and deletes the zip.
Nothing is deleted until the archive has been verified: every entry is
CRC-checked and the file count and total size are compared against the folder.
If a locked file interrupts the delete, re-running pacto zip finds the good
archive and finishes the job instead of re-zipping.
Install
pip install "pacto[all]" # CLI, interactive picker, MCP server
pip install pacto # core only, no picker and no MCP
pipx install "pacto[all]" # or uv tool install, to keep it off your global envFrom a checkout:
pip install -e ".[all]"Related MCP server: mcreator-mcp
Use
pacto # interactive picker, ranked by best candidate
pacto scan # list folders: size, idle days, git state
pacto scan --min-size 500MB --idle 60d
pacto zip old-project # archive it, then delete the contents
pacto unzip old-project # restore in placeWhere it works:
the current directory when it is inside the default root (
C:\dev)otherwise the default root itself
--root D:\projectsoverrides both, andPACTO_ROOTchanges the default
Only the direct children of that folder are candidates.
scan ranks by size × idle days, so a big folder untouched for a year
comes before a big one you edited yesterday. Idle time is the newest file
anywhere in the tree.
Safety
The archive is verified before anything is deleted.
Git repos with uncommitted or unpushed work are flagged, then archived anyway.
.gitgoes into the zip, so history survives.Symlinks and Windows junctions are skipped, not followed, and are listed in the output.
unziprefuses to run when the folder holds anything besides the archive, and rejects entries whose paths point outside it.Empty directories are preserved through the round trip.
pacto never archives its own checkout.
MCP server
claude mcp add pacto -- pacto-mcpOr in claude_desktop_config.json:
{ "mcpServers": { "pacto": { "command": "pacto-mcp" } } }Tools: scan, suggest, zip, unzip. zip is gated: without
confirm=true it only reports what would happen, so an agent cannot delete a
project by accident.
Notes for synced folders
If the root is inside Dropbox, OneDrive or Syncthing, archiving deletes the
files on every synced machine and then copies the zip to all of them. That is
the intent, but it is a big transfer. For Syncthing, add (?d)*.zip.partial to
.stignore on each machine so a half-written archive never syncs.
Tests
python tests/test_core.pyMIT licensed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
A MCP server built for developers enabling Git based project management with project and personal…
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides project management capabilities through terminal, web UI, or MCP stdio, including plans, code analysis, and filesystem-safe operations.13 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to inspect and operate MCreator workspaces through MCreator's Java APIs, supporting elements, generators, resources, and builds.GPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables creating release manifests and verifying that local release folders or public HTTPS bytes match the manifest, using read-only MCP tools.MIT
- AlicenseNot gradedqualityBmaintenanceEnables users to detect archives, list entries, extract individual entries or entire archives, and list supported formats through MCP tools, with structured metadata and safe local extraction.2MIT