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

# Coding agent support

> Turn your coding agent into an onlyfanskit expert. These docs are built for AI agents as much as for people — with an llms.txt index, per-page context actions, and a hosted MCP server.

These docs are designed to be read by agents as well as people. Point your
coding assistant at onlyfanskit and it can scaffold a working integration,
look up any method, and explain errors — without you copy-pasting docs.

## Give your agent the docs

Every page is available as clean Markdown, and the whole site is indexed for
language models.

<CardGroup cols={2}>
  <Card title="llms.txt index" icon="list" href="https://docs.onlyfanskit.dev/llms.txt">
    A machine-readable map of every page. Drop it into any agent's context to
    let it discover the full surface before it starts.
  </Card>

  <Card title="Per-page Markdown" icon="markdown">
    Append `.md` to any docs URL, or use the contextual menu (top-right of any
    page) to copy the page or open it in ChatGPT, Claude, or Cursor.
  </Card>
</CardGroup>

## Connect the MCP server

The onlyfanskit MCP server exposes the entire API as agent tools. Connect it
to any MCP client and your agent can run an account in plain language —
connect, read chats, send messages, pull earnings.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
npx onlyfanskit-mcp
```

See [AI Agents → Model Context Protocol](/mcp/overview) for install steps,
the full tool list, and the hosted option.

## Prompt your agent

Once your agent has the docs (or the MCP server), prompts like these work out
of the box:

<CodeGroup>
  ```text Scaffold theme={"theme":{"light":"github-light","dark":"github-dark"}}
  Using onlyfanskit, write a script that connects an account via the hosted API
  (login or embedded connect) and sends "Welcome!" to every new subscriber.
  ```

  ```text Look up theme={"theme":{"light":"github-light","dark":"github-dark"}}
  With the onlyfanskit MCP server, list the connected account's top 10 fans by
  spend this month.
  ```

  ```text Debug theme={"theme":{"light":"github-light","dark":"github-dark"}}
  I'm getting AgeVerificationError when bookmarking a post with onlyfanskit.
  What does it mean and how do I handle it?
  ```
</CodeGroup>

<Note>
  Agents act with the same permissions as the API key or session you give
  them. Scope keys narrowly and review what an autonomous agent does on a
  connected account.
</Note>
