Skip to main content
Glama

@vidofy/mcp

npm node licence MCP

MCP server for Vidofy — generate images, video, audio and speech from Claude, ChatGPT, VS Code, Gemini CLI, Cursor, Hermes, or any MCP client, billed to your own Vidofy account, at the same prices the website charges.

Over 570 models, including Veo 3.1, Kling 3.0, Flux 2, Seedance 2.5, Wan 2.7, Hailuo 2.3, Runway, Luma Ray 2, Qwen Image 3.0, Vidu Q3 and LTX 2 — text-to-video, image-to-video, text-to-image, image editing, video and photo effects, lipsync, text-to-speech and voice cloning. The agent browses the catalogue, prices a generation before running it, and follows one to its result.

Status: first public release.

This server is for personal Vidofy accounts. It takes one credential, VIDOFY_TOKEN, and spends your own coins — the same balance the website spends, at the same prices. There is no other billing mode: VIDOFY_API_KEY is refused at startup, and that is a decision, not a feature waiting on a release.

Tools

Tool

What it does

Spends

list_modes

What Vidofy can generate: text-to-image, image-to-video, lipsync, speech…

no

list_models

The models in one mode, with each one's credit cost and rough duration

no

get_model

One model's full input contract: a JSON Schema, its file slots and their limits

no

estimate_cost

What a generation will cost, before running it

no

generate

Runs it. The only tool that spends the balance.

yes

get_status

Whether a generation has finished

no

get_result

The finished media

no

get_balance

Coins left, and how many expire with the subscription

no

get_usage

Recent generations and what they cost

no

The usual order is list_modes → list_models → get_model → estimate_cost → generate → get_status → get_result.

generate is the only tool without readOnlyHint, which is what tells a client to ask the user before running it. It charges at submit, not on success, and returns immediately with an id — a generation takes from ~30 seconds to several minutes, so the agent polls get_status rather than holding the call open. Output is private by default; pass public: true only when the user asked for a permanent public link.

File inputs take a path on the machine running the server. The package reads the user's own file and streams it with the submit — it never makes a temporary copy — and checks the extension and size against that model's own limits first, so a file the server would reject never leaves the disk.

Not exposed, deliberately: checkout, auto top-up, purchases, referrals, the daily reward. Nothing in this package can buy coins or change a plan, however it is prompted.

Related MCP server: mcp-ai-image-generator

Setup

There are two ways in. Take the first one unless your client cannot do it.

1. Remote connector — nothing to install

Give your client this URL:

https://vidofy.ai/mcp-app

You sign in in your browser and approve once. No token to copy, nothing to keep in a config file, and nothing to update when this package changes.

Client

How

Claude.ai · Claude Desktop

Settings → Connectors → Add custom connector → paste the URL → Connect, then approve the sign-in. They share one list: add it in either and it appears in both. Available on every plan, including Free — where you get one connector.

ChatGPT

Settings → Connectors → add a custom connector (no such option? turn on Developer Mode in Settings first) → paste the URL → Connect, then approve. On a Business or Enterprise workspace an administrator adds it for everyone.

VS Code

Add an MCP server of type http with the URL above, then approve the sign-in in your browser. VS Code identifies itself with its own published client metadata, so there is nothing to register and no client secret to obtain.

Claude Code · Codex · Cursor

Each accepts a remote MCP server URL. Follow that client's own MCP documentation and give it the URL above.

Then ask it: "list Vidofy modes" to confirm the connection, and "make me a 5-second clip of a red bicycle" — it prices the generation before running it.

Some clients cannot take this route, and it is worth knowing why before you try. Signing in here needs a client that identifies itself with a published metadata document — an https URL the authorization server fetches. Clients that instead expect to register themselves at a registration_endpoint, or to be handed a client_id and client_secret you created by hand, have nothing to work with: this server issues neither. Gemini CLI and Hermes are both in that group today. Take route 2 — it is not a lesser path, just a different way of proving who you are.

2. Local stdio server — works with every client here

Create a personal MCP token at vidofy.ai → Studio → Account → MCP Access. It is shown once.

// claude_desktop_config.json   (Cursor: .cursor/mcp.json — same shape)
{
  "mcpServers": {
    "vidofy": {
      "command": "npx",
      "args": ["-y", "@vidofy/mcp"],
      "env": { "VIDOFY_TOKEN": "vmt_..." }
    }
  }
}

npx fetches it on first run. Prefer a pinned copy? npm i -g @vidofy/mcp, then:

{ "command": "vidofy-mcp", "env": { "VIDOFY_TOKEN": "vmt_..." } }

The entry is the same everywhere — the file it goes in, and what the outer key is called, are not. Check yours against your client's own documentation before you paste:

Client

File

Outer key

Claude Desktop

claude_desktop_config.json

mcpServers

Cursor

.cursor/mcp.json

mcpServers

Gemini CLI

settings.json, user-level or per project

mcpServers

VS Code

.vscode/mcp.json, or the user-profile mcp.json

servers — and each entry adds "type": "stdio"

Hermes

config.yaml in the Hermes home directory

mcp_servers — YAML, not JSON

So VS Code wants:

// .vscode/mcp.json
{
  "servers": {
    "vidofy": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@vidofy/mcp"],
      "env": { "VIDOFY_TOKEN": "vmt_..." }
    }
  }
}

and Hermes wants the same thing in YAML:

mcp_servers:
  vidofy:
    command: npx
    args: ["-y", "@vidofy/mcp"]
    env:
      VIDOFY_TOKEN: "vmt_..."

Both paths reach the same account, the same models and the same balance. The difference is only where the process runs and how you prove who you are.

