eo-magazine-mcp

v0.4.2
@eo-studio-dev/eo-magazine-mcp Checked 1 day ago Published 12 days ago

EO Magazine article drafting and explicit publishing MCP server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

eo_magazine_get_video_transcript

Read the English transcript for a YouTube video from the same caption archive used by Veda article generation. Never substitutes translations and never creates or publishes an article. Uses separate Veda authentication.

ParameterTypeDescription
video *stringYouTube URL or video ID

eo_magazine_get_youtube_chapters

Read verified chapters from this video's archived S3 chapters.json through company-authenticated Veda. Only an absent sidecar falls back to the current official YouTube description; invalid metadata and access failures stop the lookup. Returns provenance hashes for S3 evidence and found/none status. Lookup failures never mean no chapters. Does not invent headings or change CMS.

ParameterTypeDescription
video *stringYouTube URL or video ID

eo_magazine_auth

Check or establish the dedicated Magazine editor session.

eo_magazine_list_articles

List editor articles. Excludes deleted articles by default; is_deleted:true lists deleted articles. Filtering happens on the server before pagination.

ParameterTypeDescription
is_deletedboolean
is_publishedboolean
keywordstring
languagestring
limitinteger
offsetinteger

eo_magazine_get_article

Read an article's working revision and its updated_at token for subsequent edits or explicit publication. This may differ from the public article.

ParameterTypeDescription
article_id *integer

eo_magazine_create_draft

Create an unpublished draft from the supplied manuscript with publishing metadata, guests and transcript PDF. Omit IDs only for new blocks: MCP assigns stable nine-character lowercase alphanumeric IDs and returns them in article.content. Preserve source block/list-item IDs when creating a translation. Blank/duplicate IDs are rejected. Returns metadata_status: complete missing metadata before reporting completion. Idempotency keys apply to this MCP session only. Never publishes.

ParameterTypeDescription
idempotency_key *string
language *string
title *string
blocksarray
category_idinteger
guestsarray
interviewed_at
is_open_accessboolean
og_logo_url
open_graph_descriptionstring | null
open_graph_image_url
subtitlestring
theme_idinteger
thumbnail_image_url
transcript_pdf
youtube_published_at

eo_magazine_create_youtube_draft

Import an existing manual SRT file into an unpublished YouTube article: embedded video and timestamp-linked transcript, with optional guests, PDF and publishing metadata. No speech recognition or translation. Supply a stable video/language idempotency_key within this MCP session; retain the returned article ID across sessions.

ParameterTypeDescription
idempotency_key *string
language *string
srt_path *string
title *string
youtube_url *string
blocks
category_idinteger
guestsarray
interviewed_at
is_open_accessboolean
og_logo_url
open_graph_descriptionstring | null
open_graph_image_url
subtitlestring
theme_idinteger
thumbnail_image_url
transcript_pdf
youtube_published_at

eo_magazine_update_draft

Save a working revision using expected_updated_at. Read get_article first; preserve every existing block and structured list-item ID when editing, reordering or translating. Omit IDs only on new blocks. Blank/duplicate IDs are rejected. Replacing all IDs in the document or a nested container requires replace_block_ids:true; ordinary deletion/reordering does not. guests replaces profile blocks; transcript_pdf replaces its button (null removes it). Public changes require explicit publish.

ParameterTypeDescription
article_id *integer
expected_updated_at *string
blocksarray
category_idinteger
guestsarray
interviewed_at
is_open_accessboolean
languagestring
og_logo_url
open_graph_descriptionstring | null
open_graph_image_url
replace_block_idsboolean
subtitlestring
theme_idinteger
thumbnail_image_url
titlestring
transcript_pdf
youtube_published_at

eo_magazine_article_status

Check draft/scheduled/published/deleted status, readiness and version.

ParameterTypeDescription
article_id *integer

eo_magazine_publish_article

Publish the exact working revision of one article, including changes to an already-published article. Optional RFC3339 published_at schedules or backdates publication; omission preserves an existing publication date. Requires human authorization for this exact article and confirm:true. On a version conflict, read and review again before publishing; never automatically retry a newer revision.

ParameterTypeDescription
article_id *integer
confirm *boolean
expected_updated_at *string
published_atstring

eo_magazine_set_article_dates

Save interviewed_at (YYYY-MM-DD) and youtube_published_at (RFC3339) in the working revision of any active article with expected_updated_at. null clears a date; an omitted date is unchanged. Explicit publication is required to update public dates.

