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.
Credentials
The MCP server reads the connected session from environment variables:| Variable | Description |
|---|---|
OF_COOKIE | Full Cookie header value. |
OF_X_BC | The x-bc value. |
OF_USER_ID | Numeric user id. |
OF_USER_AGENT | Optional — reuse the browser’s UA. |
MCP_API_KEY | Optional — protect the server itself. |
STDIO (desktop agents)
Most desktop agents (e.g. Claude Desktop) launch MCP servers over STDIO. Add an entry to your agent’s MCP config:HTTP
For hosted runtimes, run the server over HTTP:http://localhost:3001. Set MCP_API_KEY to require a
key on inbound connections.
The MCP server acts on a single connected session at a time, taken from
the environment. To drive many accounts from one agent, use the
hosted MCP, which selects the account per call.