MCP reference
Server:https://verelyn.com/api/mcp. Browser OAuth binds every call to the approving reader. All tools are deployed contracts but live use is access dependent.
Authorization: the resource metadata lists one authorization server, used by clients that can open a browser. A client with no local browser sends a personal assistant key the reader created in Connections, as Authorization: Bearer <key>. A key carries the same permissions as a browser connection, expires after the lifetime the reader chose, and is refused like any invalid credential once expired or revoked.
Every tool has a title and declares all four MCP hints. Reading tools set readOnlyHint; tools that change something set it false; the three that end something for good (stop_monitor, stop_topic_follow, and submit_mandate_correction, whose stop correction retires a topic or company) also set destructiveHint. No tool reaches outside Verelyn’s own data when it is called, so openWorldHint is false on every tool.
Following uses the reader’s credits: on block-credit plans, each new block a followed situation publishes; on older credit terms, every day it is followed. start_monitor, resuming with set_monitor_state, and changing a followed topic with update_topic_follow say so in their descriptions, and the consent screen says it before the reader approves. No tool buys credits, charges a card or moves money, and none can start or resume a followed topic: a new topic with its limits is set up on the Verelyn website.
Exact write inputs
All fields are required unless marked optional. UUID fields arecommand_id, draft_id, target_answer_id, item_id, alert_id, monitor_id, and requirement_id. question_id is a non-empty string of at most 160 characters; use the value returned by the service unchanged.
submit_mandate_correction:
expected_revision is a non-negative integer; statement is 1–2,000 characters; provenance is reader_words or assistant_suggestion. Call get_mandate first and send its revision as expected_revision. If the mandate changed since, the call answers outcome: "refused" with the current revision, and nothing is changed. If that revision differs from the one you sent, read get_mandate again and retry.
resolve is optional: go_by_new or keep_previous. Send it only to answer a pending question whose question_reason is contradiction, with the reader’s own choice and provenance reader_words. It settles the statement that asked, using that statement’s recorded words (send the reader’s reply as statement). go_by_new goes by the new statement; keep_previous changes nothing. If that question is no longer pending (already answered, or a newer statement arrived), the call fails with no_pending_question. Retrying with the same command_id and payload returns the first result.
Its structuredContent carries question and question_reason when outcome is needs_answer. question_reason is contradiction, several_changes, ambiguous_target, unsure_stop, or unclear_name, and null otherwise. Answer a contradiction with resolve. Answer any other reason with the reader’s reply as a new statement.
start_monitor takes exactly one field, never both:
set_monitor_state:
state is active or paused; use stop_monitor, which takes only monitor_id, to stop. get_updates.items[].id can supply an eligible alert ID. get_briefing returns each story’s id on briefing.items[] and on the matching block in presentation.blocks[]; pass it as item_id. Another reader’s id is not_found.
stop_monitor:
remember_about_me takes remark, in the reader’s own words. set_block_size takes cap: compact, standard or none.
preview_topic takes topic (3–300 characters) and optionally angle, threshold (severe, notable or everything) and daily_cap. update_topic_follow takes the UUID requirement_id that list_follows returned and any of threshold, daily_cap, end ({"kind":"date","date":"2026-12-01"}, {"kind":"condition","condition":"..."} or {"kind":"ongoing"}) and angle, plus cadence (instant as it happens, thrice at 08:00, 13:00 and 19:00 the reader’s time, daily once a day, together in the daily briefing with the rest; default daily) and channel (email, or assistant for only through the assistant, with no email; default email). It answers not_found for a topic the reader does not follow now, including one that was stopped. stop_topic_follow takes only requirement_id. get_deep_dive takes subject. get_whats_new takes optional topic (2–300 characters), only_new (default true) and since (an ISO date-time).
start_onboarding:
get_onboarding:
submit_onboarding_answer always requires draft_id, UUID command_id, non-negative expected_revision, action, and provenance (reader_answer or assistant_suggestion). action is answer, correct, skip, or retry:
answer: also requiresquestion_id,question_text, and non-emptyanswer.correct: also requires UUIDtarget_answer_id,question_id,question_text, and non-emptyanswer.skip: also requiresquestion_idandquestion_text.retry: adds no action-specific field.- Optional
timezonemust be an IANA time-zone name such asAmerica/Argentina/Cordoba.
structuredContent shape; later states may instead include next_question, continue_url, or a public error:
Result envelopes
Success returns MCPstructuredContent matching the tool’s output schema plus a short text summary. For example, set_monitor_state returns:
isError: true and returns public text, for example invalid_cursor: That cursor is not one this newsroom issued. It does not return the REST JSON error envelope.
Common public errors are unauthorized, onboarding_required, permission_missing, already_onboarded, permission_denied, invalid_request, invalid_input, briefing_unavailable, revision_conflict, invalid_cursor, not_found, monitor_stopped, limit_reached, unsupported_coverage, evaluation_unavailable, onboarding_unavailable, and internal_error. See Troubleshooting.
On the MCP tools, unauthorized means the bearer is not a valid connection (unknown, revoked, expired or a dead session). A valid connection is told what it lacks instead: onboarding_required when it can only set up a new Verelyn (call start_onboarding, or get_onboarding to continue), permission_missing when it was not allowed that action (the message names it and where the person allows it), and already_onboarded when a reader’s connection calls an onboarding tool. A connection that can only onboard lists only the three onboarding tools, and calling any other tool answers onboarding_required. The other HTTP read routes keep the uniform unauthorized.
Identifiers and cursors are opaque. Examples use synthetic values only.