Purgatorium (p9m)
Self-hosted Docker sandboxes for agents, driven over MCP with scoped tokens
Purgatorium (p9m) is an MCP server for cloud and infrastructure. It runs as a hosted remote server, so there is nothing to install locally.
- Platforms
- Self-hosted, Linux, API
- Runs
- Remotely
- What it can do
- Can delete data (1 tool)
- Version
- 0.21.1
- Listing updated
Similar MCP servers
About Purgatorium (p9m)
Each sandbox gets its own Docker daemon and every app gets a public URL, with TLS addresses for Postgres, Redis and SSH. Idle sandboxes sleep and wake on the next request, and deleting one archives it. The README compares it to a self-hosted Vercel for apps teams and agents spin up, deploying through docker compose today, with git-based builds on the roadmap, and it measures about 10 seconds from a new sandbox to a public URL.
The MCP endpoint is the same API as REST, one tool per endpoint, called with the caller's token. A token limited to one sandbox only sees the tools it may use, with no create_sandbox and no token or SSH key management. Log streaming and zip export are left out. Clients that only support stdio can use a small Node script included in the repository.
The README flags it as early, before 1.0, with rough edges and possible breaking changes between minor versions.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 12 tools deletes data and 4 change data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_sandboxesName suggests: reads
- Lists sandboxes.
- create_sandboxName suggests: changes
- Creates a sandbox.
- get_sandboxName suggests: reads
- Returns a sandbox with its app links.
- wake_sandbox
- Wakes a sleeping sandbox.
- sleep_sandbox
- Puts a sandbox to sleep.
- set_sleep_settingsName suggests: changes
- Changes sleep settings.
- list_sandbox_filesName suggests: reads
- Lists files in a sandbox.
- read_sandbox_fileName suggests: reads
- Reads a sandbox file.
- write_sandbox_fileName suggests: changes
- Writes a sandbox file.
- create_sandbox_folderName suggests: changes
- Creates a folder in a sandbox.
- delete_sandbox_fileName suggests: deletes
- Deletes a sandbox file.
- list_sandbox_volumesName suggests: reads
- Lists the apps' volumes whose paths the file tools take.
What it does
- Per-sandbox Docker
- Every sandbox has its own Docker daemon.
- App URLs
- Each app is reachable at a public address.
- Sleep and wake
- Idle sandboxes sleep and wake on request.
- Scoped tokens
- Tokens can be limited to a single sandbox.
- File tools
- Read, write and delete files in sandbox volumes.
Good for
- Give an agent its own sandbox to deploy a compose stack
- Read files and app links from a running sandbox
- Let a team share one self-hosted deployment platform
- Wake or sleep sandboxes from an AI client
Purgatorium (p9m) FAQ
Where does Purgatorium (p9m) run?
On your own server, with the host name filled into the MCP URL.
How do I authenticate?
With a bearer token that begins with p9m_; browser sessions are not accepted.
Can I use stdio clients?
Yes, through the scripts/mcp-stdio.mjs bridge needing Node.js 18 or newer.
Is Purgatorium (p9m) production ready?
The README calls it early, before 1.0, with possible breaking changes.
What are the best alternatives to Purgatorium (p9m)?
The closest alternatives to Purgatorium (p9m) are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README and the project's website.


