AI-assisted development
An MCP server that teaches your AI the OnlyFans API
BetterFans Link is built for AI-assisted development. The SDK is fully typed, and the @betterfans/mcp-server package puts the complete documentation inside your coding assistant, so it looks up real routes and examples instead of guessing.
{
"mcpServers": {
"betterfans": {
"command": "npx",
"args": ["-y", "@betterfans/mcp-server"]
}
}
}MCP server
What's included
search_docs
Your assistant searches the OnlyFans API documentation by keyword while it writes code.
get_full_docs
The complete SDK documentation with every code example, in one tool call.
get_quickstart
The setup guide, so a new project starts from the right install and client configuration.
Doc resources
An index, the full docs and individual pages exposed as MCP resources.
Works where you work
Claude Code, Cursor, Windsurf and any other client that speaks the Model Context Protocol.
Plus llms.txt
Prefer plain text? /llms.txt and /llms-full.txt serve the same docs for any model.
FAQ
Frequently asked questions
What does the BetterFans Link MCP server do?
It connects your AI coding assistant to the BetterFans Link documentation over the Model Context Protocol. The assistant gets tools to search the docs, fetch the quickstart and load the complete reference with code examples, plus resources for individual pages. Instead of inventing OnlyFans endpoints from memory, it looks up the real typed routes before writing code for you.
How do I add the MCP server to Claude Code or Cursor?
Add a server entry named betterfans that runs npx -y @betterfans/mcp-server. In Claude Code that goes in your project .mcp.json, and in Cursor it goes in .cursor/mcp.json. Windsurf uses the same command in its MCP config. Restart the assistant and the tools appear. The server only serves documentation, so it needs no API key.
Can I vibe code an OnlyFans app with this?
That is what it is built for. The SDK types every route, parameter and response, so your editor and assistant always know what a call accepts and returns. With the MCP server connected, you can describe a feature in plain English, such as sending vault content to your top spenders, and get working code that type-checks against the real API.
Does the MCP server access my OnlyFans accounts?
No. The MCP server only serves documentation to your assistant and never touches account data. Your application talks to OnlyFans through the SDK with your own API key, which you keep in an environment variable and never paste into prompts. This keeps credentials out of AI tool context while still letting the assistant write the integration.
Related
Keep exploring the API
Chatbot API
Listen for new messages on every account over one WebSocket and reply with typed calls.
Messaging API
Send DMs, mass messages and PPV with vault media attached. Search chats and manage read state.
Webhooks and events
Typed events for messages, tips, subscribers and PPV over one WebSocket, plus signed transaction webhooks.
LET’S BUILD SOMETHING BETTER
Your next big idea starts with a connection.
Build the tools your team has been waiting for. We’ll handle the connection to OnlyFans.
Your ideas. Your interface. BetterFans Link underneath.