ParameterTypeDescription
article_id *integer
expected_updated_at *string
interviewed_at
youtube_published_at

eo_magazine_upload_asset

Upload a named local image or PDF and attach it to an article's working revision. Uses a unique asset key and a version-checked article update; explicit publication is required to change public assets. Paths are on the MCP host; maximum 20 MiB.

ParameterTypeDescription
article_id *integer
content_type *string
expected_updated_at *string
file_path *string
purpose *string

eo_magazine_prepare_og_image

Convert a local thumbnail into a new 1200x630 PNG social-share background. Default contain preserves the whole image with dark padding; cover crops the center. Handles EXIF orientation. Still PNG/JPEG/WebP only, maximum 20 MiB and 40 million pixels. Returns a temporary file_path on the MCP host without authentication, uploading or CMS changes. Show the result for human approval before calling upload_asset with purpose open_graph; source is unchanged.

ParameterTypeDescription
file_path *string
fitstring

eo_magazine_set_slugs

Save the complete working custom-slug list using optimistic locking. Include existing aliases to retain them. Changes become public only after explicit publication.

ParameterTypeDescription
article_id *integer
expected_updated_at *string
slugs *array

eo_magazine_list_credits

Read article credits and contributor IDs. EDITOR credits determine editors; the lowest order across all credits determines primary_credit.

ParameterTypeDescription
article_id *integer

eo_magazine_set_credit

Save one working contributor credit using optimistic locking. Ask for missing people and roles, then propose distinct order values and primary_credit for human confirmation before saving. Lowest order becomes primary_credit. Preserve existing credits unless asked to change them. Changes become public only after explicit publication.

ParameterTypeDescription
article_id *integer
contributor_hid *string
expected_updated_at *string
order *integer
role *string

eo_magazine_get_transcript_document

Load this video's current English MD/PDF bundle and persistent review state from S3 through Veda. Returns full Markdown and local preview links. Works across MCP sessions. Pending Mac mini generation is not a request for user-supplied files.

ParameterTypeDescription
video *string

eo_magazine_revise_transcript_document

Save requested Markdown edits and/or confirmed metadata {subtitle, article_url} using expected_document_revision. Ask only for missing/unconfirmed interview subtitle and exact Magazine article URL; reuse confirmed article context, never invent them. Metadata-only edits preserve the body. Regenerate MD/PDF as a new S3 revision. Keep original MD plus latest MD/PDF; intermediate files are pruned only after successful storage. Show both previews for fresh approval; never publishes.

ParameterTypeDescription
expected_document_revision *string
video *string
markdownstring
metadataobject

eo_magazine_approve_transcript_document

Record explicit human approval of the exact displayed document revision and BOTH Markdown/PDF hashes. confirm:true is required. Does not attach, publish or schedule an article.

ParameterTypeDescription
confirm *boolean
document_revision *string
markdown_sha256 *string
pdf_sha256 *string
video *string

eo_magazine_attach_archived_transcript_pdf

Attach the latest approved S3 transcript PDF to the confirmed video's article working revision using expected_updated_at. Rechecks source, document, approval and checksums. Never publishes.

ParameterTypeDescription
article_id *integer
document_revision *string
expected_updated_at *string
video *string

eo_magazine_prepare_transcript_pdf

Fetch the exact English SRT from Veda's S3 caption archive and prepare EO Interview review Markdown for an existing target article with this YouTube block. Omit chapters to automatically read verified S3 chapters.json through Veda, falling back to the official YouTube description only if that sidecar is absent; a lookup failure stops preparation instead of assuming no chapters. Supply chapters only when already independently verified; chapters:[] asserts verified no chapters. Never infer or invent headings. Ask only for missing confirmed title, subtitle (person/role/company), guest_names, inte…

ParameterTypeDescription
article_id *integer
article_url *string
guest_names *array
published_month *string
subtitle *string
title *string
video *string
chaptersarray

eo_magazine_revise_transcript_pdf

Save edited review Markdown and return a new preview/hash. Preserve confirmed header/source and verified chapters. Preserve substantive transcript content and spoken order; do not summarize or add facts. Show the returned complete Markdown again for human approval. A revision invalidates prior PDF output; no PDF or CMS changes occur.

ParameterTypeDescription
markdown *string
markdown_sha256 *string
preparation_id *string

eo_magazine_render_transcript_pdf

