# Purgatorium (p9m)

> Purgatorium (p9m) is an MCP server for cloud and infrastructure. Self-hosted Docker sandboxes for agents, driven over MCP with scoped tokens. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** Self-hosted, Linux, API
- **Website:** https://csakaszamok.github.io/p9m/latest/mcp/
- **Repository:** https://github.com/csakaszamok/p9m
- **MCP Registry name:** io.github.p9m-team/p9m
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Tools

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_sandboxes` (name suggests: reads): Lists sandboxes.
- `create_sandbox` (name suggests: changes): Creates a sandbox.
- `get_sandbox` (name suggests: reads): Returns a sandbox with its app links.
- `wake_sandbox`: Wakes a sleeping sandbox.
- `sleep_sandbox`: Puts a sandbox to sleep.
- `set_sleep_settings` (name suggests: changes): Changes sleep settings.
- `list_sandbox_files` (name suggests: reads): Lists files in a sandbox.
- `read_sandbox_file` (name suggests: reads): Reads a sandbox file.
- `write_sandbox_file` (name suggests: changes): Writes a sandbox file.
- `create_sandbox_folder` (name suggests: changes): Creates a folder in a sandbox.
- `delete_sandbox_file` (name suggests: deletes): Deletes a sandbox file.
- `list_sandbox_volumes` (name suggests: reads): Lists the apps' volumes whose paths the file tools take.

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/purgatorium-p9m
