Docs overview

What you can build with Drefly integrations, how sign in works and where to start.

New to Drefly Ads?

Start with the agents quickstart to connect Claude, ChatGPT or Cursor and book your first ad in a few minutes.

Prerequisites

To use the Drefly integrations you need:

  • A Drefly Ads account at ads.drefly.pro with a confirmed email, for AI agents
  • A Slack workspace where you can install apps, for Drefly for Slack
  • An MCP client such as Claude, ChatGPT, Claude Code, Cursor or VS Code, or your own code

Available integrations

Drefly offers these integrations:

  • Drefly Ads for AI agents (POST https://ads.drefly.pro/api/ads/mcp): a remote MCP server that lets an agent plan, book, get the payment link for and track sponsor ads. Read the overview.
  • Drefly for Slack: the /drefly and /drefly-dev commands, five shortcuts and playable previews for recording links. Read the overview.

Authentication

Requests to the Drefly Ads MCP server include these headers:

HeaderValueRequired
AuthorizationBearer followed by a one click access token (dro_) or an API key (dra_)Yes
Content-Typeapplication/jsonYes
Acceptapplication/json, text/event-streamRecommended

Getting access

Most apps connect with one click: they sign in through OAuth and you press Allow, so there is nothing to copy. For scripts and servers, create an API key under Agents in the Drefly Ads portal.

Request and response format

The server speaks JSON-RPC 2.0 over Streamable HTTP. Every request is a single JSON-RPC message sent with POST, and every reply is JSON. The server keeps no session between requests.

Request size limits

EndpointMaximum request size
MCP server7 MB
One time upload link90 MB for video, 5 MB for images
OAuth endpoints16 KB

Rate limits and availability

Each connection can make 60 calls a minute and 30 writes an hour, with more limits on new ads, uploads and checkouts. See rate limits for the full list. Live uptime is on status.drefly.pro.

Next steps

Was this page helpful?