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

# Introduction

> The official Dreep MCP server — give any AI agent a media pipeline.

`dreep-mcp` is the official [Model Context Protocol](https://modelcontextprotocol.io)
server for Dreep. It lets Claude, Cursor, VS Code, Codex, Gemini and any other MCP client
upload, transform, convert, OCR and deliver media through your Dreep project.

Ask your agent things like:

> *"Upload `~/Desktop/launch/hero.png` to `marketing/2026` and give me a 1200px WebP and a 400px square thumbnail."*
>
> *"Pull the text out of this scanned invoice."*
>
> *"Convert `contract.docx` to PDF and give me a link that expires in an hour."*
>
> *"Cut the background out of `product.jpg` and show it on white."*

## How it works

```mermaid theme={null}
flowchart LR
    A["AI agent<br/>(Claude, Cursor, Codex…)"] -- "MCP<br/>stdio or HTTP" --> S["dreep-mcp"]
    S -- "Dreep SDK<br/>(your API key)" --> API["Dreep API"]
    API --> CDN["Dreep CDN<br/>(or your custom domain)"]
    S -. "URL building:<br/>no network" .-> CDN
```

1. Your MCP client starts `dreep-mcp` on your machine over stdio, or connects to one you
   host over streamable HTTP.
2. The agent sees 14 [tools](https://docs.dreep.cloud/mcp/tools.md) — 16 with deletes enabled — each with a typed JSON
   schema that lists every valid transform value, so it calls them correctly the first time.
3. Each tool calls the official Dreep SDK ([Node](https://docs.dreep.cloud/node-sdk/introduction.md) or
   [Python](https://docs.dreep.cloud/python-sdk/introduction.md)), which talks to the API with your key. Delivery and
   signed URLs are built locally, with no API call.
4. Results come back as structured JSON. Every asset carries the delivery `url` exactly as
   Dreep returned it, custom CDN domain included.

## Two runtimes, one set of tools

There are two native servers, one for Node and one for Python, so you only need the runtime
you already have. They expose the same tools: the Python server exports its tool names,
descriptions and input schemas to a generated contract that the Node server serves, and CI
fails if the two drift apart.

| Runner | Command | Needs |
| :- | :- | :- |
| **npx** | `npx -y dreep-mcp` | Node 20+ |
| **uvx** | `uvx dreep-mcp` | [uv](https://docs.astral.sh/uv/) |
| **pip** | `pip install dreep-mcp`, then `dreep-mcp` | Python 3.10+ |

The [one known difference](https://docs.dreep.cloud/mcp/tools.md#differences-between-the-runtimes) comes from the Node
SDK.

## Quick start

**1. Create an API key**

On the **API Keys** page of your [Dreep dashboard](https://dreep.cloud). Add the URL
Signing Secret too if you use signed folders.

**2. Add the server to your client**

Every client needs the same three things: a command (`npx`), its arguments
(`-y dreep-mcp`), and your key in `DREEP_API_KEY`. See
[Installation](https://docs.dreep.cloud/mcp/installation.md) for the exact file and format per client.

```json theme={null}
{
  "mcpServers": {
    "dreep": {
      "command": "npx",
      "args": ["-y", "dreep-mcp"],
      "env": { "DREEP_API_KEY": "drp_live_your_key" }
    }
  }
}
```

**3. Ask for something**

Restart the client and the Dreep tools appear in its tool list. Ask it to upload a file
and give you a thumbnail.

> [!WARNING]
>
> Your API key can read, upload and delete everything in the project. It stays in the
> server's environment and is sent only to the Dreep API — never to the agent or the model.
> See [Security](https://docs.dreep.cloud/mcp/security.md).

## Where to go next

> [card] [Installation](https://docs.dreep.cloud/mcp/installation.md)
>
> Config for Claude, Cursor, VS Code, Windsurf, Codex, Gemini, Zed and the rest.

> [card] [Tools](https://docs.dreep.cloud/mcp/tools.md)
>
> What the agent can call, and what each tool returns.

> [card] [Configuration](https://docs.dreep.cloud/mcp/configuration.md)
>
> Environment variables, CLI flags and the HTTP transport.

> [card] [Security](https://docs.dreep.cloud/mcp/security.md)
>
> Key handling, deletes, file scoping and signed URLs.


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