One client shows more than the others. A generation normally comes back as text the model reads out. A host that supports MCP Apps gets a live card instead — the picture or clip itself, its progress while it runs, and a download button — and the server offers it only to a host that says it can render one. Claude and VS Code both do (in VS Code, turn on chat.mcp.apps.enabled). Everywhere else the same result arrives as text and, for an image, an inline picture. Nothing is missing; it is just quieter.

Environment

Variable

Required

What it does

VIDOFY_TOKEN

yes

Personal MCP token (vmt_…). Spends your own Vidofy coins, exactly as the studio does.

VIDOFY_API_BASE

no

Override the origin the server talks to — an origin only, no path. Defaults to https://vidofy.ai, which is what you want.

VIDOFY_API_KEY is recognised only in order to be refused: a vky_… key bills a different balance, which this server does not serve. Setting it stops startup with a message naming the token to use instead — and setting both is refused too, since the two bill different balances and no precedence rule is worth having to remember.

Development

npm install
npm run build
npm run inspect      # MCP Inspector — spends nothing

VIDOFY_API_BASE points it at a different origin, if you are running one.

Nothing here writes to stdout. With stdio transport, stdout is the protocol channel — a single stray console.log() puts a non-JSON line in the stream and the client drops the connection with an error that explains nothing. Diagnostics go to stderr via the log() helper in src/index.ts.

Layout

src/config.ts          credential + mode + base URL, validated at startup
src/backend.ts         the only place that talks HTTP: auth, retries, multipart, errors
src/schema.ts          one model's m_options → a JSON Schema the agent can fill in
src/map/b2c.ts         both response shapes → one; strips the provider cost
src/tools/info.ts      list_modes, list_models, get_model
src/tools/generation.ts estimate_cost, generate, get_status, get_result
src/tools/account.ts   get_balance, get_usage
src/index.ts           the server: stdio transport, tool registration, annotations


server.json     MCP registry manifest (name must match package.json "mcpName")

Licence

MIT

Available Tools

9 tools
estimate_costA
Read-only
Inspect

What a generation will cost, before running it. Pass the SAME input you will pass to generate — on some models the price varies 20x with the settings. Show this to the user before spending their balance.

Inputs: model (required), input.

generateAInspect

Run a generation. THIS SPENDS THE USER'S BALANCE — call estimate_cost first and tell them the price. Charged when the job is submitted, not when it succeeds. Returns immediately with an id; the media is not ready yet. Check get_status — which waits for you — and obey the check_again_in_seconds it returns, then call get_result. Typical waits are 30 seconds for audio and one to three minutes for an image or a video, so tell the user it is running rather than checking over and over. Output is private unless public:true — except on a free account, where it is always published and watermarked. To chain — animate an image you just made, lipsync a video, and so on — pass {"from_generation": ""} as the file input instead of a path. Never download a Vidofy result just to upload it back.

Inputs: input (required), model (required), public.

get_balanceA
Read-only
Inspect

The account balance, and how much of it expires with the current subscription. Check before a costly generation.

Inputs: no named parameters.

get_modelA
Read-only
Inspect

Everything needed to call generate on one model: a JSON Schema for its inputs, which file slots it takes and their size limits, and notes the schema cannot express. Call this after list_models and before generate. Its credits_from is the model's cheapest possible price, not this request's — quote estimate_cost.

Inputs: model (required).

get_resultA
Read-only
Inspect

The finished media, returned as an image you can actually see — an image comes back as itself, a video as its poster frame. Also gives the link: whether it lasts depends on the generation, a private one is signed and expires in about 8 hours, a public one is a permanent CDN URL. The url_note field says which — read it before telling the user to save the link, and call this again for a fresh one if it expired. Pass include_preview:false to get the link alone.

Inputs: id (required), include_preview.

get_statusA
Read-only
Inspect

Whether a generation has finished. Returns done:true once it reaches a final state, then call get_result. This call WAITS for up to 10 seconds before answering, so it is never instant and never needs repeating straight away. While a job is running the answer carries check_again_in_seconds — wait at least that long before calling again. Nothing finishes in under 10 seconds and most media takes one to three minutes, so calling in a tight loop only spends the user's context to learn nothing.

Inputs: id (required).

get_usageA
Read-only
Inspect

Recent generations and what they cost: totals for the window plus the rows behind them. Use it to answer "what have I spent".

Inputs: days, limit, offset.

list_modelsA
Read-only
Inspect

List the models available in one mode, with the rough duration of each and credits_from — the CHEAPEST that model can cost, for comparing models against each other. It is not the price of a request and is often several times under it; only estimate_cost answers that. Use the mode code from list_modes (e.g. "t2i").

Inputs: mode (required).

list_modesA
Read-only
Inspect

List what Vidofy can generate — text-to-image, image-to-video, lipsync, text-to-speech and so on. Start here, then call list_models with the mode code.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool occupies a distinct stage in the workflow: discovery (list_modes, list_models, get_model), cost estimation, generation, status polling, result retrieval, and account queries. get_balance and get_usage are clearly separated as current balance versus spending history.

    Naming Consistency5/5

    Tool names are consistently lowercase snake_case and follow a clear verb_noun pattern (list_*, get_*, estimate_cost, generate). The single bare verb 'generate' still fits the imperative command style and does not create confusion.

    Tool Count5/5

    Nine tools map cleanly onto the full generation lifecycle—discover modes and models, inspect schemas, estimate cost, submit, poll, retrieve, and check account state. There are no redundant or filler tools.

    Completeness5/5

    The set covers discovery, cost estimation, paid generation, asynchronous status checks, result retrieval, and balance/usage monitoring end-to-end. Chaining outputs is also supported via from_generation, so there are no obvious dead ends in the core workflow.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers