MCP · ChatGPT
ChatGPT
The desktop app runs VidMachine through the Codex host config.
ChatGPT on the web only offers OAuth (or no auth) for custom MCP servers, so it cannot send a VidMachine API key. The desktop app shares the Codex host config, which supports a bearer token from an environment variable. Add the entry below and VidMachine's tools show up in the app.
What the agent gets
28 tools in 5 groups: find, build, render, post, brand.
The same API key and credit balance as the dashboard.
Anything it makes shows up in your projects.
Posts are scheduled with the same rules as the dashboard.
Connect
Create an API key under API & MCP, then add the server. The key comes from your environment, so the snippet below is safe to keep in a config file.
ChatGPT on the web needs OAuth
The hosted connector cannot send a bearer API key, and VidMachine does not offer MCP OAuth yet. Use the desktop app, or one of the other agents, until OAuth ships. The MCP server docs list every header-capable client.
ChatGPT desktop app — add to ~/.codex/config.toml
toml
[mcp_servers.vidmachine] url = "https://vidmachine.ai/api/mcp" bearer_token_env_var = "VIDMACHINE_MCP_KEY"
Export the key the app reads
Export the key the app reads
bash
export VIDMACHINE_MCP_KEY="vidm_..." # raw key, no "Bearer " prefix
- The value is the raw key. The host adds the Bearer header itself.
- The same entry also connects the Codex CLI, since both read
~/.codex/config.toml.
The loop: find, inspect, make, schedule
Four messages do the whole job. The tool names are the ones the agent calls for you.
1 · FindFind out what's already there
Ask for a project or a video in plain language. The read tools answer with real IDs, statuses, and the first missing stage — and cost nothing.
search_documentationget_documentationlist_projectslist_videos2 · InspectInspect before spending credits
Read the script, scenes, and cover, then quote the credits the remaining stages will cost and check the balance. Every paid step is priced before it runs.
get_video_contentestimate_video_costget_credit_balance3 · MakeMake your version
Rewrite a scene, regenerate just that scene's media, and resume the pipeline. Work that already exists is reused, so a one-scene change does not redo the video.
update_scenegenerate_scene_mediagenerate_videoexport_video4 · ScheduleSchedule it and get the link
Set the post time and status, then have the final URL handed back to you. The scheduler publishes it with the same rules as the dashboard.
update_videoexport_videoA real session
Real tool names; the values are illustrative.Three prompts to try
Paste one into a new chat once the server is connected.>List my projects and tell me which videos are waiting on scene media.
>Quote what it costs to finish the pigeon video, then render the missing scenes.
>Schedule the finished clip for Friday 9:00 and give me the export link.
Also works with
Every tool, protocol version, and header rule: MCP server docs. The REST API behind those tools: API overview.