adshot
Turns a product photo into a short ad video, priced shot by shot before rendering
adshot is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 0.2.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add adshot --env ADSHOT_API_KEY='<ADSHOT_API_KEY>' -- uvx adshotAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"adshot": {
"command": "uvx",
"args": [
"adshot"
],
"env": {
"ADSHOT_API_KEY": "<ADSHOT_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"adshot": {
"command": "uvx",
"args": [
"adshot"
],
"env": {
"ADSHOT_API_KEY": "<ADSHOT_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"adshot": {
"command": "uvx",
"args": [
"adshot"
],
"env": {
"ADSHOT_API_KEY": "<ADSHOT_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"adshot": {
"type": "stdio",
"command": "uvx",
"args": [
"adshot"
],
"env": {
"ADSHOT_API_KEY": "<ADSHOT_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add adshot --env ADSHOT_API_KEY='<ADSHOT_API_KEY>' -- uvx adshotOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.adshot]
command = "uvx"
args = ["adshot"]
env = { ADSHOT_API_KEY = "<ADSHOT_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"adshot": {
"command": "uvx",
"args": [
"adshot"
],
"env": {
"ADSHOT_API_KEY": "<ADSHOT_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }Or run: gemini mcp add -s user -e ADSHOT_API_KEY='<ADSHOT_API_KEY>' adshot uvx -- adshot
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "adshot": { "command": "uvx", "args": [ "adshot" ], "env": { "ADSHOT_API_KEY": "<ADSHOT_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
ADSHOT_API_KEYKey for the video provider set in the project's adshot.toml (OpenLux by default, or any Ark-compatible endpoint). Needed only for render.
About adshot
Give adshot a product photo and a brief and it drafts a storyboard of numbered shots, each with its own prompt, duration and optional first-frame image. Before anything is rendered, it estimates the model cost of the whole film, so you know the spend up front.
Each row in the storyboard has a stable ID. Editing one shot, such as a camera move in S03, means the next run prices and re-renders only that shot and reuses the rest. Finished clips are stitched with FFmpeg into a single MP4 in storyboard order, and earlier takes of a shot are kept as versioned files.
It works from the command line or as an MCP server inside clients like Claude Desktop and Cursor. Rendering is capped by a budget in the project config and requires an API key for the video provider, which defaults to OpenLux but can be any compatible endpoint.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 7 tools changes data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- init_project
- Creates an adshot project folder.
- get_storyboardName suggests: reads
- Returns the storyboard rows.
- set_storyboardName suggests: changes
- Replaces the storyboard rows and returns the price without spending.
- estimate
- Estimates the cost of the video shots without spending.
- render
- Starts rendering shots in the background, up to an approved spend.
- statusName suggests: reads
- Shows render progress and spend.
- stitch
- Joins rendered shots into one MP4 with FFmpeg.
What it does
- Shot-by-shot storyboard
- A CSV storyboard gives each shot a stable ID, prompt, length and optional first-frame image.
- Cost estimate before render
- Each run quotes the expected token use and spend, and new submissions stay within a configured budget.
- Selective re-renders
- Changing one row re-prices and re-renders only that shot while the other finished clips are reused.
- Resumable background jobs
- Saved provider task IDs let an interrupted render pick up where it left off.
- FFmpeg stitching
- Approved shots are fitted to a shared canvas and exported as one 24 fps MP4.
- MCP server tools
- Seven tools let MCP clients initialise projects, edit storyboards, estimate, render and check status.
Good for
- Turning a single product photo into a 15-second social video ad
- Testing alternative camera moves for one shot without re-rendering the whole ad
- Checking the model cost of a video ad before approving a render
- Driving ad production from an AI coding assistant or MCP client
Pricing
Open source
Free and Apache-2.0 licensed; video generation is billed by the chosen model provider.
adshot FAQ
Do I need an API key to try adshot?
No. Creating the starter project and running estimates works without a key. A key for the video provider is only needed to render.
Which video models are supported?
The default setup uses OpenLux with Seedance models, and Volcano Ark or any compatible endpoint can be configured instead.
Can I stop an agent from overspending?
Renders refuse to start if the current estimate exceeds the approved amount, and they can never exceed the budget set in adshot.toml.
What does stitching require?
An FFmpeg executable on PATH with H.264 and AAC encoders.
Is adshot free?
Yes. adshot is open source, so you can use and self-host it for free.
How do I add adshot to Claude Code?
Run this command in your terminal: claude mcp add adshot --env ADSHOT_API_KEY='<ADSHOT_API_KEY>' -- uvx adshot
What are the best alternatives to adshot?
The closest alternatives to adshot are pitchboom, RenderHour, Photo2Ads, Vadyu AI Video Ad Studio and Draftless.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
