Prepublish MCP
An official MCP server by Prepublish that allows AI assistants to audit YouTube scripts before recording. It provides tools to score hooks, structure, and pacing, check for inauthentic content risks, pre-flight against YouTube monetization policies, and calculate spoken runtime from word counts.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.prepublish.aiWhat its tools do
6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (2)
Can change data (4)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to prepublish.ai ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
About Prepublish MCP
This server allows AI assistants to evaluate YouTube scripts before they are recorded. It calculates spoken runtime from word counts and scores hooks, structure, and pacing. It also checks for inauthentic content risks and verifies compliance with YouTube monetization policies.
The server is suitable for auditing finished scripts, converting length to runtime, and pre-flight checks against advertiser policies. It connects via a Streamable HTTP endpoint at mcp.prepublish.ai without requiring sign-in to list tools.
No account or payment is needed to connect. However, individual tools may require vendor credentials or permissions. To lift the shared daily cap, provide an API key created at prepublish.ai/dashboard as a bearer token or via the PREPUBLISH_TOKEN environment variable.
What you can do with it
- Audit a finished YouTube script for hook, structure, and pacing scores
- Check a script for reused or inauthentic content risk
- Pre-flight a script against YouTube advertiser and monetization policies
- Convert script length to spoken runtime or calculate word budget
Source and maintenance
Protocol and capabilities
- Server
- prepublish 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 6 advertised
- Resources
- 2 advertised
- Resource templates
- 0 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
},
"resources": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
6 advertised
audit_script — Audit a YouTube script before recording
Run Prepublish's full audit on a YouTube script the user has already written. Returns hook, structure and pacing scores, a script-level attention-risk map naming the passages most likely to lose viewers, and a copy-paste rewrite for each flagged passage. Choose this when the user has a finished or near-finished draft and wants to know what is weak before they record. Do not use it to generate a script, to review a published video, or to check grammar. An email is optional: the result comes back in the conversation either way. This is a text-only check of an unrecorded script. It maps relative attention risk inside the draft. It does not measure or predict published YouTube retention, and it cannot account for delivery, editing, thumbnail, topic or distribution.
{
"type": "object",
"required": [
"video_title",
"script_text"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "Optional. Only when the user gave an address and wants the result link by email: Prepublish stores it with the audit, emails the result link to it, and may send a short series of follow-up emails about the audit that include an unsubscribe link. Leave it out otherwise; the audit runs without it. Never invent an address. When the caller is authenticated with a Prepublish API key the account address is used, so do not ask for one in that case."
},
"audience": {
"type": "string",
"maxLength": 500,
"description": "Target audience, only if the user said it."
},
"category": {
"type": "string",
"maxLength": 500,
"description": "Video category, only if the user said it."
},
"script_text": {
"type": "string",
"maxLength": 250000,
"minLength": 50,
"description": "The script text as the user wrote it. Paste it verbatim; do not rewrite, summarise or clean it first."
},
"video_title": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "The title the user plans to publish under. The audit checks whether the script delivers this promise."
},
"video_duration_seconds": {
"type": "integer",
"minimum": 1,
"description": "Intended runtime in seconds, only if the user stated one. Used for pacing; never assumed."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"notice",
"analysis_id",
"open_in_browser"
],
"properties": {
"notice": {
"type": "string",
"description": "The scope limit that accompanies every Prepublish result. Repeat it to the user rather than dropping it."
},
"status": {
"type": "string",
"description": "Present only when the audit had not settled inside this call; the value is \"running\"."
},
"analysis": {
"type": "object",
"description": "The settled audit: status (and error_message when it failed), video_title, overall_score with hook_score, structure_score and pacing_score, ready_to_record, one_key_improvement, score_explanations, the attention_map (position_pct, hold_index, note, sentiment), the improvements in priority order (priority, category, title and, for the passages on this plan, location, original_quote, improved and why; a locked passage outside ChatGPT carries only priority, category and title, and which line it points to comes with the unlock), locked_count, and policy_preflight. The script text itself and internal bookkeeping are not included. Absent while the audit is still running."
},
"next_step": {
"type": "string",
"description": "Present only when the audit is still running: what to do to collect it."
},
"unlock_url": {
"type": "string",
"description": "Present only when part of this result is locked on the caller's plan: where the user pays to unlock it. Absent when nothing is locked."
},
"analysis_id": {
"type": "string",
"description": "Prepublish id for this audit. Pass it to get_audit to re-read the result later."
},
"unlock_offer": {
"type": "string",
"description": "Present with unlock_url: the one sentence to relay when offering it."
},
"open_in_browser": {
"type": "string",
"description": "Permalink to the same audit on prepublish.ai."
}
}
}{
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}get_audit — Collect a Prepublish audit by id
Fetch the current state of an audit that was started earlier, using the analysis_id that audit_script returned. Use this when a previous audit was still running, or when the user refers back to an audit from earlier in the conversation. It performs no new analysis and costs nothing. This is a text-only check of an unrecorded script. It maps relative attention risk inside the draft. It does not measure or predict published YouTube retention, and it cannot account for delivery, editing, thumbnail, topic or distribution.
{
"type": "object",
"required": [
"analysis_id"
],
"properties": {
"analysis_id": {
"type": "string",
"minLength": 1,
"description": "The analysis_id returned by audit_script."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"notice",
"analysis_id",
"open_in_browser"
],
"properties": {
"notice": {
"type": "string",
"description": "The scope limit that accompanies every Prepublish result. Repeat it to the user rather than dropping it."
},
"analysis": {
"type": "object",
"description": "The audit at whatever state it has reached: read its \"status\" field first, because an audit that has not settled carries no scores. Once settled it carries the projected report described on audit_script, and an audit that failed carries its error_message."
},
"unlock_url": {
"type": "string",
"description": "Present only when part of this result is locked on the caller's plan: where the user pays to unlock it. Absent when nothing is locked."
},
"analysis_id": {
"type": "string",
"description": "The id that was requested, echoed back."
},
"unlock_offer": {
"type": "string",
"description": "Present with unlock_url: the one sentence to relay when offering it."
},
"open_in_browser": {
"type": "string",
"description": "Permalink to the same audit on prepublish.ai."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}audit_hook — Score the opening of a YouTube script
Score just the opening lines of a YouTube script: how much attention each sentence pulls, whether it opens a curiosity gap, how far away the payoff sits, plus the top issues and rewritten alternatives. Choose this when the user shares only a hook or opening paragraph, or wants a fast second opinion before auditing a whole draft. Cheaper and narrower than audit_script. This is a text-only check of an unrecorded script. It maps relative attention risk inside the draft. It does not measure or predict published YouTube retention, and it cannot account for delivery, editing, thumbnail, topic or distribution.
{
"type": "object",
"required": [
"hook_text"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "Only needed once the free anonymous hook check for the day is used. Prepublish stores this address and may send a short series of follow-up emails about the check that include an unsubscribe link. Ask the user; never invent it. When the caller is authenticated with a Prepublish API key the result comes back in the conversation instead, so do not ask for an address in that case."
},
"niche": {
"type": "string",
"description": "Channel niche, only if the user said it. Sharpens the comparison."
},
"hook_text": {
"type": "string",
"maxLength": 5000,
"minLength": 10,
"description": "The opening lines exactly as written, ideally the first 15 to 30 seconds of speech."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"notice",
"hook"
],
"properties": {
"hook": {
"type": "object",
"properties": {
"grade": {
"type": "string",
"description": "Letter grade for the opening."
},
"niche": {
"type": "string",
"description": "The niche the hook was compared against, when one was supplied."
},
"rewrites": {
"type": "array",
"items": {
"type": "object"
},
"description": "Alternative openings, each with its style and why that version works."
},
"hook_text": {
"type": "string",
"description": "The opening lines that were scored, echoed back."
},
"sentences": {
"type": "array",
"items": {
"type": "object"
},
"description": "Per-sentence breakdown: the quote, its attention pull, its curiosity gap, how far off the payoff sits, and a note."
},
"created_at": {
"type": "string",
"description": "When the evaluation was produced."
},
"model_used": {
"type": "string",
"description": "Which model produced this evaluation."
},
"top_issues": {
"type": "array",
"items": {
"type": "object"
},
"description": "The problems worth fixing first, each with a headline, the quote it applies to, and why it costs attention."
},
"evaluation_id": {
"type": "string",
"description": "Prepublish id for this hook evaluation."
},
"overall_score": {
"type": "integer",
"description": "Score for the opening as a whole."
},
"one_sentence_verdict": {
"type": "string",
"description": "The single-sentence read on the hook."
}
},
"description": "The hook evaluation."
},
"notice": {
"type": "string",
"description": "The scope limit that accompanies every Prepublish result. Repeat it to the user rather than dropping it."
}
}
}{
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}check_authenticity — Check a script for reused or inauthentic content risk
Check a script against YouTube's inauthentic-content expectations: whether it reads as mass-produced, templated or repetitive, which signals fire, and what to change. Returns a score, a risk level, the firing signals with quotes, and remediation steps. Choose this when the user worries about reused content, AI-sounding scripts, or a channel that repeats a formula. This reports text-level signals only; it is not a monetisation decision and does not speak for YouTube.
{
"type": "object",
"required": [
"video_title",
"script_text"
],
"properties": {
"script_text": {
"type": "string",
"maxLength": 250000,
"minLength": 50,
"description": "The script text as the user wrote it. Paste it verbatim; do not rewrite, summarise or clean it first."
},
"video_title": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "The planned title."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"notice",
"authenticity"
],
"properties": {
"notice": {
"type": "string",
"description": "The scope limit that accompanies every Prepublish result. Repeat it to the user rather than dropping it."
},
"authenticity": {
"type": "object",
"properties": {
"score": {
"type": "integer",
"description": "Authenticity score for the script."
},
"signals": {
"type": "array",
"items": {
"type": "object"
},
"description": "Each signal that fired, with its name, severity, reasoning and the quote that triggered it."
},
"verdict": {
"type": "string",
"description": "The short verdict in words."
},
"created_at": {
"type": "string",
"description": "When the check was produced."
},
"risk_level": {
"type": "string",
"description": "Banded risk level behind the score."
},
"analysis_id": {
"type": "string",
"description": "Prepublish id for this check."
},
"remediation": {
"type": "array",
"items": {
"type": "object"
},
"description": "What to change, each with the current passage, the fix, and why it matters."
},
"override_note": {
"type": "string",
"description": "Present when the banded result was overridden, explaining why."
},
"heuristic_report": {
"description": "The deterministic layer behind the score, passed through as the backend produced it."
}
},
"description": "The inauthentic-content read on this script."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}policy_preflight — Pre-flight a script against YouTube advertiser and monetisation policy
Check a script before recording for the YouTube policy categories it may touch: which category families are implicated, the consequence family for each, a verdict and flag counts. Each category cites YouTube's own published policy page. Choose this when the user is writing about sensitive subject matter and asks whether it is safe to monetise. The quoted passages and their suggested rewrites are part of the paid audit, so the free result may return counts with locked quotes. It reports risk against published policy text; it is not a monetisation guarantee and does not speak for YouTube.
{
"type": "object",
"required": [
"script"
],
"properties": {
"title": {
"type": "string",
"maxLength": 255,
"description": "The planned title, if the user has one. Titles are checked too."
},
"script": {
"type": "string",
"maxLength": 250000,
"minLength": 200,
"description": "The script text as written, at least 200 characters. Below that there is not enough context for a policy read."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"notice",
"policy_preflight",
"note"
],
"properties": {
"note": {
"type": "string",
"description": "Says which parts of the result are paid-only, so a locked field is not read as a clean pass."
},
"notice": {
"type": "string",
"description": "The scope limit that accompanies every Prepublish result. Repeat it to the user rather than dropping it."
},
"unlock_url": {
"type": "string",
"description": "Present only when part of this result is locked on the caller's plan: where the user pays to unlock it. Absent when nothing is locked."
},
"unlock_offer": {
"type": "string",
"description": "Present with unlock_url: the one sentence to relay when offering it."
},
"policy_preflight": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title that was checked, when one was supplied."
},
"cached": {
"type": "boolean",
"description": "True when this exact script and title had already been checked and the stored result was replayed."
},
"preflight": {
"type": "object",
"description": "The result itself: a verdict of \"no_matches\", \"review_suggested\" or \"high_matches\", the flags, counts_by_category, total_flags, whether the passages are locked, the rubric version it was scored against, the full category rubric with its citations, and the scope statement that must be shown with it."
},
"created_at": {
"type": "string",
"description": "When the pre-flight was produced."
},
"preflight_id": {
"type": "string",
"description": "Prepublish id for this pre-flight."
}
},
"description": "The policy read on this script."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}script_runtime — Convert script length to spoken runtime
Convert a word count, or a pasted script, into a spoken runtime range, and convert a target runtime back into a word budget. Rates come from Prepublish's own measurement of 349 videos: 25th percentile 160 words per minute, median 181, 75th percentile 201. Choose this for "how long will this script run" or "how many words for a ten-minute video". It is arithmetic on speaking rate only: it excludes pauses, B-roll and demonstrations, so a finished edit usually runs longer.
{
"type": "object",
"properties": {
"word_count": {
"type": "integer",
"minimum": 1,
"description": "A word count, if the user already knows it."
},
"script_text": {
"type": "string",
"description": "A script to count. Provide this or word_count or target_minutes."
},
"target_minutes": {
"type": "number",
"minimum": 0.1,
"description": "A target runtime in minutes, to convert into a word budget."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"speaking_rates_words_per_minute",
"source",
"caveat"
],
"properties": {
"caveat": {
"type": "string",
"description": "What this arithmetic excludes. Repeat it rather than presenting a single number."
},
"source": {
"type": "string",
"description": "Where the rates come from, with the published write-up."
},
"word_count": {
"type": "integer",
"description": "Words counted or supplied. Present when script_text or word_count was given."
},
"word_budget": {
"type": "object",
"required": [
"fast",
"median",
"slow"
],
"properties": {
"fast": {
"type": "integer",
"description": "Word budget at the fast rate."
},
"slow": {
"type": "integer",
"description": "Word budget at the slow rate."
},
"median": {
"type": "integer",
"description": "Word budget at the median rate."
}
},
"description": "Words needed to fill the target at each rate. Present when target_minutes was given."
},
"target_minutes": {
"type": "number",
"description": "The target runtime asked for, echoed back. Present when target_minutes was given."
},
"runtime_minutes": {
"type": "object",
"required": [
"fast",
"median",
"slow"
],
"properties": {
"fast": {
"type": "number",
"description": "Runtime at the fast rate."
},
"slow": {
"type": "number",
"description": "Runtime at the slow rate."
},
"median": {
"type": "number",
"description": "Runtime at the median rate."
}
},
"description": "Spoken runtime in minutes at each rate. Present when script_text or word_count was given."
},
"speaking_rates_words_per_minute": {
"type": "object",
"required": [
"fast",
"median",
"slow"
],
"properties": {
"fast": {
"type": "number",
"description": "75th percentile speaking rate."
},
"slow": {
"type": "number",
"description": "25th percentile speaking rate."
},
"median": {
"type": "number",
"description": "Median speaking rate."
}
},
"description": "The measured rates used, in words per minute: slow is the 25th percentile, median the 50th, fast the 75th."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Prompts
Not advertised
Resources
2 advertised
audit-report — Prepublish audit report
Inline report for a Prepublish script audit: scores, the relative attention-risk map, and the flagged passages with the finished rewrite.
ui://prepublish/audit-v2.htmlaudit-report — Prepublish audit report
Inline report for a Prepublish script audit: scores, the relative attention-risk map, and the flagged passages with the finished rewrite.
ui://prepublish/audit-v1.html90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 2791 ms
- 95th percentile latency
- 3005 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 3029 ms · 6 tool(s), 2 resource(s), 0 resource template(s)
- · probe · passed · 2552 ms · metadata changed · 6 tool(s), 2 resource(s), 0 resource template(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http prepublish-mcp https://mcp.prepublish.aiCodex
codex mcp add prepublish-mcp --url https://mcp.prepublish.aiCursor
{
"mcpServers": {
"prepublish-mcp": {
"url": "https://mcp.prepublish.ai"
}
}
}Cline
{
"mcpServers": {
"prepublish-mcp": {
"type": "streamableHttp",
"url": "https://mcp.prepublish.ai",
"disabled": false
}
}
}VS Code
{
"servers": {
"prepublish-mcp": {
"type": "http",
"url": "https://mcp.prepublish.ai"
}
}
}Gemini CLI
gemini mcp add --transport http prepublish-mcp https://mcp.prepublish.aiClaude Desktop
https://mcp.prepublish.aiWindsurf
{
"mcpServers": {
"prepublish-mcp": {
"serverUrl": "https://mcp.prepublish.ai"
}
}
}Let your agent find its tools
Find servers like Prepublish MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Frequently asked questions
- What specific tasks can this server perform?
- It audits hooks, structure, and pacing; checks for inauthentic content; calculates spoken runtime; and pre-flights scripts against YouTube monetization policies.
- Is an API key required to use the tools?
- No account or key is needed to connect. However, individual tools may require vendor credentials. An API key lifts the shared daily cap and is sent as a bearer token or via the PREPUBLISH_TOKEN environment variable.
- How do I remove the shared daily cap?
- Create an API key at prepublish.ai/dashboard. Send it as a bearer token on every call or set the PREPUBLISH_TOKEN environment variable to authenticate.
- What tools are available for script evaluation?
- The server provides `audit_hook`, `audit_script`, `check_authenticity`, `get_audit`, `policy_preflight`, and `script_runtime` for evaluating script quality and compliance.
Do you run Prepublish MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.