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

# External Data Connectors

> Connect read-only PostgREST, HTTP SQL, JSON, and CSV feeds directly inside ZeroDrive folders.

External Data Connectors (**Pro**, **Pro Max**, and **Agency**) pull read-only data feeds straight into a ZeroDrive folder so people and AI tools can read clean CSV tables or run quick live queries.

| Type | Best for |
| :- | :- |
| `postgrest` | Supabase or PostgREST tables |
| `http_sql` | Read-only HTTP SQL endpoints |
| `json` | JSON REST API feeds |
| `csv` | Hosted CSV report URLs |

## Three quick steps

**1. Add the source**

```bash theme={null}
zd connector create --name crm-pipeline --type postgrest --mount-path "Data/CRM" --endpoint-url "https://example.supabase.co/rest/v1"
```

Tokens and headers stay encrypted and hidden when listing connectors.

**2. Sync CSV snapshots**

Run `sync_connector`, `POST /v1/connectors/{id}/sync`, or `zd connector sync <id>` to save `.csv` files, a schema file, and a `README.md` into your folder.

**3. Run read-only live queries**

Call `query_connector`, `POST /v1/connectors/{id}/query`, or `zd connector query <id>` for fresh rows (read-only, defaults to 200 rows max).


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