🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@instavar/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instavar/mcp-server

Make local videos with Instavar Remotion templates for free, then add an API key for hosted Studio workflows.

latest
Source
npmnpm
Version
0.4.1
Version published
Maintainers
1
Created
Source

@instavar/mcp-server

CI npm Glama score

Make local videos with Instavar's open-source Remotion templates from Claude Code or Codex. The public template, schema, scaffold, and troubleshooting tools work without an account or API key.

Add an Instavar API key when you want the hosted workflow: create → render → approve → publish → metrics. The authenticated tools are thin HTTP clients to the hosted Instavar API. The package holds no database connection and stores no data of its own.

Which model runs?

The MCP host supplies the general-purpose LLM.

  • In Claude Code, the selected Claude model interprets the request and calls Instavar tools.
  • In Codex, the selected OpenAI model interprets the request and calls the same tools.
  • Other compatible hosts use their own selected model and authentication.

The MCP server does not provide Sonnet, GPT, or another general-purpose model. It exposes typed Instavar capabilities to the model already running in the user's host. Depending on the host and sign-in method, that model usage may draw from a personal or workspace subscription, separate usage credits, or API billing. Those provider rules can change.

Local Remotion rendering uses your own machine. Instavar meters or charges its hosted services, including rendering, storage, specialist media generation, QA, publishing, and other declared job costs. Using a subscription-backed agent does not make those services free.

For the full architecture, see docs/architecture/studio-agent-workflow-architecture.md. For dated provider evidence, see reports/research/subscription-backed-agent-runtime-2026-07-10.md.

Setup

Add the server to your MCP client config:

{
  "mcpServers": {
    "instavar": {
      "command": "npx",
      "args": ["-y", "@instavar/mcp-server"]
    }
  }
}

This starts with the free local template tools. To unlock hosted Studio tools, create an API key at https://instavar.com/studio/settings, then add it:

{
  "mcpServers": {
    "instavar": {
      "command": "npx",
      "args": ["-y", "@instavar/mcp-server"],
      "env": { "INSTAVAR_API_KEY": "ik_live_..." }
    }
  }
}

Restart the client. The free tools appear in both modes. Hosted tools appear when the key is configured.

Environment

VarRequiredDefaultPurpose
INSTAVAR_API_KEYnoUnlocks hosted Studio tools. Scoped to your org; revocable.
INSTAVAR_BASE_URLnohttps://instavar.comOverride the API host.

Tools

Free local tools:

ToolWhat it does
get_capabilitiesReports free and optional account features.
list_templatesLists published Remotion template families.
get_templateReturns one template contract.
get_video_schemaReturns the public VideoSpec JSON Schema.
get_exampleReturns a starter VideoSpec.
scaffold_video_specCreates a deterministic VideoSpec skeleton.
get_render_instructionsReturns the local validation and render workflow.
diagnose_render_errorClassifies common local render failures.

Hosted tools, available when INSTAVAR_API_KEY is configured:

ToolWhat it does
list_jobsList recent jobs (newest first).
get_job_statusRuns, artifacts, verifications, current video + thumbnail URLs.
get_video_stateMaterialized composition state for a job.
get_job_metricsPlatform engagement snapshots for a published job.
get_cost_summaryInfra cost summary (Lambda / RunPod / R2 / WaveSpeed / PoYo).
inspect_workflowRead the current workflow and its version history.
create_video_briefCreate a job from a structured brief and start rendering.
edit_video_briefPatch a brief (incl. objective / publishTarget); re-renders unless only publishTarget changed.
retry_video_qaRetry degraded or unavailable QA against the same current frozen video artifact.
audit_video_qaRun an advisory Qwen3.6-Plus second opinion against the same frozen video.
regenerate_narrationRegenerate narration and its dependent video from the unchanged durable brief.
draft_workflowStore a complete workflow using the inspected expectedVersion (0 only when none exists).
patch_workflowCreate a conflict-aware workflow version from a recursive patch.
validate_workflowValidate and compile the inspected workflow version without rendering.
preview_workflowRead the compiled UniversalVideo brief without rendering.
compare_workflowsCompare two durable workflow versions field by field.
approve_workflowApprove the inspected valid version without approving or publishing the video job.
approve_jobApprove a rendered job so it can be published.
publish_jobPublish an approved job to its connected social destination.
connect_accountStart connecting a social account (headless OAuth pairing).
connect_account_statusPoll a pending account connection until it is connected.

Workflow inspection, preview, and comparison require read. Workflow draft, patch, validation, and approval require write. publish_job requires publish.

Workflow tools reject unknown arguments instead of silently discarding them. API calls time out after 15 seconds. A stale-version 409 tells the caller to inspect the latest version, while an unavailable upload or other dependency conflict tells the caller to resolve that dependency before retrying.

Connecting a social account from the terminal

connect_account returns an approve URL and a short confirm code. Open the URL in a browser where you are signed in to Instavar, check the code matches the one in your terminal, and approve — you go through the platform's normal sign-in, then return to Instavar. Poll connect_account_status with the returned pairingId until it reports connected. Pairings expire after 10 minutes and can only be approved by an owner/admin of the workspace.

CLI

npx @instavar/mcp-server --version
npx @instavar/mcp-server --help

License

MIT

Keywords

mcp

FAQs

Package last updated on 30 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts