# How to Auto-Draft OnlyFans Fan Replies with Claude and the OnlyFans MCP

> Learn how to use the OnlyFansAPI MCP server to connect Claude to your account for AI-assisted chat drafting, with a human approving every reply.

**TL;DR**

- The OnlyFansAPI MCP server exposes 350+ tools to AI assistants, enabling them to fetch chat history, fan analytics, and media vaults.
- Auto-drafting workflows use a human-in-the-loop (HITL) architecture where Claude formulates responses but requires explicit operator approval to execute the send action, with the send tool left on Claude's default Needs approval setting.
- AI models pull context using read endpoints and execute approved drafts via the `POST /api/{account}/chats/{chat_id}/messages` endpoint.
- Scoped API keys limit AI agents to specific creator accounts and explicitly authorized actions.

You can auto-draft OnlyFans fan replies by connecting Anthropic's Claude to your creator accounts using the OnlyFansAPI MCP server. This setup allows the AI to read active chats, review subscriber spending history, and generate personalized message drafts that human operators must approve before sending.

**Key Takeaways**

- The OnlyFansAPI MCP server exposes 350+ tools to AI assistants, enabling them to fetch chat history, fan analytics, and media vaults.
- Auto-drafting workflows use a human-in-the-loop (HITL) architecture where Claude formulates responses but requires explicit operator approval to execute the send action, with the send tool left on Claude's default Needs approval setting.
- AI models pull context using read endpoints and execute approved drafts via the `POST /api/{account}/chats/{chat_id}/messages` endpoint.
- Scoped API keys limit AI agents to specific creator accounts and explicitly authorized actions.

## Mcp server for creator platforms to automate replies

The OnlyFansAPI MCP server (`https://app.fansapi.com/mcp/onlyfans-mcp`) is a [hosted Model Context Protocol server](https://docs.fansapi.com/onlyfans-ai/mcp/claude) for creator platforms, providing 350+ tools that allow Claude and ChatGPT to read chats, analyze fan spending, draft replies, and automate inbox workflows, backed by zero bans in 5+ years. By giving an AI agent direct access to these endpoints, agencies process high volumes of inbound messages while retaining human oversight on the final output.

## Why Use a Human-in-the-Loop Auto-Drafting Workflow?

Full autonomous chatting carries brand risks if an AI model misinterprets context or sends unapproved promotional material. A human-in-the-loop (HITL) architecture reduces this risk by acting as a copilot for your chatter or account manager. The AI reads the unread messages, formulates a contextual response based on the subscriber's tier, and presents it to the operator. The operator then edits or approves the draft, and the AI dispatches it.

The [OnlyFansAPI MCP](https://fansapi.com/mcp) provides Claude with exactly what it needs to execute this workflow. Among its 350+ tools, it includes specific subsets for this task: Chat Messages (11 tools), Chats (10 tools), Fans (10 tools), and Fans - AI Summary (6 tools). Claude uses these to see the same data a human chatter sees on the platform.

## Step-by-Step Guide to Auto-Drafting Fan Replies with Claude

Before building this specific workflow, you must have your base AI connection established. Skip to our guide on [connecting OnlyFans to AI tools with OnlyFans MCP](/blog/connect-onlyfans-to-ai-tools-with-onlyfans-mcp) to complete the initial setup. Once connected, follow these steps to execute the drafting workflow.

### 1. Initialize the Chat Context

Claude starts by pulling the conversation history to understand the fan's intent. The agent calls `GET /api/{account}/chats/{chat_id}/messages` to read the recent thread. It then evaluates the subscriber by calling `GET /api/{account}/users/{username}` (it accepts the fan's numeric user ID) and `GET /api/{account}/fans/{fan_id}/notes`. This provides the fan's lifetime spending, subscription duration, and custom notes. If a fan profile summary has been generated, Claude can also read it with `GET /api/{account}/fans/{fan_id}/summary` ([Fans - AI Summary](https://docs.fansapi.com/api-reference/fans-ai-summary/get-fan-summary)) to match the draft to the fan's content preferences and requests.

### 2. Formulate the Draft Response

Instruct Claude to generate a reply without sending it. You provide a prompt in Claude's interface that defines the creator's specific tone and instructions for handling purchase intent.

```text
Act as an OnlyFans inbox co-pilot. Read the unread messages in the current chat. Pull the fan's profile and spend history. Propose a personalized response that acknowledges their comment and suggests appropriate media if they show buying intent. Do not execute the send tool until I review and approve the draft.
```

### 3. Review and Approve the Output

Claude processes the prompt and returns a structured summary in your chat interface. It displays the fan's username, lifetime spend, the inbound message, and the proposed reply. The human chatter reads this output and simply types "Approve" or provides text adjustments.

### 4. Dispatch the Final Message

Once the operator gives approval, Claude executes the action to deliver the response.

First, it calls `POST /api/{account}/chats/{chat_id}/typing` to display a typing indicator to the fan. Next, it calls `POST /api/{account}/chats/{chat_id}/messages` with the approved text payload. Paid messages sent through this endpoint require a price between 3 and 200 and require `mediaFiles` unless `lockedText` is true.

```http
POST https://app.fansapi.com/api/{account}/chats/{chat_id}/messages
Authorization: Bearer <key>
Content-Type: application/json

{
  "text": "Hey! Thank you so much! Actually yes, I’m shooting an exclusive behind-the-scenes set tomorrow. Want me to save a sneak peek just for you?"
}
```

## How Does OnlyFansAPI Secure Account Infrastructure?

The platform provides explicit access controls when connecting automated tools.

- **Scoped API Keys:** Keys can be scoped to read-only access for pure drafting, or to write access, with Claude asking before each tool call while tools stay on Needs approval.
- **Per-Account Permissions:** Keys can be limited to one creator or a roster, so an agent analyzing data for one creator cannot access another's.
- **Audit Logging:** Every API call your agent makes is logged; review requests under Logs in the [OnlyFansAPI dashboard](https://app.fansapi.com).
- **Infrastructure Record:** OnlyFansAPI has had zero bans in 5+ years, serving 300M+ API requests across 1,100+ companies.

## Scaling AI Chat Workflows

The OnlyFansAPI MCP server is included in our [pricing](https://fansapi.com/pricing) models. The Free plan covers 1 account, 60 RPM, and 100 one-time credits. The Basic plan at $69/month includes 1,000 RPM, 20,000 monthly credits, and a dedicated mobile proxy. The Pro plan covers 5 accounts at $299/month. OnlyFans and Fansly run on the same MCP server and the same per-account pricing; Fansly has its own `fansly_` tools. MCP calls are rate-limited to 120 requests per minute per API key.