Skip to main content
Glama

Freevibes

CI License Node

A universal Model Context Protocol server that lets MCP-compatible coding agents — Claude Code, Muse Code, Codex, Zed, Cursor, VS Code and others — create AI images and videos from a natural-language request.

You → Claude Code: "Generate a cinematic 10-second video of an Indian warrior
                    riding across a historical battlefield."
     Claude Code → Freevibes → provider → job → download → validate → file
     Claude Code ← /home/you/.freevibes/assets/warrior-20261110-144012-a3f9c1.mp4

Status: two providers, one honest about its limits

Freevibes ships two generation providers. You choose one; neither is a placeholder.

1. meta-vibes-free — default, and blocked

Meta publishes no API for Vibes: no endpoint, no request schema, no OAuth client. Meta Model API is a different product — it has a documented image model (muse-image-1.0) that is paid ($0.01/image, no free tier), and no video-generation model at all. Video is only an input, for understanding and segmentation.

So this provider is a real, honest BLOCKED adapter: it answers capability queries accurately, refuses generation with a structured reason and a source URL, and never fabricates a result. Full evidence: docs/META-FEASIBILITY.md.

2. vibes-unofficial — opt-in, generates for real

Drives VibesAI-api, a maintained Python sidecar that speaks vibes.ai's private endpoints, keeps your session refreshed and can re-login automatically from auth.meta.com cookies — so you copy cookies once, not once per job.

Coding agent → Freevibes (MCP) → HTTP → VibesAI-api sidecar → vibes.ai

It is reported as UNOFFICIAL, never as verified or supported, because Meta does not sanction it: it may breach the Vibes terms, can break whenever Meta changes their web app, and a session cookie is a live credential for your account. It is off by default and requires FREEVIBES_ALLOW_UNOFFICIAL=true. Setup and risks: docs/UNOFFICIAL-VIBES.md.

The infrastructure — MCP server, tool contracts, orchestrator, SQLite store, downloader, media validator, asset manager, installer, tests and CI — is shared by both and fully tested.

Related MCP server: forge-mcp

What is built

Component

State

MCP server over stdio, 9 tools

Working

Provider interface + registry (no silent fallback)

Working

meta-vibes-free provider

Working — returns structured BLOCKED

vibes-unofficial provider

Working — opt-in, real generation via a sidecar

Job orchestrator with crash recovery

Working

SQLite job/asset store (WAL, migrations)

Working

Prompt engine (deterministic, offline)

Working

Downloader (byte cap, timeout, host allowlist)

Working

Media validator (magic bytes, hashing)

Working

Asset manager (atomic, content-checked)

Working

Installer for 8 MCP clients

Working

Test suite

139 unit tests + 21-check end-to-end smoke test

Meta generation, sanctioned

BLOCKED — no API exists

Meta generation, unofficial

Working via opt-in sidecar

Install

Requires Node.js 20 or newer.

git clone https://github.com/itzmoksh01/Freevibes.git
cd freevibes
npm install
npm run build

Configure your coding agent. The installer detects which clients you have and writes their MCP config, keeping a timestamped backup of anything it touches:

node dist/install/cli.js install            # dry run: shows what it would change
node dist/install/cli.js install --write    # apply

Or configure a client by hand — see docs/CLIENT-SETUP.md. Restart your agent afterwards and run /mcp (Muse Code) or the equivalent to confirm the server is connected.

Tools

Tool

Purpose

freevibes_get_capabilities

What is actually available, with a source for each answer

freevibes_generate_image

Structured prompt → validated image files

freevibes_generate_video

Structured prompt → validated video file

freevibes_animate_image

Still image + motion description → video

freevibes_get_job_status

State, history and assets for one job

freevibes_list_jobs

Recent jobs, newest first

freevibes_cancel_job

Cancel a job that has not finished

freevibes_get_usage_limits

Remaining allowance, or null with a reason

freevibes_doctor

Diagnose configuration, database, provider

Every tool returns JSON. A failure always carries a machine-readable status (BLOCKED, INVALID_INPUT, NOT_FOUND, …), never a fake success.

Configuration

All settings are environment variables; sensible defaults apply.

Variable

Default

Meaning

FREEVIBES_MODE

free-meta-vibes

Only supported mode

ALLOW_PAID_PROVIDERS

false

true is rejected at startup

FREEVIBES_PROVIDER

meta-vibes-free

meta-vibes-free or vibes-unofficial

FREEVIBES_ALLOW_UNOFFICIAL

false

Required to load vibes-unofficial

FREEVIBES_VIBES_BASE_URL

http://127.0.0.1:8000

VibesAI-api sidecar address

FREEVIBES_VIBES_API_KEY

(unset)

X-API-Key for the sidecar

FREEVIBES_VIBES_PROJECT

Freevibes

vibes.ai project to write into

FREEVIBES_DATA_DIR

~/.freevibes

Database and staging

FREEVIBES_ASSET_DIR

~/.freevibes/assets

Where finished media lands

FREEVIBES_JOB_STALE_MS

job timeout + 60 s

When another process's job lease counts as abandoned

FREEVIBES_MAX_DOWNLOAD_BYTES

536870912

Per-asset download ceiling

FREEVIBES_DOWNLOAD_TIMEOUT_MS

120000

Per-download timeout

FREEVIBES_DOWNLOAD_HOST_ALLOWLIST

(empty)

Comma-separated host suffixes

FREEVIBES_LOG_LEVEL

info

debug/info/warn/error/silent

Logs go to stderr; stdout is reserved for the MCP protocol.

Design principles

  1. Never fabricate. No invented endpoints, model ids, scopes or results.

  2. Never silently substitute. No automatic paid fallback. If the configured provider cannot serve a request, the request fails with its reason.

  3. Verify before storing. Downloads are identified by magic bytes, not by extension or by what a provider claims, then hashed and recorded.

  4. Local-first. One SQLite file with WAL, no cloud dependency. Jobs carry a per-process lease so one client's server never reclaims another's live work.

  5. Fail loudly and structurally. Every error is JSON an agent can act on.

Documentation

Development

npm run build      # compile
npm test           # 116 unit tests
npm run smoke      # end-to-end over real stdio, asserts the blocked contract
npm run typecheck  # strict tsc, source and tests
node dist/install/cli.js doctor

Licence

Apache-2.0. See LICENSE.

Freevibes is not affiliated with, endorsed by, or supported by Meta Platforms, Inc. "Meta", "Vibes" and "Muse" are trademarks of their respective owners.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides MCP tools to submit asynchronous image generation jobs, check their status, cancel/retry them, and list or fetch generated assets, keeping prompts and outputs local unless an OpenAI provider is explicitly selected.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Exposes a local Forge or AUTOMATIC1111 SDXL backend as typed image-generation tools, enabling any MCP client to generate and edit images through a deterministic, stateless interface with server-enforced SFW content.
      3
      Mozilla Public 2.0
    • A
      license
      B
      quality
      C
      maintenance
      Enables any MCP-compatible AI agent to generate videos and images from text or reference frames, chain scenes into seamless multi-scene films with sound and speech, and download finished media with manifests and previews. It also exposes account status, plan limits, history and library management through confirm-gated, safe-by-default operations.
      26
      34
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables coding agents and other MCP clients to generate images from text prompts and edit, restyle, or extend existing images through an OpenAI-compatible /v1/images API. Results are returned both inline as image content blocks and as files saved to disk, so agents can view and reuse them within a normal task.
      1
      MIT