PR Agents on Medialyst
Medialyst gives your agent the data: real-time news search and journalist enrichment, over REST and the MCP server. That's the layer underneath the work — every result grounded in live coverage and real, recent bylines, not model memory.
There are two ways to build on it.
Use newsjack.sh (the full agent)
newsjack.sh is the open-source PR agent built on Medialyst. It's the smoothest way to put Medialyst to work from Claude, ChatGPT, Cursor, or your own terminal — opinionated skills for the whole PR loop, not just raw tool calls.
- Open source: github.com/elvisun/newsjack
- OAuth device login: run
newsjack login, approve the browser prompt, and you're connected — no API key to copy out of the terminal. - The full loop: find angles from live news, build a fit-scored journalist list, and draft pitches — with review and sending kept human-in-the-loop.
Reach for newsjack.sh when you want a working PR agent out of the box instead of assembling the primitives yourself.
Build your own agent (the primitives)
Prefer to wire Medialyst into your own agent? Point any MCP-capable client at the server and call the REST-backed tools:
https://medialyst.ai/api/mcpget_credit_balance→GET /api/v1/credits/balancecreate_media_list→POST /api/v1/media-lists:create-asynclist_media_lists→GET /api/v1/media-listsget_media_list_job→GET /api/v1/jobs/:jobIdget_media_list→GET /api/v1/media-lists/:mediaListIddelete_media_list→POST /api/v1/media-lists/deletecreate_empty_media_list→POST /api/v1/media-lists/emptyadd_journalists_to_media_list→POST /api/v1/media-lists/:mediaListId/journalistsget_pitch_drafts→GET /api/v1/media-lists/:mediaListId/pitch-draftssave_pitch_drafts→POST /api/v1/media-lists/:mediaListId/pitch-draftslookup_article→GET /api/v1/articles/lookuplookup_articles→POST /api/v1/articles/lookup:batchlookup_publication→GET /api/v1/publications/lookuplookup_publications→POST /api/v1/publications/lookup:batchlookup_journalist→POST /api/v1/journalists/lookupsearch_news→POST /api/v1/news/searchask_ai_engines→POST /api/v1/ai-answersquery_pr_calendar→POST /api/v1/pr-calendar/querylist_journalist_moves→GET /api/v1/journalist-movesenrich_journalists→POST /api/v1/journalists/enrichget_journalist_enrichment_job→GET /api/v1/journalist-enrichment-jobs/:jobId
list_journalist_requests is MCP-only.
A few rules keep agents honest:
- For one named journalist's email, call
lookup_journalist. For article authors or many journalists at once, callenrich_journalistswithjournalist_referencesources:namerequires at least one ofpublication,domain, or a real identifyingurl. - Use
article_urlfor a real article fromsearch_newsor the user when enriching its author. Never invent URLs. - Use
query_pr_calendarfor planning moments, awareness days, conferences, and pitch timing. - Use
ask_ai_enginesto compare one question across selected engines and inspect their cited sources. Each successful engine answer costs 1 credit; failed engines cost 0 credits. An account without access receivesAI_ANSWERS_UPGRADE_REQUIREDbefore the request runs. - Use
lookup_articlefor one known article URL and optional Markdown; uselookup_articlesfor 1-10 URLs without Markdown. - Use
lookup_publicationfor one outlet or article URL.lookup_publicationsaccepts 1-25 cached/default URLs, or at most five withforce_refresh: true. - Budget 0.1 credit per successful article URL and 0.01 credit per successful publication URL. Per-URL failures cost 0 credits.
- All four lookup tools require
media_lists:manage. lookup_journalisttakesq(name plus outlet) or ajournalist_idand returnsstatus:found(the deliverableemail),checking(call again with the same input afterretry_after_seconds),not_found(never guess an address), orambiguous(call again with a candidate'sjournalist_id, or with the sameqandfind_live: truewhen none is the person). It needs no special scope.- A
foundemail costs 1 credit; the same person is free for 30 days. A free plan gets 3 lookups a day, shared withenrich_journalists. OnFREE_PLAN_DAILY_LIMIT,INSUFFICIENT_CREDITS, orLOOKUP_DAILY_CAP, relay the message and stop. - The signed-in app's credit-free Journalist Lookup and daily fair-use limit do not apply to this MCP tool; keep the API billing rules above.
- Use
fit_context.pitchonenrich_journalistswhen you want scored fit or pitch angles. enrich_journalistsis async-only: it returns a job id; pollget_journalist_enrichment_jobuntil the job is complete or failed.- Use
list_media_liststo discover existing work across MCP, REST, and the Medialyst app; preserve brand/date filters while followingpage.next_cursor. - To build a list, call
create_media_listwith a prompt andtarget_list_sizeas a credit budget, plus a stablerequest_options.idempotency_key; optionally passbrand_id, which additionally requiresbrands:manage. Pollget_media_list_jobto a terminal status, then callget_media_listwithinclude_rows: trueandrow_detail: "full". - Save and reuse the returned
job_idandmedia_list_id; job status and media list reads are limited to the same account. - Use
delete_media_listonly when the user wants whole lists permanently removed. Put up to 50 returned ids inselector.keys; usedry_run: trueto confirm the selection, thendry_run: falsewith a stableidempotency_key. It cancels linked active jobs and cannot be undone. - Use returned ids. Do not invent enrichment, media-list job, or media-list ids.
- To pitch journalists the user already knows, call
create_empty_media_list, thenadd_journalists_to_media_list(it runs enrichment for the new rows: 1 credit per row that delivers a verified email; a miss is free; anemailyou send stays primary and is never charged, and a different verified email found by research is added as an alternate for 1 credit), thenget_pitch_draftsuntil rows are matched, thensave_pitch_draftswith one{ row_id, subject, body_text }per journalist, at most 100 per call. Read every item's result; fix and resend only the refused ones. - Agents write drafts; they never send. The MCP cannot edit individual media list rows, create share links, or send, schedule, or preview outreach. The user reviews each draft in Pitch Desk and sends it from their own Gmail or Outlook, where the person whose reputation is on the line keeps final judgment. Give them the returned
review_url.
Media-list flow:
list_media_lists(filters?, cursor?)
-> reuse an existing media_list_id, or:
create_media_list
-> get_media_list_job until complete, failed, or cancelled
-> get_media_list(media_list_id, include_rows=true, row_detail=full)
-> continue with page.next_cursor until null
-> optional cleanup: delete_media_list(selector.keys=[media_list_id], dry_run=false, idempotency_key=stable_key)Known-journalist input:
{
"from": [
{
"type": "journalist_reference",
"name": "Jane Doe",
"publication": "The Daily Example"
}
]
}Direct-email flow:
lookup_journalist(q = name + outlet)
-> ambiguous: lookup_journalist(journalist_id = chosen candidate)
or, if none is the person, lookup_journalist(q, find_live = true)
-> checking: wait retry_after_seconds, call again with the same input
-> found: return email with the outlet and affiliation_status
-> not_found: say so; never guess an addressSee Medialyst MCP for OAuth and API-key setup, the full tool surface, and troubleshooting.