Connect Codex to MakeAIVideo
Two commands add MakeAIVideo to Codex. Then ask for videos from the terminal, priced in credits before anything is made.
Paste them into your terminal.
Make a 30 second video explaining this project from the README and save it as intro.mp4.
estimate_video_cost184 credits · balance covers itmake_videoStartedwait_for_videoReady

Your video is ready: 30 seconds, 9:16, with voiceover and captions. It cost 184 credits. Here’s the download link, and it’s in your MakeAIVideo library too.
Setup in about a minute
How to connect Codex to MakeAIVideo
Codex adds MakeAIVideo as a remote MCP server and signs in through your browser.
https://mcp.makeaivideo.ai- 1
Run the commands.
Paste these into your terminal:
Terminalcodex mcp add makeaivideo --url https://mcp.makeaivideo.ai codex mcp login makeaivideo - 2
Sign in, or sign up and start your trial.
A MakeAIVideo sign-in window opens. New here? Sign up in that window, pick a plan and start the 7-day free trial (350 credits, a card is required, $0 today). Then press Approve, and you are sent straight back.
- 3
Ask for a video.
Type /mcp to check it is connected, then ask.
What you need
Editing ~/.codex/config.toml by hand? The header must be [mcp_servers.makeaivideo], with an underscore. A mistyped header loads nothing, with no error.
What you can ask
Codex prompts that make finished videos
Ask in plain words. Codex calls the MakeAIVideo tools, quotes the credits before it spends any, and sends back the video when it is ready.
“Make a 30 second vertical video about why octopuses have three hearts. Tell me the cost first.”
Quotes the price in credits, then makes it and sends the download link when it is ready.
“Narrate this script word for word over AI scenes, 9:16, with captions.”
Keeps your exact words. If the script does not fit the length, it shows you the options instead of cutting lines.
“Turn this article into a 45 second explainer: https://example.com/post”
Reads the page, writes a script from it and makes the video. The page text is treated as material, never as instructions.
“Make five 15 second hooks for our launch and give me all five links.”
Prices one, tells you the total, then makes each with its own retry key so nothing is charged twice.
“Post the finished video to TikTok and Instagram tomorrow at 9am.”
Lists your connected accounts, confirms the caption and time with you, then schedules it.
“Remake scene three with a calmer voice, then export it again.”
Fixes one scene or the voice without remaking the whole video.
Want the full recipe list your agent reads? It’s in our agent skill (SKILL.md).
Good to know
Codex and MakeAIVideo: limits and troubleshooting
It quotes before it spends.
Every video is priced in credits first, and the price comes out of the same balance as the app. There is no separate API plan. See pricing.
It can't sign up or pay for you.
Creating the account, starting the trial and adding credits all happen in your browser. If your balance is short, it gives you a link to top up and waits.
Connecting a social account needs you.
To post, each account is connected once by a person, from a link the assistant gives you. Bluesky, Telegram and Discord connect in the web app.
Revoking access.
Every connection is a named key under Settings, Advanced, API keys in the app. Delete it and the assistant loses access straight away. Your videos stay in your library.
Connect another AI agent
One MakeAIVideo account works with every agent you use, from the same credits.
Codex and MakeAIVideo FAQ
Something else? Visit the help center
Codex says it has no MakeAIVideo tools.
Check ~/.codex/config.toml: the header must be [mcp_servers.makeaivideo] with an underscore. Then run codex mcp login makeaivideo.
What does it cost?
The same credits as making the video in the app, from the same balance. A 15 second AI video with voiceover is about 113 credits, and a 30 second stock footage video about 42. The assistant quotes the exact cost before it makes anything. Plans start at $9 a month, and every plan starts with a 7-day free trial with 350 credits.
Do I need an API key?
No. You sign in to MakeAIVideo in a browser window and approve access. That creates a key behind the scenes, which you can delete at any time.
What comes back?
A finished 1080p MP4 with the script written, the voiceover recorded, the scenes made, captions if you asked for them and music. It also appears in your MakeAIVideo library, where you can edit, download or post it.
Can it post the video for me?
Yes, to the accounts you have connected: TikTok, Instagram, YouTube, Facebook Pages, LinkedIn, X, Threads, Pinterest, Bluesky, Telegram and Discord. It confirms the accounts, caption and time with you first.
Make your first video from Codex
Start the 7-day free trial with 350 credits, connect Codex, and ask for a video. Cancel before day 7 and you won’t be charged.