npmframlit-mcp

Generate Videos
from Your IDE

Use MCP to create Remotion videos directly from Cursor, VS Code, or any MCP-compatible editor. Same AI, same credits, zero context switching.

Quick Start

1

Get Your API Key

Create an API key from your Framlit profile. You'll use this to authenticate MCP requests.

Go to Profile
2

Add to MCP Config

Add the config to your editor's MCP settings file.

mcp.json
{
  "mcpServers": {
    "framlit": {
      "command": "npx",
      "args": ["framlit-mcp"],
      "env": {
        "FRAMLIT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Replace your_api_key_here with your actual API key. Keep this file private.

Available Tools

All the tools you need to create videos without leaving your editor.

1 credit

framlit_generate_code

Generate Remotion video code from text description

✏️1 credit

framlit_modify_code

Modify existing code with natural language

👁️Free

framlit_preview_code

Get a shareable preview URL for any code

💳Free

framlit_get_credits

Check your credit balance and plan

📁Free

framlit_list_projects

List and manage your saved projects

🎨Free

framlit_list_templates

Browse available video templates

Example Usage

Just describe what you want. The AI handles the rest.

U

Create a "Hello World" text with fade-in animation, modern dark background

F

Generated Remotion code (1 credit used, 49 remaining):

export const
MyVideo
= () => ...
🎬Preview:https://framlit.app/preview/abc123

Open the link to see the video preview (expires in 24h)

Same Credits, Same Plans

MCP uses your existing Framlit credits. No separate billing.

50
Free credits/mo
500
Pro credits/mo
1
Credit per generation

Ready to Start?

Get your API key and start generating videos from your favorite editor in minutes.

Works with Claude Desktop, Cursor, VS Code, Windsurf, and any MCP-compatible client.