Metadata-Version: 2.5
Name: ai-video-preproduction-mcp
Version: 1.1.0
Summary: MCP server for AI video pre-production: treatment decks, scripts, pre-production decks with storyboards, image prompts and shooting schedules.
Project-URL: Homepage, https://thinkali.com
Project-URL: Repository, https://github.com/thinkalim/ai-video-preproduction-skills
Author: Ali Murtaza
License-Expression: MIT
Keywords: ai-agent-skills,ai-video-production,call-sheet,mcp,model-context-protocol,pre-production,shot-list,storyboard,treatment
Classifier: Intended Audience :: Other Audience
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Multimedia :: Video
Requires-Python: >=3.10
Requires-Dist: mcp<3,>=2.3
Requires-Dist: openpyxl>=3.1
Requires-Dist: pillow>=10.0
Requires-Dist: python-pptx>=1.0
Provides-Extra: test
Requires-Dist: pytest>=8; extra == 'test'
Description-Content-Type: text/markdown

# AI Video Pre-Production MCP Server

An open-source MCP server that gives any AI agent the tools to build video pre-production documents: treatment decks, scripts, pre-production decks with storyboards, image prompt packs and shooting schedules.

It wraps the builders from [AI Skills for Video Pre-Production](https://github.com/thinkalim/ai-video-preproduction-skills). The agent writes the creative. The server turns it into finished, editable files and checks the work: timecodes, the voiceover budget, scene coverage and whether the shoot day actually fits.

Everything runs on your own computer, with your own AI. Nothing here calls a paid service.

<!-- mcp-name: io.github.thinkalim/ai-video-preproduction -->

## Tools

| Tool | What it does | Output |
|---|---|---|
| `build_treatment_deck` | Builds a treatment deck from a concept spec | .pptx |
| `check_script` | Checks a script's timecodes and voiceover budget without building a file | warnings |
| `build_script` | Builds a formatted AV script for live action, documentary or animation | .xlsx |
| `build_prepro_deck` | Builds a full pre-production deck with storyboards | .pptx |
| `write_image_prompts` | Writes an AI image prompt for every image slot in a deck | .md |
| `build_schedule` | Builds a shot list and shooting schedule with live start times | .xlsx |

Each build tool returns the saved file path plus any warnings, so the agent can fix problems before it shows you the result. Incomplete inputs come back as a plain error that names the missing field.

## Resources

The agent can read these before it writes anything:

- `skill://<name>` gives the writing rules, intake questions and spec shape for each skill.
- `example://<name>` gives a complete, valid input for each builder.
- `info://output-folder` shows where files are saved.

Skill names: `brief-to-treatment`, `video-script`, `animation-script`, `prepro-deck-builder`, `shot-list-schedule`.

## Install

You need Python 3.10 or later. The quickest route uses [uv](https://docs.astral.sh/uv/), which runs the server with no setup:

```json
{
  "mcpServers": {
    "ai-video-preproduction": {
      "command": "uvx",
      "args": ["ai-video-preproduction-mcp"]
    }
  }
}
```

Add that block to your MCP client's config file and restart the client.

Without uv, install with pip and point the config at the installed command:

```bash
pip install ai-video-preproduction-mcp
```

```json
{
  "mcpServers": {
    "ai-video-preproduction": {
      "command": "ai-video-preproduction-mcp"
    }
  }
}
```

Files are saved to `Documents/AI Pre-Production` in your home folder. To change that, add `"env": {"AI_PREPRO_OUTPUT_DIR": "/path/to/folder"}` to the server's config.

## Try it

Once it's connected, ask your agent something like:

> Read the prepro-deck-builder rules, then build a pre-production deck from this script.

> Check this 30-second script's timing before you build it.

> Turn the approved deck into a 10-hour shooting schedule with a 7 AM call.

## Run from source

```bash
git clone https://github.com/thinkalim/ai-video-preproduction-skills
cd ai-video-preproduction-skills/mcp-server
pip install -e ".[test]"
pytest
```

The tests start the real server, call every tool the way an agent would and check that each file opens.

## License

MIT. Created by Ali Murtaza, [thinkali.com](https://thinkali.com).
