
sendreel
io.github.jstevoh/sendreel
Your YouTube channel from your assistant: private-first uploads, captions, Shorts, analytics.
Documentation
sendreel
Your YouTube channel, from your assistant. sendreel is a small MCP server that lets Claude, Codex, Antigravity or any MCP client upload and look after videos on your own channel: resumable uploads that go up private, a queue that carries on past YouTube's daily limit, captions, chapters, credits, Shorts, whole folders, scheduled releases, analytics and comments. It runs on your computer, signs in with your own Google project, and the assistant never sees a key.
MIT. No dependencies: Node 20 or later on macOS, Linux or Windows.
npx sendreel setup # which setup step is next, and how to do it
npx sendreel login # sign in to your channel once (opens the browser)
What it does
| Uploads | Resumable, in chunks: a dropped connection, an expired sign-in or the app closing mid-file all pick up where they stopped, never a second copy. Private unless you say otherwise. A sidecar card (film.youtube.json) can hold a film's title, description and tags. |
| A queue | Past YouTube's 100 uploads a day, or out of quota, a job waits and an hourly drain (LaunchAgent, systemd timer or Task Scheduler) finishes it and notifies you. queue_folder lines up a whole folder; release_plan spaces a batch at a clock time in your time zone. |
| The words around a film | Chapters (held to YouTube's rules), captions (.srt, .vtt), titles and descriptions in other languages, and a credits line from your settings added to every description ({music} by … CC BY 4.0). |
| Shorts | short: true checks the file itself: 3:00 or less, square or vertical, and adds #Shorts once. |
| Replacing a film | replace_video queues a re-render with the old video's title, description, tags, category and playlists. |
| Your channel | Videos, playlists, thumbnails, a manifest of every video with views and likes, and your own notes per video. |
| Analytics (opt-in) | Watch time, average view, retention by tenth of the film with the steepest drop, traffic sources and search terms. Read-only. |
| Comments (opt-in) | The threads on one video or the whole channel, the ones nobody has answered, and replies, checked before they are sent. |
What it leaves out on purpose: deleting (one click in Studio, and it cannot be undone), and what YouTube's API does not offer (end screens, cards, copyright disputes, community posts).
Coming: Vimeo is in this release as a preview (vimeo_* tools, built and
tested against a stand-in of Vimeo's API, waiting on its first live account run).
TikTok drafts are planned. Both will be announced in the changelog.
Set up (once, about ten minutes)
YouTube's API needs a Google Cloud project of your own: it is free, and it keeps your
quota and your sign-in yours. npx sendreel setup walks the steps and checks each:
- Make a project: https://console.cloud.google.com/projectcreate
- Turn on YouTube Data API v3: https://console.cloud.google.com/apis/library/youtube.googleapis.com
- Google Auth Platform → Audience: External, then Publish app. (An app left in Testing loses its sign-in every 7 days. At sign-in Google says the app is unverified: for your own channel that is expected; choose Advanced, then continue.)
- Clients → Create client → Desktop app → Download JSON, saved as
client_secret.jsonin the foldersetupnames (~/.config/sendreel/youtubeon macOS and Linux,%APPDATA%\sendreel\youtubeon Windows). npx sendreel login
Optional: npx sendreel login --add analytics, npx sendreel login --add comments,
and npx sendreel install-agent for the hourly queue (with npm install -g sendreel
so the scheduled job keeps a steady path).
Add it to your assistant
Claude Code (plugin, with a skill that knows the workflow):
claude plugin marketplace add jstevoh/sendreel
claude plugin install sendreel@sendreel
or the server alone: claude mcp add sendreel -- npx -y sendreel
Claude Desktop: download sendreel.mcpb from the
latest release and open it.
Codex: codex plugin marketplace add jstevoh/sendreel, or in ~/.codex/config.toml:
[mcp_servers.sendreel]
command = "npx"
args = ["-y", "sendreel"]
Antigravity: agy plugin install https://github.com/jstevoh/sendreel, or add to
mcp_config.json:
{ "mcpServers": { "sendreel": { "command": "npx", "args": ["-y", "sendreel"] } } }
Anything else that speaks MCP over stdio: the command is npx -y sendreel.
Then ask: "List my latest videos", "Upload ~/Movies/film.mp4 as a private video called Dawn", "Queue everything in ~/Films/release and plan it one a day at 9 AM", "Which comments haven't I answered?"
Settings
settings.json beside the client file, all optional:
{
"timeZone": "Europe/London",
"categoryId": "10",
"credits": "Music: {music} by An Artist, CC BY 4.0"
}
timeZone defaults to the computer's; categoryId to 22 (People & Blogs; 10 is
Music); credits is added under every new description, {music} filled from the
upload's music. SENDREEL_DIR moves the whole folder.
Safety
- The assistant is told to upload private, to say what it will upload first, to make anything public only when you said so in the conversation, and to show you a reply before posting it. The server enforces what it can: private by default, refusing a duplicate upload, refusing a reply the channel already posted.
- Keys live in your config folder, readable by you alone (0600 in a 0700 folder). No key, token or upload address is ever in a reply to the assistant or in the log.
- Quota: uploads have their own 100 a day; other writes cost 50 of 10,000 a day. The tools say what they cost.
The tests
npm test drives the server the way an assistant does, over stdio, against a
stand-in Google on loopback (consent page, tokens, resumable uploads with dropped
connections, captions, analytics, comments), then removes each rule from a copy of
the server and checks that the line naming that rule fails. No network, no account.
Licence
MIT, © the sendreel authors (omnibrains.org). Not affiliated with or endorsed by YouTube or Google.
sendreelnpm install sendreel