> ## 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.

# Install & configure

> Use the hosted MCP endpoint — the supported way to connect agents to onlyfanskit.

Production agents should use the [hosted MCP](/mcp/hosted) with your API key.
Connect creator accounts on the platform first, then pass each account `id` into
tools.

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "mcpServers": {
    "onlyfanskit": {
      "url": "https://mcp.onlyfanskit.dev",
      "headers": {
        "Authorization": "Bearer <your-api-key>"
      }
    }
  }
}
```

## Connect before you call tools

1. Create an API key in the [dashboard](https://onlyfanskit.dev/dashboard).
2. Link a creator with [Embedded connect](/connect/embed) or
   [Email + password](/connect/login).
3. List accounts: `GET /v1/accounts`.
4. Point your MCP client at `https://mcp.onlyfanskit.dev` with the bearer key.

See [Tools](/mcp/tools) for how tools are organized.