Render exactly the reviewed Markdown as a local EO Interview PDF (Letter/Helvetica, source attribution, EO footer/page numbers). Requires explicit human approval of this exact Markdown and markdown_sha256, with confirm:true; never infer approval from a request to prepare a review. Rechecks English caption revision. Returns local PDF for inspection, without uploading or changing CMS. No rewriting occurs during rendering.

ParameterTypeDescription
confirm *boolean
markdown_sha256 *string
preparation_id *string

eo_magazine_attach_transcript_pdf

Attach the rendered, inspected transcript PDF to the same confirmed article's working revision. Requires human approval of the exact Markdown/PDF workflow and confirm:true. Use the returned hashes and the target article's latest updated_at. Rechecks caption revision, video association and PDF bytes. Article prose edits do not invalidate the standalone transcript. Return the CMS preview to the user; never publishes. Replacing an existing transcript download is intentional; review the target first.

ParameterTypeDescription
confirm *boolean
expected_updated_at *string
markdown_sha256 *string
pdf_sha256 *string
preparation_id *string

eo_magazine_youtube_transcript_status

Read whether the required YouTube transcript workflow has reached Markdown review, approved rendering or verified PDF attachment. Checks the actual download block, native transcript provenance, linked video and current English caption revision. Survives restart through saved provenance; a legacy PDF without provenance is unverified. Article title/prose edits do not invalidate an attached transcript. Never declares completion merely because an article or local PDF exists; never changes CMS.

ParameterTypeDescription
article_id *integer
video *string

eo_magazine_prepare_youtube_article

Fetch verified English SRT, archived chapters.json evidence (official description only if absent), and the EO interview writing prompt for a YouTube URL/ID. The Codex/Claude client writes the article, not a backend model. No CMS mutation or PDF generation. Explicit chapters are for independently verified metadata only; lookup failures never mean no chapters.

ParameterTypeDescription
video *string
chaptersarray

eo_magazine_create_youtube_article_draft

Save an unpublished native EO article and return its persistent S3 transcript MD/PDF for review. Omit transcript_document for the normal archive flow; no user-created MD/PDF or article-linked transcript metadata is needed. Show the pair, save edits as new revisions, approve both exact hashes and attach the latest approved PDF. A pending document returns the saved article ID and retry tool; never create a duplicate or ask for files merely because generation is pending. Explicit transcript_document metadata retains the legacy local workflow. Preserve native block IDs and empty image slots. Never…

ParameterTypeDescription
expected_caption_revision *string
idempotency_key *string
image_requests *array
sections *array
subtitle *string
takeaways *array
teaser *
title *string
traction *string
video *string
what *string
who *string
category_idinteger
languagestring
open_graph_descriptionstring
theme_idinteger
transcript_documentobjectOptional legacy local-PDF metadata. Omit for the normal persistent S3 transcript-document workflow.
verified_entitiesarray

eo_magazine_upload_article_image

Upload a user-supplied local PNG/JPEG/WebP (max 20 MiB), then replace exactly one unique empty native image block in the article's working revision using its stable block ID and latest expected_updated_at. Requires caption and credit. Rejects populated images and ambiguous slots. Preserves other content and the independent transcript PDF. Remaining photo requests are returned for chat; request details may be unavailable after an MCP restart. Never publishes; on conflict read the article again and confirm the target slot.

ParameterTypeDescription
article_id *integer
caption *string
content_type *string
credit *string
expected_updated_at *string
file_path *string
placeholder_block_id *string

eo_magazine_list_categories

Read the current CMS category IDs and names. Choose an existing category and save category_id through update_draft with the latest expected_updated_at; never invent category IDs or switch to the browser.

eo_magazine_list_topics

Read current CMS topic (tag) IDs, names and metadata. Optional keyword searches the server taxonomy. Use these existing IDs with set_article_topics; this does not create or rename topics.

ParameterTypeDescription
keywordstring

eo_magazine_set_article_topics

Replace the article working revision's complete topic list with existing CMS tag_ids. Read current tag_ids first and include those to retain. An explicit empty array clears all topics. Uses expected_updated_at; never publishes, creates taxonomy or changes article prose. On conflict, read and review again before retrying.

ParameterTypeDescription
article_id *integer
expected_updated_at *string
tag_ids *array

eo_magazine_prepare_article_metadata

