youtube-script-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-script-mcpanalyze titles from channel @mrbeast"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
youtube-script-mcp
A remote MCP server exposing 4 tools for YouTube script/title strategy, connectable from Claude, ChatGPT, or any MCP client.
Tools
analyze_competitor_titles —
channelUrl, optionalkeyword. Pulls recent videos, finds outlier (above-average) titles, returns winning patterns, oversaturated patterns, and fresh title recommendations.generate_channel_dna —
bio, optionalcompetitorUrls(up to 3). Returns 1-4 pillars, 1-4 title formulas, a positioning gap, and a channel DNA summary.generate_hooks —
niche, optionalcompetitorUrls(up to 3), optionalcount(1-4). Returns original hook types inspired by competitor patterns (never copies wording).generate_script —
scriptStructure,pillar,formula,hookType,titleIdea. Returns a full script draft.
Related MCP server: MCP YouTube Intelligence
Setup
npm install
cp .env.example .env
# fill in .env with your keys
npm run build
npm startFor local dev without building: npm run dev
Required API keys
YOUTUBE_API_KEY — YouTube Data API v3 key from Google Cloud Console. Enable "YouTube Data API v3" on the project, then create an API key.
OPENAI_API_KEY — from platform.openai.com.
SERPER_API_KEY — from serper.dev. Optional but recommended: without it, saturation checks in
analyze_competitor_titlesare skipped.
Deploying on Replit
Add the three keys above as Replit Secrets (not hardcoded).
Set the run command to
npm run build && npm start.Once running, your MCP endpoint is
https://<your-repl-domain>/mcp.
Connecting from Claude / ChatGPT
Both accept a remote MCP server URL. Give them:
https://<your-deployed-domain>/mcpas the connector URL. The server uses the Streamable HTTP transport (stateful sessions via the Mcp-Session-Id header), which both Claude and ChatGPT's remote-connector support expects.
Notes
resolveChannelIdinsrc/youtube.tsaccepts@handleURLs,/channel/UC...URLs, legacy/c/and/user/URLs, or a raw channel ID.All AI-generated fields (patterns, pillars, hooks, scripts) come from OpenAI's
gpt-4o-mini— swap the model string insrc/openai-client.tsif you want a different one.This has not been run against live API keys in this environment (no network access here) — test locally with real keys before relying on it in production.
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
- CalmSEOOAuthcom.calmseo
SEO MCP server for keyword research, SERP analysis, audits, and Search Console workflows.
MCP server for generating rough-draft project plans from natural-language prompts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with the YouTube Data API, allowing users to search videos, get video and channel details, analyze trends, and fetch video transcripts.-
- AlicenseAqualityCmaintenanceAn MCP server for intelligent YouTube video analysis that provides token-optimized summaries, sentiment analysis, and entity extraction from transcripts. It enables AI assistants to perform video reporting, channel monitoring, and comprehensive YouTube searches through structured data tools.1051Apache 2.0
- AlicenseAqualityAmaintenanceA comprehensive MCP server integrating YouTube Data, Analytics, and Reporting APIs, providing 40 tools for channel management, analytics, video publishing, transcripts, SEO, and comments.4021MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for generating and managing YouTube video scripts with human-in-the-loop approval.-