> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerodrive.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Hosted remote MCP endpoint: https://api.zerodrive.dev/mcp (OAuth 2.0 PKCE or Bearer token).
> REST API base URL: https://api.zerodrive.dev with OpenAPI 3.1.0 specification at https://api.zerodrive.dev/openapi.json.
> S3-compatible gateway: https://api.zerodrive.dev/s3 (AWS Signature V4, region auto).
> Local command-line tool: zd (or zerodrive) and local stdio MCP server: zerodrive mcp.
> Token prefixes: zdk_ (Personal API Key), zdt_ (device session token), zda_ (OAuth access token), zdr_ (OAuth refresh token), zdx_ (temporary sandbox key). Never paste real keys into prompts or code.
> Be honest about platform boundaries: cloud files require internet access, files are encrypted at rest and in transit by Cloudflare rather than end-to-end encrypted, ZeroDrive is not a replacement for an independent backup, Windows 11 support is an unsigned x64 beta, and the 7-day Pro free trial requires a card and charges automatically when it ends.

# Key Concepts

> Plain-English definitions of ZeroDrive terms, OAuth valet keys, and how MCP connects your AI apps.

Here is what every term in ZeroDrive means in plain words.

***

## ZeroDrive in plain terms

| Term | Plain meaning |
| :- | :- |
| **Vault / Primary Drive** | Your main cloud folder tree, mounted at `~/ZeroDrive/My Drive` on Mac and in File Explorer on Windows 11. |
| **Extra Drive** | A separate partitioned drive inside your account for a project, client, or AI agent, or an add-on 1 TB / 2 TB drive. |
| **Category (`bucket`)** | One of 10 built-in Knowledge Brain groups that keeps playbooks, swipes, client calls, code, and private notes separate. |
| **Corpus** | A focused collection of folders and file types you pick for one topic or project (up to 50 per account). |
| **Drive Map (`ROUTER.md`)** | A compact summary of your top folders so AI tools understand your drive in one quick read. |
| **Skill (`_SKILLS/`)** | A reusable Markdown recipe you save once and run in Claude Code, Codex, and Hosted MCP. |
| **Draft Branch** | A safe scratchpad copy of your drive where AI edits live until you review and merge them into `main`. |
| **Restore Point (Snapshot)** | A saved picture of your drive at one moment in time that uses zero storage quota. |
| **Sandbox Key (`zdx_`)** | A temporary key locked to one drive, folder, or branch that expires automatically. |
| **Trash & File History** | Deleted files rest in Trash for 30 days by default. Overwritten files keep old versions for 30 or 90 days. |

***

## What are MCP and OAuth?

### MCP works like a universal plug for AI

Normally, every AI app lives inside its own box and cannot see your files unless you upload them one by one. **MCP** (Model Context Protocol) is a standard plug that lets Claude, ChatGPT, Codex, and Cursor safely browse, search, and edit your drive directly.

### OAuth works like a hotel valet key

Giving an AI app access through **OAuth** is like handing a hotel valet a valet key instead of your house key. You never type your password into the AI app or copy secret keys into config files.

1. Click connect in Claude, Codex, Cursor, or ChatGPT.
2. ZeroDrive asks whether this app may read, edit, or delete files, and if it should stay inside one folder.
3. Click approve to hand that app its own scoped pass.
4. Change permissions or revoke that pass anytime in [app.zerodrive.dev/#connect](https://app.zerodrive.dev/#connect).

***

## Next steps

> [card] [Supported Files](https://docs.zerodrive.dev/getting-started/supported-files.md)
>
> See which file types work right away for streaming, AI edits, and Knowledge Brain.

> [card] [Choose AI Permissions](https://docs.zerodrive.dev/mcp/permissions.md)
>
> Learn how read, write, and single-folder locks keep AI tools safe.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.