Read the supplied manuscript's current working revision, missing subtitle/category/topics/OG description and real CMS taxonomy. Derive missing editorial text from that article, choose actual IDs, preserve supplied valid values, then call complete_article_metadata. No model, browser or CMS write is performed by this preparation tool.

ParameterTypeDescription
article_id *integer

eo_magazine_complete_article_metadata

Fill a working article's required subtitle, category_id, complete nonempty tag_ids and open_graph_description in one version-checked save. Use manuscript-based text and real taxonomy from prepare_article_metadata; preserve its existing valid metadata. Does not overwrite existing supplied values: use an explicitly requested update_draft or set_article_topics for editorial changes. Does not change prose, publish, schedule or invent taxonomy. Read back verifies completion; missing metadata blocks publication.

ParameterTypeDescription
article_id *integer
category_id *integer
expected_updated_at *string
open_graph_description *string
subtitle *string
tag_ids *array

eo_magazine_apply_article_entity_links

Preview verified person LinkedIn and company official-site links at their first readable body mention. Supply user-quoted URLs or actual web-verification evidence, never guesses. Evidence is client-attested; the MCP validates destinations and evidence shape but does not independently prove identity or fetch websites. Existing anchors, attributes and unrelated blocks remain unchanged. Default preview makes no CMS write. An authorized edit requires confirm:true, its exact preview_sha256 and latest expected_updated_at; never publishes.

ParameterTypeDescription
article_id *integer
expected_updated_at *string
verified_entities *array
confirmboolean
preview_sha256string

eo_magazine_prepare_translation_batch

Select exact English sources for a Korean translation batch. Default PRD; use DEV when requested. The saved batch fixes API/editor origins and environment for all later calls. Inspect linked canonical/recovered translations; skip already published, reuse drafts, report ambiguity. Never generates or publishes. Requires an origin-bound approved company session import; never opens a login browser.

ParameterTypeDescription
environment *string
idempotency_key *string
source_article_ids *array

eo_magazine_start_translation_batch

Submit ALL selected sources to the durable server queue. HTTP 202 is accepted, not completed. The backend owns concurrency (default/max 10 workers per instance), queued overflow, checkpointing and automatic retries. Do not wait for ten completions before submitting the rest. Reuses active jobs and existing drafts; never overwrites editorial work. Lost responses are recovered by status/latest-job lookup.

ParameterTypeDescription
batch_id *string

eo_magazine_get_translation_draft

Read one selected source manuscript and its linked Korean translation blocks, metadata and revisions from the batch's fixed environment. Use this to derive genuinely missing Korean metadata or inspect translation quality; generic get_article may target another environment and the translated article body is not materialized until publication. Never changes or approves text.

ParameterTypeDescription
batch_id *string
source_article_id *integer

eo_magazine_translation_batch_status

Recover persisted batch/job progress across MCP restarts. queued is normal waiting, not a failure. Poll every 2-5 seconds while queued/running; client timeout/disconnection never means translation failed. retry_failed explicitly resumes only retryable terminal failures, at most two extra jobs per item. Do not retry source/editorial conflicts or provider refusals automatically. Returns Korean metadata, readiness blockers and the exact batch publication token.

ParameterTypeDescription
batch_id *string
retry_failed *boolean

eo_magazine_complete_translation_batch

After generation succeeds, verify each Korean draft inherits its original English slug (or original numeric address when no slug exists). Never translate, generate or reserve a separate slug. Keep historical aliases and editorial metadata. Provide any missing Korean title, subtitle and OG description derived from the manuscript; fills missing fields only. Never approves or publishes. All selected articles must be complete before batch publication.

ParameterTypeDescription
batch_id *string
metadataarray

eo_magazine_publish_translation_batch

Publish the entire ready selection with ONE explicitly authorized command and its exact reviewed publication_token. Checks every article before the first publish, preserves original publication dates and credits through translation publication. Never substitutes newer revisions or bypasses translation/review blockers. Individual publications are transactional; a batch can partially succeed after network errors. Repeat the same token to reconcile receipts/resume only unfinished items. Refreshes Korean recommendations and listings after all publications. Human authorization must name this exact…

ParameterTypeDescription
batch_id *string
confirm *boolean
publication_token *string

eo_magazine_refresh_translation_batch

Retry failed Korean recommendation/cache/listing checks for an already published batch. Reuses successful refresh receipts and never regenerates, republishes or changes article dates. Returns per-article public/editor links and remaining errors. Batch complete is true only after publications and refresh verification succeed.

ParameterTypeDescription
batch_id *string