MCP · Hermes Agent
Hermes Agent
Add one remote server to config.yaml, then run the loop from Hermes.
Hermes reads MCP servers from
~/.hermes/config.yaml and resolves ${env:NAME} inside headers, so the key stays in ~/.hermes/.env. Add VidMachine once and every Hermes session — CLI, desktop, or gateway — can list projects, edit scenes, and schedule posts.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.
Let Hermes Agent do itCopy the prompt and paste it into a new chat. The agent adds the server, asks for your API key, and verifies the connection.
Add to ~/.hermes/config.yaml
yaml
mcp_servers:
vidmachine:
url: "https://vidmachine.ai/api/mcp"
headers:
Authorization: "Bearer ${env:VIDMACHINE_API_KEY}"Add the key to ~/.hermes/.env, then test
Add the key to ~/.hermes/.env, then test
bash
# ~/.hermes/.env VIDMACHINE_API_KEY=vidm_... hermes mcp test vidmachine
- The key lives in
~/.hermes/.env; the config only names the variable. - After editing the file, run
/reload mcpin an open session. - The same key works for the REST API.
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.>Find the Fast Brain project, tell me what's left to render, and quote the credits.
>Rewrite scene 3 with a tighter hook and regenerate only that scene.
>Schedule the finished clip for Friday 9:00 and send 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.