fansly-mcp
The fansly-mcp server is a fully local analytics and automation hub that connects to the Fansly API using your own session, persisting metrics to a local SQLite database and exposing 49 MCP tools.
Session & Profile Management:
Verify session status, fetch profile metrics (followers, content, tiers, walls), manage multiple accounts, and switch between them.
Growth & Revenue Analytics:
Track subscribers, generate WoW/MoM comparative growth reports, forecast growth, measure income, analyze churn and conversion rates, audit tier promotions, set recession alerts, and identify top fans.
Content & Post Performance:
Analyze post performance (likes, comments, tips), compare top/bottom posts, rank posts, track post lifecycle, analyze hashtags and hashtag trends, generate a 7×24 posting heatmap, find optimal posting times, track and optimize for the For You Page (FYP), and audit your media vault for underperforming content.
Messaging & PPV Intelligence:
Analyze message flows, rank high-spending fans, get messaging metrics, correlate messaging with post performance, calculate PPV price elasticity, and get PPV pricing suggestions.
Tracking & Attribution:
Register and track links, record clicks, and attribute tip revenue to specific posts from persisted SQLite data.
Competitor Monitoring:
Discover, register, snapshot, classify, and benchmark competitors; track competitor growth, set alerts, view a scoreboard, benchmark hashtags, copy competitor strategies, and monitor competitive FYP.
Daily Orchestration:
Run a complete daily snapshot pipeline (with optional scheduler), plus resources and prompts for audits, weekly dashboards, and content planning.
Secure by Design:
100% local via STDIO transport, SQLite with WAL, HTTPS-only to Fansly's API, with auto-reauth via Chrome CDP.
Persists Fansly metrics and analytics data locally in a SQLite database (WAL mode), providing tools to analyze growth, churn, performance, and more from the stored snapshots.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fansly-mcpanalyze my post performance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fansly-mcp — Servidor MCP de analítica para Fansly
Consulta la API real de Fansly con tu propia sesión (token, Chrome CDP o perfil persistente) y persiste métricas en SQLite local. 100% local, transporte STDIO.
Requiere: Node.js ≥ 20 · sesión de Fansly
Features
49 herramientas MCP, agrupadas por dominio:
Dominio | Herramientas |
Perfil y sesión |
|
Métricas e ingresos |
|
Posts y contenido |
|
Mensajería y PPV |
|
Tracking y vault |
|
Competencia |
|
Orquestación |
|
Recursos: fansly://resumen, fansly://metricas/{fecha}, fansly://post/{postId}, fansly://competidores, fansly://hashtags
Prompts: auditar-perfil, analizar-contenido-rezagado, dashboard-semanal, plan-contenido-semanal, auditoria-competencia, analisis-post-profundo
Related MCP server: openpanel-mcp
Setup
npm install && npm run build
cp .env.example .env
# Env: FANSLY_TOKEN=<token|vacío> FANSLY_CDP_URL=http://127.0.0.1:9222
# FANSLY_ACCOUNTS='{"luna":{"cdpUrl":"...","userDataDir":"..."}}' FANSLY_ACTIVE_ACCOUNT=lunaSesión (fansly.com → DevTools → Console): JSON.parse(localStorage.getItem("session_active_session")).token
Flujo CDP (sin pegar tokens): con FANSLY_TOKEN vacío, el MCP relanza tu Chrome con debug port, reutiliza tu sesión de fansly y se re-autentica solo. Por modelo: npm run chrome-cdp -- <cuenta>.
Activación por cliente: configs opencode.json · .mcp.json · claude_desktop_config.json → guía completa en docs/09
Estructura
src/
config.ts → env (dotenv + zod)
index.ts → entrada MCP (STDIO + shutdown)
engine/fansly.ts → motor API resiliente (retries/backoff, refresh en 401)
engine/chrome-launcher.ts → Chrome CDP multi-perfil (compartido con scripts/)
engine/session.ts → token/sesión (readTokenFromStorage, CLEAN_SESSION_SCRIPT)
db/repository.ts → SQLite (WAL, migraciones, upserts)
tools/ → 49 herramientas MCP (+ helpers.ts, types.ts)
resources/ prompts/ → recursos y prompts
scripts/login.ts → auth manual en Chromium persistente
docs/ → documentación técnica (índice: docs/README.md)Seguridad
100% local; solo HTTPS a la API propia de Fansly.
.env,browser_data/,*.db*en.gitignore.Selfbot sobre API interna: revisa los ToS de Fansly. Uso personal/educativo.
Licencia: MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityBmaintenanceMCP server for the WhatsMyBudget Analytics API, providing tools to query budget periods, categories, accounts, and summaries.26
- FlicenseNot gradedqualityBmaintenanceMinimal MCP server for OpenPanel analytics, enabling queries for landing pages, page events, and tracked event names.

@vskstudio/takt-mcpofficial
AlicenseAqualityFmaintenanceMCP server for querying privacy-friendly website analytics from a self-hosted Takt instance, supporting metrics like visitors, pageviews, realtime activity, and more.1029MIT- AlicenseNot gradedqualityCmaintenanceMCP server for organic Instagram analytics via the Meta Graph API, providing read-only tools for profiles, media, insights, audience, and optional publishing.GPL 3.0
Related MCP Connectors
MCP server for interacting with the Supabase platform
MCP server for Withings health data — sleep, activity, heart, and body metrics.
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aronjesusfj-lang/mcp-fansly'
If you have feedback or need assistance with the MCP directory API, please join our Discord server