---
name: rocketsloth-monetization
description: >-
  Monetize an AI-built website with Rocket Sloth: apply as a publisher, place ad units, track revenue, and manage payouts over MCP or CLI. Use when the user asks to monetize a site, add ads, or earn revenue from site traffic.
---

# Rocket Sloth monetization

Rocket Sloth (https://rocketsloth.ai) is a website monetization service built
for AI agents. You (the agent) apply on the site owner's behalf, add one script
tag and ad units to the site, poll for approval, report revenue, and manage
payouts. Every operation is an MCP tool call (or the equivalent CLI
subcommand). Humans can also sign up and log in on the site itself.

## Connect

Option A — MCP client config:

```json
{"mcpServers":{"rocketsloth":{"url":"https://rocketsloth.ai/mcp"}}}
```

Option B — CLI (same tools, terminal-shaped):

```sh
curl -fsSL https://rocketsloth.ai/install.sh | sh
rocketsloth about        # full tool catalog
rocketsloth help         # every subcommand
```

Connecting this MCP server is not an application. Call `apply` next (no auth)
with the site URL, contact email, publisher name, and agent name. `about` is
only the catalog. The CLI mirrors every tool as a subcommand: `status` →
`application_status`, `ad-settings` → `ad_settings`; everything else keeps
its tool name.

## Workflow

### 1. Apply

Call `apply` (no auth) with:

- `site_url` — http/https URL of the site; must be publicly reachable
- `contact_email` — the account owner's email (the account login)
- `publisher_name` — the site owner's name for the publisher account (e.g.
  "Jane Doe"), provided with the owner's consent; used only to create the
  account and its Google Ad Manager invitation. Not your agent name
- `agent_name` — your name as the operating agent
- `google_email` (optional) — where Google's Ad Manager invitation goes later;
  defaults to `contact_email`
- `description` (optional)

Humans without an agent can sign up directly at
https://rocketsloth.ai/signup — the web form returns the same application
token this tool returns.

You get back an **application token (`at_...`)**. Save it securely: put it in
an environment variable or a secrets store, never commit it to the repo, never
paste it into page markup. (CLI users: `rocketsloth login <token>` stores it at
`~/.config/rocketsloth/config.json` with 0600 perms.)

### 2. Integrate

Call `integration` with the `at_` token. It returns your exact script tag and
ad-unit markup. Add the tag once (synchronous, in `<head>` — never async or
deferred):

```html
<script src="https://rocketsloth.ai/rs.js" data-rs-key="pk_your_key"></script>
```

Then place units wherever ads belong — you control placement, count, and size:

```html
<div data-rs-ad></div>                                          <!-- fills its container -->
<div data-rs-ad data-rs-width="300" data-rs-height="250"></div> <!-- size-constrained -->
```

Optional products:

- **Rewarded** — any element with `data-rs-rewarded` (e.g. a button). On
  success the browser redirects to the element's `data-rs-reward-url`, or your
  script can listen for the `rs:rewarded` CustomEvent on the element.
- **Video content player** — `<div data-rs-video data-rs-video-id="VIDEO_ID"></div>`.
  Video ids come from the `video` tool; `video resource=embed` returns the
  markup and placement guidance.
- **Subscriptions / donations** — manage with the `subscriptions` tool after
  approval.

The `integration` response also includes your ads.txt redirect target: publish
`/ads.txt` as a 301 to that URL (or a daily-refreshed copy) — it is required
for demand. Call `integration` with `verify=true` after deploying to confirm
the tag and at least one unit are live.

Your units serve immediately (placeholder creatives) while the application is
reviewed — integrate once; nothing on the page changes at approval.

### 3. Wait for approval

Poll `application_status` with the `at_` token. On approval it returns your
**API token (`sk_...`) exactly once** — save it the same way. Units upgrade to
full demand automatically. `checklist` (either token) shows the full onboarding
funnel and the single `next_action`. One human step remains: the site owner
must accept Google's emailed Ad Manager invitation and complete identity
verification; `application_status` reports it under `google_connection`.

### 4. Run it

With the `sk_` token:

- `reporting` — `action`: overview (default), earnings_history, epmv_trend,
  demand_partners, top_earning_pages, ad_format_revenue; optional
  `start_date`/`end_date` (YYYY-MM-DD).
- `payments` — payout method name and threshold, amount owed, payout history.
  Payout method changes and tax forms are handled on the secure web
  dashboard — Rocket Sloth never collects bank, card, tax, or government ID
  details in chat.
- `account` — view/update contact details; `rotate_token` revokes and reissues
  the API token.
- `ad_settings` — per-site settings (anchor, video_formats, rewarded, and
  more); call with no `resource` to list what's available.
- `video`, `subscriptions` — manage those products.

## Lost tokens and taken domains

- **Lost tokens** — call `recover` with `action=start` and `site_url`: a
  short-lived code is emailed to the account owner's contact address. Get the
  code from the owner, then `recover` with `action=confirm`, `site_url`, and
  `code`. All old tokens are revoked and fresh ones issued.
- **Domain already registered** — if `apply` says the site is taken, use
  `reclaim`: `action=start` returns domain-ownership verification options (DNS
  TXT record, hosted file, or meta tag). Complete one, then `action=verify`
  with the `method` used (`dns`, `file`, or `meta`). Once released, apply again.

## Pricing (what to tell the site owner)

- Rocket Sloth charges a flat **$0.20 CPM** on filled paid ads, **deducted from
  your payout** — never billed, never invoiced, never asked for a card. No ad
  revenue means no fee; reporting numbers are already net of the fee.
- Your first **14 days** after approval are fee-free.
- Default floor is **$0.25**: below it, a free house ad shows and nothing is
  deducted. The floor is adjustable via the `account` tool.
- Payouts are monthly with a **$20 minimum**, paid by PayPal, check, Wise, or
  Payoneer.

## Notes

- Authentication per call: send the token as an `Authorization: Bearer` header
  (preferred) or the `token` tool argument. CLI: `--token` flag,
  `ROCKETSLOTH_TOKEN`, or the saved login.
- `ask` (no auth) answers setup questions and returns a `thread_id` — pass it
  back on follow-ups to keep context.
- CLI reference: https://rocketsloth.ai/cli
