Schedule YouTube posts from Cursor
Add Hookpost to Cursor as a remote MCP server in Cursor's mcp.json, with your API key. Then ask it for a YouTube post: it saves a draft, schedules it, or publishes it now to your YouTube channel. If YouTube is not connected yet, it gives you a link that connects it in about a minute.
By the Hookpost team ·
Set it up in 3 steps
- Copy your Hookpost API key. In Hookpost, open Settings → Developers → Reveal → Copy.
- Add the server. Paste the block below into ~/.cursor/mcp.json with your key in place of YOUR_API_KEY.
- Connect YouTube. Ask Cursor to connect YouTube. It replies with a link; open it, approve on YouTube's screen, and the channel is in Hookpost. You can also use Add Channel in the app.
~/.cursor/mcp.json
{
"mcpServers": {
"hookpost": {
"url": "https://hookpost.hookstep.in/api/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Claude Code, Cursor, VS Code, Windsurf, Codex, Gemini CLI and the hookpost CLI use an API key, which comes with the Hookpost plan.
What YouTube accepts
Text limit: 5,000 characters. Cursor reads these from get_platform_post_rules before it writes, so the draft fits.
- One video per upload
- Title and visibility set per post
- Video only — images are not accepted
A first prompt
Paste this into Cursor. It stops at a draft, so nothing goes out until you look at it.
Prompt
List my Hookpost channels. If YouTube is not connected, give me the link to connect it and wait. Then write a title and description for the video at the URL I give you, based on README.md, within YouTube's limits. Save it as a draft in Hookpost. Do not schedule or publish anything.
What happens behind it
- list_channels finds your YouTube channel and its id.
- If there is none, create_channel_connect_link returns a link: you open it, approve on YouTube's own screen, and the channel is added. The link works for 24 hours.
- get_platform_post_rules returns YouTube's limit and the settings a post takes.
- create_post saves the post as a draft, schedules it for a time, or publishes it now.
Questions
- Can Cursor post to YouTube on its own?
- Yes, through Hookpost's create_post tool: as a draft, at a scheduled time, or right away. It posts to your YouTube channel only after you have connected it, and the prompt above keeps it to drafts until you review them in the Hookpost calendar.
- Do I need my own YouTube developer app or API key?
- No. Hookpost holds the YouTube app; you approve Hookpost once on YouTube's sign-in screen, from the link Cursor gives you or from Add Channel.
- What does it need on the Hookpost side?
- Claude Code, Cursor, VS Code, Windsurf, Codex, Gemini CLI and the hookpost CLI use an API key, which comes with the Hookpost plan.
- What can Cursor not do in Hookpost?
- Delete posts, edit the text or date of a post, or read analytics. Do those in the Hookpost app.
Related
- YouTube in Hookpost
Everything Hookpost does on YouTube.
- Full Cursor setup
Every option for Cursor, step by step.
- Every agent and network
The other agents and networks.
- The Hookpost MCP server
Endpoints and the full tool list.