Developers
A drive your agents can use
The folder you see in Finder is also a drive for programs and AI agents. They read and write the same files, with a key you control and 30 days to undo anything they do.
Four ways in. One drive.
Pick the one that fits where your code runs. They all read and write the same files, and a change made through one shows in the others.
MCP server
The drive as tools in Claude Code, Claude Desktop, Cursor or any MCP client. No code to write.
phantomdisk mcpCommand line
One file for macOS and Linux. Every listing has JSON output.
phantomdisk put plan.md /notesSDKs
TypeScript with no dependencies, for a sandbox where nothing can be mounted. Python too.
npm install phantomdiskLinux mount
A real folder in a VM, on a server or in a container, for programs that need file paths.
phantomdisk-mount - ~/drive
A first file, in three steps.
Make a key
On the web app’s Access keys page: a name, read or write, and the drives it may use. It is shown once.
Install
# macOS and Linux. Puts phantomdisk in ~/.local/bin, checked against its checksum. curl -fsSL https://api.phantomdisk.com/v1/tools/install.sh | shWrite a file and read it back
export PHANTOMDISK_KEY=pdk_YOUR_KEY phantomdisk mkdir /notes phantomdisk put plan.md /notes # upload, verified before it counts phantomdisk ls /notes phantomdisk get /notes/plan.md - # to standard output phantomdisk history /notes/plan.md # every save, kept for 30 days
Safe to hand to an agent.
An agent will make mistakes. The drive is built so that none of them is final.
A key for one drive
Limit a key to one drive, make it read-only, and turn it off in a click. Every other drive answers as if it did not exist.
No permanent delete
A key can move files to Recently Deleted. It can never delete for good, change your account or make more keys.
30 days to undo
Every save is a version. Bring one file back, or roll a whole folder back to how it was before the agent started.
Forks
A copy of a whole drive in seconds, with no data copied. The agent works there; you keep the result or throw it away.
Encryption still on
With your own key turned on, names and files are sealed on the machine the agent runs on. We cannot read them.
Verified writes
Every piece of an upload is checked before the file counts. A file changed meanwhile becomes a conflict copy, never an overwrite.
Fork a drive. Let the agent loose in the copy.
A fork holds every file of the drive it was made from, and no data is copied, so it takes seconds. Give the agent a key for the fork only. Your drive does not change, whatever it does.
# A new drive with everything in "My Drive". No data is copied.
phantomdisk drive fork "My Drive" experiment
phantomdisk put plan.md experiment:/notes # work in the fork
phantomdisk get /notes/plan.md - # the original has not changed
The docs.
- QuickstartA key, an install, and a first file written and read back: about five minutes.
- Access keysWhat a key can and cannot do, how to limit one to a drive, and how to turn it off.
- MCP serverThe drive as tools for Claude Code, Claude Desktop, Cursor and any other MCP client.
- Command lineEvery phantomdisk command, how paths and drives are written, and what the exit codes mean.
- SDKsTypeScript and Python: every method, what it returns, and the errors.
- Linux mountThe drive as a real folder in a VM, on a server or in a container.
- For agentsGive an agent a fork and a key for it, review what it did, keep it or throw it away.
- HTTP APIThe routes under the SDKs: sign-in, the file tree, uploads, reads, versions and errors.