Slashloop MCP server
2026년 11월 12일 커밋TikTok 니치 시장을 추적하고, 아웃라이어 영상을 식별하며, Gemini 비디오 분석을 통해 창의적인 훅과 브리프를 생성합니다.
다른 이름 man0l/slashloop, slashloop
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 1.0.0
- 마지막 커밋
- 2026년 11월 12일
- 라이선스
- —
Slashloop MCP란?
Slashloop은(는) MCP server입니다. TikTok 니치 시장을 추적하고, 아웃라이어 영상을 식별하며, Gemini 비디오 분석을 통해 창의적인 훅과 브리프를 생성합니다.
프로젝트 README에서 생성된 요약
Slashloop MCP server 정보
콘텐츠 크리에이터와 소셜 미디어 리서처는 Slashloop를 사용하여 TikTok, Reels, Shorts에서 바이럴되는 숏폼 비디오 트렌드를 찾는 과정을 자동화할 수 있습니다. 이 MCP server는 특정 니치 내에서 아웃라이어 영상을 식별하고, Gemini 비디오 분석을 사용하여 성공적인 콘텐츠를 창의적인 훅, 새로운 아이디어, 상세한 브리프로 변환합니다. Cloudflare Workers에서 호스팅되는 원격 HTTP MCP server로 작동하므로, 사용자는 로컬 설치를 관리하거나 Gemini 또는 스크래퍼 프록시와 같은 민감한 API 키를 직접 다룰 필요가 없습니다.
사용자는 커스텀 커넥터 엔드포인트를 추가하여 Claude Desktop, Claude Code 또는 claude.ai를 통해 연결할 수 있습니다. Claude Code 사용자는 marketplace를 통해 slashloop-sources 또는 slashloop-gallery와 같은 특정 Agent Skills를 설치할 수도 있습니다. 이 시스템은 피드 관리, 비디오 분석 및 워크스페이스 설정 관리를 위해 63가지의 다양한 도구를 제공합니다. 인증은 Supabase OAuth2를 통해 관리되어 AI 클라이언트와 리서치 데이터 간의 안전한 연결을 보장합니다.
활용 사례
- 1바이럴 비디오 아웃라이어 식별특정 니치에서 평균보다 훨씬 높은 성과를 보이는 영상을 찾아 신규 트렌드를 포착합니다.
- 2창의적인 콘텐츠 브리프 생성AI 분석을 사용하여 성공적인 숏폼 영상을 구조화된 크리에이티브 브리프와 매력적인 훅으로 변환합니다.
- 3니치 추적 자동화특정 TikTok 크리에이터나 주제를 모니터링하여 콘텐츠 성과를 지속적으로 파악합니다.
- 4비디오 콘텐츠 심층 분석Gemini 네이티브 프로세싱을 사용하여 비디오 파일을 심층 분석하고 더 정교한 콘텐츠 인텔리전스를 확보합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Slashloop MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Slashloop MCP 설치
$ claude mcp add --transport http slashloop https://mcp.slashloop.dev/mcpCursor에 Slashloop MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"slashloop": {
"url": "https://mcp.slashloop.dev/mcp"
}
}
}VS Code에 Slashloop MCP 설치
.vscode/mcp.json
{
"servers": {
"slashloop": {
"type": "http",
"url": "https://mcp.slashloop.dev/mcp"
}
}
}VS Code CLI에 Slashloop MCP 설치
$ code --add-mcp '{"name":"slashloop","type":"http","url":"https://mcp.slashloop.dev/mcp"}'Codex에 Slashloop MCP 설치
$ codex mcp add slashloop --url https://mcp.slashloop.dev/mcpCodex config.toml에 Slashloop MCP 설치
~/.codex/config.toml
[mcp_servers.slashloop] url = "https://mcp.slashloop.dev/mcp"
Gemini CLI에 Slashloop MCP 설치
$ gemini mcp add -s user --transport http slashloop https://mcp.slashloop.dev/mcpGemini settings.json에 Slashloop MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"slashloop": {
"url": "https://mcp.slashloop.dev/mcp",
"type": "http"
}
}
}자동 검사
2026년 11월 15일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능man0l/slashloop is public and reachablegithub.com/man0l/slashloop ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)No license결함 발견
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-12github.com/man0l/slashloop ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답HTTPS endpoint answered 401 (sign-in required)통과
README
GitHub에서 보기slashloop
Hosted MCP server for viral short-form video research — track TikTok / Reels / Shorts sources, find outlier videos, run Gemini video analysis, and turn winners into hooks, ideas, and creative briefs.
Remote HTTP MCP only (no local stdio server): hosted on Cloudflare
Workers (D1 + R2 + KV + Cron Triggers), authenticated via Supabase OAuth2
until the native-IdP swap (see docs/cf-full-backend-plan.md). Vercel is
retired. API keys (Gemini, the scraper proxy) live server-side,
so installers never handle them.
| Surface | Where | Install | Client |
|---|---|---|---|
| Claude plugin | claude-plugin/ |
/plugin marketplace add man0l/slashloop |
Claude Code |
| Connector | deployed host | add …/mcp as a custom connector |
Claude Desktop, Cowork, claude.ai |
Live endpoint: https://mcp.slashloop.dev/mcp
Agent skills
skills/ contains installable agent skills for the remote MCP:
slashloop-sources, slashloop-refresh, slashloop-gallery,
slashloop-experiments, and slashloop. After publication to npm, install
them with:
npx slashloop-skills install --codex
Use --claude, --project, or --target <skills-dir> for another skills
root. Copy a skill directory into your agent's skills root (for Codex,
$CODEX_HOME/skills) and read its SKILL.md before running the workflow.
Every skill requires an explicit workspace ID or exact workspace name; none
silently defaults to the primary workspace.
src/
register-tools.ts # 63 tools, shared with the remote host
tools/ # sources, feed, video, hooks, creative, studio, settings, experiments
analysis/ # Gemini native + text analyzers
lib/ # scrapers, gemini, spend-cap, storage, media, retention
remote/ # OAuth + Streamable HTTP handlers
api/ # Web-standard per-method handlers, dispatched by the Worker
# via src/cf/router.ts (several URL paths share one file).
api/billing.ts # Checkout, Billing Portal, status — called by slashloop-site
api/stripe/ # Webhook — the only thing that grants/revokes credits
api/cron/ # Scheduled jobs (media retention sweep, weekly digest)
claude-plugin/ # Claude Code plugin (skills + bundled remote MCP)
Install
Claude Code (plugin — skills + remote MCP)
/plugin marketplace add man0l/slashloop
Then install slashloop from the Marketplace tab. The plugin registers the
remote MCP server and the /slashloop:track, /slashloop:discover skills.
On first tool call, complete the Supabase OAuth login in the browser.
Claude Desktop / Cowork / claude.ai (connector)
Settings → Connectors → Add custom connector →
https://mcp.slashloop.dev/mcp → log in → consent.
All 63 tools (plus whoami) are then available; ask in plain language
("track tiktok creator @x", "find outlier videos about Y").
The
/slashloop:track//discoverslash shortcuts are Claude Code plugin skills. In Desktop/Cowork you don't need them — the connector exposes every tool directly.
Self-host (Workers primary; Supabase OAuth)
Cutover in progress: Worker + D1 is primary (
docs/cf-full-backend-plan.md, runbookdocs/cloudflare-migration.md, checksdocs/cf-cutover-checklist.md). Below is the Supabase OAuth setup and local dev server.Vercel is retired (project deleted,
api/mcp.ts/api/pages.tsentrypoints removed in SLA-1243). The Supabase steps below are kept for the OAuth setup;remote:devis the local server.
1. Supabase dashboard
- Auth → URL Configuration → Site URL = your public connector URL.
- Auth → OAuth Server → Enable. Authorization path =
/oauth/consent. Turn on Dynamic client registration. - JWT signing → asymmetric (RS256).
- Email/password enabled + a user.
2. Env
cp .env.example .env
# DATABASE_URL + DIRECT_URL (Supabase Postgres pooler)
# SUPABASE_URL, SUPABASE_ANON_KEY
# GEMINI_API_KEY, SCRAPER_PROXY_URL, PROXY_TRAFFIC_CAP_GB, PUBLIC_URL
3. Run / deploy
bun install
bun run remote:dev # local: http://localhost:8788 (+ tunnel for OAuth)
Schema changes
Production schema is managed by Supabase migrations, not Prisma. SQL files
in supabase/migrations/ are applied by the Supabase GitHub integration on
merge to the default branch. prisma/schema.prisma stays the source of truth
for the client (types + query builder) — the two must be kept in sync by
hand.
To add a schema change:
# 1. Edit prisma/schema.prisma
# 2. Generate the delta SQL (offline — no DB connection needed):
bunx prisma migrate diff \
--from-schema-datamodel <schema.prisma before your change> \
--to-schema-datamodel prisma/schema.prisma \
--script > supabase/migrations/$(date +%Y%m%d%H%M%S)_your_change.sql
# 3. Harden it with IF NOT EXISTS guards (see the billing migration for the
# pattern), commit, and merge — Supabase applies it.
bun run db:generate # refresh the Prisma client
Media storage (optional)
TikTok cover images and MP4s are persisted to Supabase Storage so the feed
doesn't render broken images once the source CDN's signed URLs expire, and so
re-analysis can skip a metered proxy download. Leave SUPABASE_SECRET_KEY unset and
the entire path no-ops — everything else works as before.
Setup is one step: set SUPABASE_SECRET_KEY and CRON_SECRET in Vercel. Two
buckets are needed — thumbs (public, 5MiB, images only) and media
(private, 100MiB, video/mp4 only).
supabase/migrations/*_media_storage_buckets.sql creates them if they're
absent, so a fresh project or a local supabase start comes up ready.
That migration is create-only (
ON CONFLICT DO NOTHING) — it never reconciles a bucket that already exists, so dashboard settings are safe from it. It also downgrades a permissions failure onstorage.bucketsto aNOTICErather than blocking a deploy.So on a project whose buckets were created by hand — which includes this one — the size limits and mime allowlists above do not exist and will not be added by deploying. A bucket made in the dashboard has no limit unless someone typed one in. Nothing breaks without them; they are a ceiling, not a requirement. To actually get them, set them in the dashboard.
The setting that does matter is
mediamust be private — public would mean an open mirror of scraped video. Worth confirming once.
Retention defaults to 3 days and is a per-workspace setting changed via the
update_settings tool, capped per plan. Supabase has no object lifecycle
rules, so expiry runs as a daily Vercel Cron (/api/cron/media-retention).
Analysis runs off the request path
analyze_video with the gemini-native backend queues rather than
analysing inline, and returns a jobId. Poll get_video — analysisJob
reports progress, analysis carries the result once it lands. gemini-text
still returns its analysis directly; it is one text call and finishes in
seconds.
The reason is a hard ceiling, not a preference: a native analysis has to
download the MP4, upload it to Gemini, wait for processing and then generate,
which does not fit api/mcp.ts's 60s maxDuration — and the Vercel plan
cannot raise it. The MCP client applies its own timeout too, so a synchronous
call could not be rescued by a bigger server budget anyway.
Enqueueing fires a non-blocking call to /api/jobs/analyze, which runs the job
on a fresh invocation with its own 60s. That dispatch is best-effort and nothing
depends on it.
What makes the queue reliable is pg_cron, running inside Postgres every
minute (supabase/migrations/*_pgcron_drain_analyze_jobs.sql). Vercel Cron is
capped at one run per day on this plan and rejects sub-daily expressions at
deploy time; pg_cron is not subject to that at all. Each minute it POSTs
/api/jobs/analyze, but only when a row is queued or running — so an idle
queue costs zero function invocations.
The job does nothing else: recovering abandoned claims is the worker's job, in
TypeScript, so MAX_ATTEMPTS and STUCK_AFTER_MINUTES have exactly one
definition (src/lib/jobs.ts) instead of a second copy in SQL that drifts.
running is in the gate because only the worker can decide a claim is
abandoned.
Two secrets must exist in Supabase Vault or the job is a deliberate no-op:
| Vault secret | Value |
|---|---|
cron_secret |
must equal the CRON_SECRET env var the worker checks |
worker_base_url |
e.g. https://mcp.slashloop.dev, no trailing slash |
They are read by name at run time and are not in the migration. If you rotate
CRON_SECRET in Vercel, update the Vault copy too, or the drain silently 401s.
There is deliberately no Vercel Cron fallback for this. A daily duplicate of a
per-minute job is a third code path earning its keep only if pg_cron breaks, and
it would mask that breakage rather than surface it. If the drain stops, jobs
visibly pile up in queued — which is the signal you want.
Full design, including the later phases: docs/media-storage-plan.md.
⚠️ Do not run
bun run db:pushagainst production. It bypasses the migration history entirely and will drift from what Supabase has applied. It exists only for throwaway local databases. Likewise, never runprisma migrate— it maintains its own_prisma_migrationstable that Supabase knows nothing about.
Routes
| Route | Purpose |
|---|---|
POST /mcp |
MCP endpoint (Bearer JWT) |
GET /.well-known/oauth-protected-resource |
RFC 9728 → Supabase AS |
GET /login |
Email/password sign-in |
GET /oauth/consent |
Consent UI |
GET /health |
Liveness |
POST /api/billing/checkout |
Bearer JWT. Creates a Stripe Checkout Session, returns { url } |
POST /api/billing/portal |
Bearer JWT. Creates a Billing Portal session, returns { url } |
GET /api/billing/status |
Bearer JWT. Returns { planKey, planCredits, packCredits, periodEnd, billingStatus } |
POST /api/stripe/webhook |
Stripe signature, not JWT. The only thing that grants/revokes credits |
POST /api/jobs/analyze |
CRON_SECRET. Drains queued analyses off the request path |
GET /api/cron/media-retention |
CRON_SECRET. Daily. Expires stored media |
The three /api/billing/* routes carry CORS for SITE_URL (the landing site's
origin); /mcp and /api/stripe/webhook don't need it — neither is called
from a browser.
Required variables
| Variable | Required? | Purpose |
|---|---|---|
DATABASE_URL |
yes | Supabase Postgres pooler (?pgbouncer=true&connection_limit=1) |
DIRECT_URL |
local only | Supabase session-mode URL (port 5432). Prisma's datasource declares it, but production schema changes go through supabase/migrations/ — see "Schema changes" above |
SUPABASE_URL |
yes (remote) | https://YOUR-PROJECT.supabase.co |
SUPABASE_ANON_KEY |
yes (remote) | Supabase publishable key |
GEMINI_API_KEY |
yes | Powers gemini-native (primary) + gemini-text (fallback) analysis, hook variations, briefs |
SCRAPER_PROXY_URL |
for live TikTok | Residential proxy for list scrapes + single-video download |
PROXY_TRAFFIC_CAP_GB |
optional | Monthly proxy traffic cap in gigabytes of wire bytes, i.e. compressed + headers (default 0.25) |
PUBLIC_URL |
yes (prod) | Public origin Claude reaches |
SITE_URL |
yes (billing) | Origin of slashloop-site — Checkout/Portal redirects + CORS |
STRIPE_MODE |
no (default live) |
live or test — which key set the app uses |
STRIPE_SECRET_KEY / STRIPE_TEST_SECRET_KEY |
yes (billing) | Live / test Stripe API keys |
STRIPE_WEBHOOK_SECRET / STRIPE_TEST_WEBHOOK_SECRET |
yes (billing) | Live / test signing secrets for /api/stripe/webhook |
STRIPE_PRICE_* / STRIPE_TEST_PRICE_* |
yes (billing) | Live / test Price ids (CREATOR_MONTH, CREATOR_YEAR, PRO_MONTH, PRO_YEAR, PACK). On the Cloudflare Worker they arrive as one STRIPE_PRICES JSON binding (keyed by these names, built by sync-worker-secrets.mjs); the per-name vars remain a fallback |
SUPABASE_SECRET_KEY |
optional | Enables media storage. Unset = the whole media path no-ops |
STORAGE_THUMB_BUCKET / STORAGE_MEDIA_BUCKET |
optional | Bucket names (default thumbs public, media private) |
THUMB_RETENTION_DAYS_DEFAULT / MEDIA_RETENTION_DAYS_DEFAULT |
optional | Seeds new workspaces only (default 3). Retention itself is a per-workspace setting |
RETENTION_DAYS_MAX |
optional | Absolute ceiling above any plan's allowance (default 90) |
CRON_SECRET |
yes (storage) | Guards /api/cron/*. The retention sweep deletes media — it must not be publicly invocable |
See docs/stripe-implementation-plan.md for the full Stripe dashboard setup
(products, prices, webhook registration). Schema is applied by the Supabase
migration in supabase/migrations/ on merge; the remaining manual step is
populating the env vars above from a real Stripe account.
Tool inventory (63 tools, plus whoami on the remote host)
| Module | Tools |
|---|---|
| Sources (8) | list_sources, get_source, create_source, update_source, delete_source, refresh_source, suggest_sources, dismiss_suggested_source |
| Discover (1) | discover |
| Feed (3) | get_feed, search_library, get_outlier_summary |
| Video (3) | get_video, analyze_video, get_video_transcript |
| Hooks (4) | list_hooks, extract_hook, generate_hook_variations, list_hook_variations |
| Creative (16) | list_boards, get_board, create_board, save_to_board, export_board, list_ideas, get_idea_queue, create_idea, update_idea_status, create_brief, get_brief, list_briefs, export_brief, generate_script, get_script, list_scripts |
| Studio (2) | get_weekly_retro, get_benchmark |
| Experiments (10) | list_experiments, get_experiment, create_experiment, estimate_experiment, plan_experiment, update_experiment_variant, generate_experiment, retry_experiment, cancel_experiment, delete_experiment |
| Settings (7) | get_usage, get_settings, update_settings, get_refresh_logs, run_auto_analyze, get_apify_spend_status, get_digest |
| Gallery (1) | show_gallery |
| Fetch (1) | fetch_videos |
| Baselines (2) | deepen_baselines, rescore_sources |
| Jobs (2) | await_job, get_job_status |
| Schedule (2) | list_due_sources, refresh_due_sources |
| Workspaces (1) | list_workspaces |
Experiments are the agent-facing twin of the site's /experiments page and
wrap the same service as api/experiments.ts (src/experiments/service.ts):
create_experiment (free draft, one experiment per source slideshow, or mode:"brief" for a single draft with no source video) →
estimate_experiment stage plan → user approves → plan_experiment
(background analysis + pattern report + variant briefs) → status review →
optional update_experiment_variant → estimate_experiment stage generate
→ user approves → generate_experiment (background rendering). Every
spending tool takes approvedCredits and refuses if the fresh estimate is
higher; omitted idempotency keys are derived from the request, so an identical
retry replays instead of duplicating.
discover is the keyword-driven front door: paste a niche (keywords, #hashtags,
@handles) → AI expands into seed keywords → each seed gets a small real probe
scrape → hashtags + creators are mined from sampled captions with view
evidence → pick from verified suggestions to track. The site's Discover screen
(/discover) drives the same pipeline over REST (POST /api/sources/discover
/api/sources/discover/mine).
Spend cap behavior
- Cap:
PROXY_TRAFFIC_CAP_GBper calendar month - Enforced at: every
refresh_source(and single-video download) before proxy traffic is spent - On breach: the call is refused, a
cap_breachevent is persisted toUsageLog, and the optionalAPIFY_CAP_NOTIFICATION_HOOKfires - To check: call
get_scraper_spend_status(get_apify_spend_statusis the legacy name of the same tool) - Historical Apify spend rows stay in
UsageLogand are still reported - Resets on the first of each calendar month.
Architecture notes
- Stateless per request: each
POST /mcpbuilds a fresh transport +McpServer(WebStandardStreamableHTTPServerTransport), scoped by the JWTsubviarunWithUser(AsyncLocalStorage) →requireWorkspace(). - Multi-tenant: every workspace lookup keys off the Supabase user id; JWT scoping isolates users.
- Failure tracking is DB-backed (
Workspace.failureCountsJson) so the "2 consecutive failures → fallback" rule survives across stateless requests. Entries decay after an hour, and a success clears only the streak of the backend that succeeded — an account-level failure (OpenRouter out of balance) also parks that backend in a penalty box for the rest of the window. - No in-process scheduler:
run_auto_analyzeis an on-demand tool; for nightly batch usebun src/scripts/auto_analyze_cron.ts. - Batch discount:
run_auto_analyzepassesbatch: true→BATCH_COST_ESTIMATES(50% Gemini Batch API discount). Singleanalyze_videouses interactive rates. - Schema is the contract: both analyzers emit the same
VideoAnalysisDataZod schema; unfilled fields arenullwith ananalysisBasistag.
Scripts
| Script | Purpose |
|---|---|
bun run remote:dev |
Local remote host with watch (port 8788) |
bun run seed |
Seed mock data |
bun run db:push |
⚠️ Local/throwaway DBs only — never production (see "Schema changes") |
bun run db:generate |
Generate Prisma client |
bun src/scripts/auto_analyze_cron.ts |
External cron entry for nightly batch |
VPS worker (optional — removes the 60s ceiling)
Vercel Hobby caps functions at 60s, which a full-length OpenRouter video analysis (Qwen needs ~45s+ on a 10s clip and >50s on real clips) cannot fit. The same queue can be drained by a long-running worker with no wall-clock limit:
src/worker/process-job.ts— the per-job processing switch (fetch / analyze / rescore / refresh), shared by the Vercel worker (api/jobs/analyze.ts) and the VPS loop, so the retry/refund policy lives in exactly one place.src/worker/index.ts—bun run worker: reclaims stuck jobs, claims in priority (fetch → analyze → rescore → refresh) withFOR UPDATE SKIP LOCKED(safe to run alongside the Vercel worker / pg_cron — jobs are never double-claimed), processes with no budget, idlesWORKER_IDLE_MS(default 3s).- Docker:
docker build -t slashloop-worker -f worker/Dockerfile .and run withworker/.env.example(same env as Vercel plusOPENROUTER_VIDEO_TIMEOUT_MS/OPENROUTER_VIDEO_MAX_DURATION_SEC). - If the VPS dies, pg_cron keeps poking Vercel's worker → text-level analysis still works.
Slashloop MCP 질문
Slashloop MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --transport http slashloop https://mcp.slashloop.dev/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Slashloop MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Claude Code에 Slashloop를 어떻게 설치하나요?
/plugin marketplace add man0l/slashloop 명령어를 사용한 뒤, Marketplace 탭에서 slashloop를 설치하면 됩니다.
서버에서 제 API 키를 관리하나요?
네, Gemini 및 스크래퍼 프록시용 API 키는 서버 측에 저장되므로 사용자가 직접 관리할 필요가 없습니다.