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

# Surfaces & SDKs

> onlyfanskit exposes one capability set through a hosted REST API, a hosted MCP server, a CLI, and a TypeScript SDK for types and reference.

onlyfanskit is one capability set behind four entry points. They share the
same account model, methods, and error contract. **Everything runs on onlyfanskit
infrastructure** — you connect accounts on the platform and call them with an
API key.

<CardGroup cols={2}>
  <Card title="REST API" icon="server" href="/api-reference/introduction">
    **Default.** Connect an account once, then call any method or stream events
    over HTTP with a bearer key.
  </Card>

  <Card title="Hosted MCP" icon="robot" href="/mcp/hosted">
    The full surface as agent tools. Your API key selects the connected account
    per call.
  </Card>

  <Card title="CLI" icon="terminal" href="/cli/overview">
    Connect accounts and run actions from the terminal using your API key.
  </Card>

  <Card title="TypeScript SDK" icon="code" href="/sdk/overview">
    Typed method reference and shapes. Use with the REST API; not a self-hosted
    runtime you operate.
  </Card>
</CardGroup>

## How to choose

| If you…                               | Use                            |
| ------------------------------------- | ------------------------------ |
| Are building a product or backend     | **REST API**                   |
| Are building with an AI agent         | **Hosted MCP**                 |
| Want quick terminal workflows         | **CLI**                        |
| Want types while composing REST calls | **TypeScript SDK** (reference) |

All surfaces use the same [connect flows](/connect/overview) and
[errors](/platform/errors).
