Medialyst MCP
Medialyst is the data layer for your agent. The remote MCP server exposes a small set of authenticated research and monitoring tools:
https://medialyst.ai/api/mcpMost tools share a service contract with Medialyst's public developer API.
list_journalist_requests is intentionally MCP-only.
Want a full PR agent, not just tools?
Medialyst provides the data; newsjack.sh is the open-source agent that turns it into a full PR team — angles, fit-scored journalist lists, and drafted pitches. If you'd rather not wire the primitives together yourself, start there.
Authentication
You have two ways to connect, and both grant the same scoped, org-level access:
- OAuth — for chat clients like Claude.ai and ChatGPT. Paste the MCP URL, authorize Medialyst when prompted, pick your organization, and you're in. No API key to paste.
- API key — for clients that send an
Authorizationheader (Claude Code, Cursor, Codex) and for CI. Create a key from Developers, store it in secret storage or an environment variable, and send it as a bearer token:
Authorization: Bearer <YOUR_API_KEY>Existing connections
Existing full-access connections were upgraded automatically. If you deliberately narrowed a credential, create a new key or reconnect to grant brand access.
Clients without custom headers or OAuth
If a client can't attach an Authorization header or use OAuth, pass the key on the URL as ?api_key=<YOUR_API_KEY>. The server strips the query parameter and treats it as the same bearer token. Because the key sits in the URL, intermediate proxies, CDNs, or access logs may record it — use a dedicated key with the minimum scopes, and revoke and rotate it from Developers if it leaks.
Required Scopes
| Scope | Needed for |
|---|---|
| Valid credential; no special scope | Polling the zero-credit journalist-request feed; all six platforms are included for free |
| Valid credential; no special scope | Looking up one journalist's email with lookup_journalist (free plan: 3 lookups a day, shared with enrich_journalists) |
| Organization access that includes the journalist-moves feed; no special scope | Polling the zero-credit journalist-moves feed |
news:search | Searching recent news coverage and asking AI engines; an account without AI answers access receives AI_ANSWERS_UPGRADE_REQUIRED before a request runs |
media_lists:manage | Listing, creating, polling, and reading media lists; looking up articles/publications; enriching journalists; and polling enrichment jobs |
brands:manage | Creating and maintaining brands, durable memory, brand files, and Radar; also required when create_media_list explicitly supplies brand_id; the organization must have the relevant feature enabled for brand-management tools |
outreach:read | Reading pitch engagement, replies, and outreach history |
Connect Your Agent
Claude.ai and ChatGPT (OAuth)
Add Medialyst as a custom connector with just the URL — no header, no key:
- Settings → Connectors → Add custom connector
- Name:
Medialyst - Remote MCP server URL:
https://medialyst.ai/api/mcp - Leave advanced settings empty. Add it, then authorize Medialyst with OAuth when prompted and choose your organization.
ChatGPT custom connectors are currently rolling out for Plus and Pro.
For a step-by-step Claude walkthrough with screenshots, see Set Up Medialyst In Claude.
Claude Code
export MEDIALYST_API_KEY="<YOUR_API_KEY>"
claude mcp add --transport http --scope user medialyst https://medialyst.ai/api/mcp \
--header "Authorization: Bearer $MEDIALYST_API_KEY"Verify in Claude Code:
/mcpClaude Desktop
{
"mcpServers": {
"medialyst": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://medialyst.ai/api/mcp",
"--header",
"Authorization: ${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <YOUR_API_KEY>"
}
}
}
}Cursor
{
"mcpServers": {
"medialyst": {
"url": "https://medialyst.ai/api/mcp",
"headers": {
"Authorization": "Bearer ${env:MEDIALYST_API_KEY}"
}
}
}
}Then start Cursor from a shell where the key is exported:
export MEDIALYST_API_KEY="<YOUR_API_KEY>"
cursor .Codex
[mcp_servers.medialyst]
url = "https://medialyst.ai/api/mcp"
bearer_token_env_var = "MEDIALYST_API_KEY"Then export the key before starting Codex:
export MEDIALYST_API_KEY="<YOUR_API_KEY>"
codex mcp listCommand line (newsjack)
newsjack is the open-source PR CLI built on Medialyst. Connect it with one command:
newsjack loginApprove the browser prompt and the CLI authenticates with OAuth device login — no API key to copy out of the terminal. Install instructions live at newsjack.sh. CI and power users can still set a MEDIALYST_API_KEY instead.
Other Clients
Use the Streamable HTTP endpoint and bearer header directly:
MCP URL: https://medialyst.ai/api/mcp
Transport: Streamable HTTP
Header: Authorization: Bearer <YOUR_API_KEY>If your client only supports stdio servers, bridge to the remote endpoint with
mcp-remote.
Tool Surface
| MCP tool | Backing public surface | Safety | Scope |
|---|---|---|---|
get_credit_balance | GET /api/v1/credits/balance | Read-only | API key |
create_media_list | POST /api/v1/media-lists:create-async | Non-destructive | media_lists:manage |
list_media_lists | GET /api/v1/media-lists | Read-only | media_lists:manage |
get_media_list_job | GET /api/v1/jobs/:jobId | Read-only | media_lists:manage |
get_media_list | GET /api/v1/media-lists/:mediaListId | Read-only | media_lists:manage |
delete_media_list | POST /api/v1/media-lists/delete | Destructive | media_lists:manage |
create_empty_media_list | POST /api/v1/media-lists/empty | Non-destructive | media_lists:manage |
add_journalists_to_media_list | POST /api/v1/media-lists/:mediaListId/journalists | Non-destructive | media_lists:manage |
get_pitch_drafts | GET /api/v1/media-lists/:mediaListId/pitch-drafts | Read-only | media_lists:manage |
save_pitch_drafts | POST /api/v1/media-lists/:mediaListId/pitch-drafts | Destructive (replaces an unsent draft) | media_lists:manage |
get_analytics | GET /api/v1/analytics | Read-only | outreach:read |
get_pitch_analytics | GET /api/v1/analytics/pitches/:pitchId | Read-only | outreach:read |
list_brands | GET /api/v1/brands | Read-only | brands:manage |
create_brand | POST /api/v1/brands | Non-destructive | brands:manage |
set_up_brand | POST /api/v1/brands/setup | Destructive (can start recurring Radar email) | brands:manage |
get_brand | GET /api/v1/brands/:brandId | Read-only | brands:manage |
update_brand | PATCH /api/v1/brands/:brandId | Destructive | brands:manage |
configure_brand | PATCH /api/v1/brands/:brandId/configuration | Destructive; can search public sources | brands:manage |
delete_brand | DELETE /api/v1/brands/:brandId | Destructive | brands:manage |
get_brand_memory | GET /api/v1/brands/:brandId/memory | Read-only | brands:manage |
get_radar | GET /api/v1/brands/:brandId/radar | Read-only | brands:manage |
set_up_radar | POST /api/v1/brands/:brandId/radar | Destructive | brands:manage |
run_radar | POST /api/v1/brands/:brandId/radar/run | Non-destructive | brands:manage |
update_radar | PUT /api/v1/brands/:brandId/radar | Destructive | brands:manage |
update_radar_settings | PATCH /api/v1/brands/:brandId/radar | Destructive | brands:manage |
list_radar_opportunities | GET /api/v1/brands/:brandId/radar | Read-only | brands:manage |
send_radar_feedback | POST /api/v1/brands/:brandId/radar/opportunities/:opportunityId/feedback | Destructive | brands:manage |
get_radar_today | GET /api/v1/radar/today | Read-only | brands:manage |
set_brand_memory | PUT /api/v1/brands/:brandId/memory | Destructive | brands:manage |
add_brand_memory_line | POST /api/v1/brands/:brandId/memory/lines | Non-destructive | brands:manage |
upload_brand_file | POST /api/v1/brands/:brandId/files:upload-text | Non-destructive | brands:manage |
list_brand_files | GET /api/v1/brands/:brandId/files | Read-only | brands:manage |
get_brand_file | GET /api/v1/brands/:brandId/files/:fileId | Read-only | brands:manage |
delete_brand_file | DELETE /api/v1/brands/:brandId/files/:fileId | Destructive | brands:manage |
lookup_article | GET /api/v1/articles/lookup | Read-only | media_lists:manage |
lookup_articles | POST /api/v1/articles/lookup:batch | Read-only | media_lists:manage |
lookup_publication | GET /api/v1/publications/lookup | Read-only | media_lists:manage |
lookup_publications | POST /api/v1/publications/lookup:batch | Read-only | media_lists:manage |
lookup_journalist | POST /api/v1/journalists/lookup | Non-destructive | Any valid credential; no special scope |
list_journalist_requests | MCP-only | Read-only | Any valid credential; no special scope |
list_journalist_moves | GET /api/v1/journalist-moves | Read-only | API key; organization access to the feed |
search_news | POST /api/v1/news/search | Read-only | news:search |
ask_ai_engines | POST /api/v1/ai-answers | Read-only | news:search; account access required |
query_pr_calendar | POST /api/v1/pr-calendar/query | Read-only | news:search |
enrich_journalists | POST /api/v1/journalists/enrich | Non-destructive | media_lists:manage |
get_journalist_enrichment_job | GET /api/v1/journalist-enrichment-jobs/:jobId | Read-only | media_lists:manage |
Safety reflects the hosted MCP annotations: read-only tools do not change
user-owned state, non-destructive tools only create or append state, and
destructive tools can replace or remove existing state or start
hard-to-reverse delivery side effects, such as recurring email. set_up_brand
and set_up_radar are destructive because setting up Radar starts recurring
email, even though neither replaces an existing Radar: set_up_brand preserves
it and set_up_radar fails with a conflict. configure_brand is open-world
because confirmed competitor comparisons can start public-source coverage
searches.
Only these 46 tools are exposed. Media-list discovery, creation, polling, completed list reads, adding journalists, Pitch Desk drafts, and permanent deletion use the same public API operations shown above; other list changes and share-link creation stay outside the hosted MCP surface. No tool sends, schedules, or previews email or changes the sending account.
Example Tasks
Compare AI answers and cited sources
Call ask_ai_engines with one 1-500 character prompt, a unique non-empty
list of engines, and an optional two-letter country (default US). The tool
requires news:search; an account without access receives
AI_ANSWERS_UPGRADE_REQUIRED before the request runs. Each successful engine
answer costs 1 credit; failed engines cost 0 credits. Results stay in request
order and distinguish cited sources from uncited retrieved pages when an
engine exposes them. URLs in both lists are normalized and de-duplicated.
The result is { requestId, answers, totalCreditsCharged }. Every answer has
engine, nullable model, status, nullable error with code and
message, nullable Markdown answer, sources, retrieved, and
creditsCharged. Every page has url, domain, nullable title, nullable
snippet, and nullable publishedAt. A cited source also has nullable
publication; when present it contains nullable publicationType,
domainRating, traffic, and aiVisibilityTier. sources are pages cited in
the answer; retrieved are pages the engine read but did not cite. When answer
text uses numbered citations, [n] is the one-based index of the supporting
page in sources.
For a free-plan organization, the tool remains visible but returns 403 AI_ANSWERS_UPGRADE_REQUIRED, including when the organization has a positive
credit balance.
Build a pitch-performance dashboard
Ask: Build a weekly pitch dashboard for brand_123 from get_analytics, then use get_pitch_analytics for recipient drill-down. Both tools require
outreach:read, cost zero credits, and support cursor pagination.
Reply labels are positive, negative, no_longer_at_outlet, unsubscribe,
out_of_office, bounce, and other. Requests for more information and
referrals to a colleague count as positive. Acceptance is positive replies
divided by all inbound replies except bounce and out_of_office.
Set up a brand from one prompt
Ask your agent:
Create a Medialyst brand, add its durable facts and ranking preferences, upload the launch brief as Markdown, and tell me when the file is ready for media-list planning.Expected sequence:
- Call
create_brandand save the returned brand id. - Call
add_brand_memory_lineonce per durable fact. Use one ofAbout the client,Ranking preferences,Never, orPitch voice; a ranking preference or hard exclusion needs a reason after a colon. - Call
upload_brand_filewith a human-readable title and its text content. The title may omit an extension: Medialyst appends.mdby default or.txtformime_type: "text/plain". With nomime_type,.txtselects plain text and.md/.markdownselects Markdown. An explicit format and extension must agree. - Poll
get_brand_fileuntil its status isreadyorfailed.
All brand tools require brands:manage. Memory and file tools follow the app's plan rules and return PROJECT_CONTEXT_UPGRADE_REQUIRED on the Free plan. set_brand_memory is a full-document compare-and-set operation: call get_brand_memory first and pass its version as expected_version.
To set up Radar, use list_brands → get_brand_memory → set_up_radar →
list_radar_opportunities. Ground all five required RADAR.md sections in brand memory;
the API never auto-enrolls an organization when the Radar flag is off.
Use run_radar for an additional scan. The setup-time scan does not count;
two Scan-now runs are allowed per Radar local day.
Call get_radar before update_radar and pass its markdownVersion as
expected_version. Use update_radar_settings to pause or resume scanning or
change the local scan hour or digest setting. Slack delivery uses a per-Radar
Incoming Webhook: pass slack_webhook_url plus slack_digest_enabled: true,
and optionally send_test: true. During setup, a supplied webhook enables
Slack unless slack_digest_enabled is explicitly false. Later URL replacements
preserve the current enabled state. Set slack_webhook_url to null or an
empty string to remove the destination and disable Slack. Webhooks are
write-only secrets: get_radar and mutation responses return only redacted
delivery.slack status and a masked tail, never the URL. These calls reuse the
existing brands:manage scope. Send verdicts with
send_radar_feedback, including undo, and use get_radar_today for the
paginated, markdown-free organization view. list_radar_opportunities returns at most 50 items;
when page.truncated is true, call it again with page.next_cursor.
Build and inspect a media list
Ask your agent:
Build a media list of up to 40 credits for US journalists covering enterprise AI infrastructure, wait for it to finish, and show me the completed rows.Expected sequence:
- If the user wants to reuse or inspect existing work, call
list_media_lists. Filter bybrand_id,created_after,created_before,updated_after, orupdated_before, and followpage.next_cursor. Results are ordered bycreated_atdescending, theniddescending. - Call
create_media_listwithprompt,target_list_size, and a stablerequest_options.idempotency_key.target_list_sizeis the maximum credit budget, not a promised number of journalists. Passbrand_idto create it in a named brand; omitting it uses the organization's Default brand. - Save
job_id,media_list_id,media_list_url, andresults_urlfrom the accepted response. - Poll
get_media_list_jobwithjob_idevery 10 to 15 seconds untilstatusiscomplete,failed, orcancelled. The response'snext_toolfield gives the next call and arguments. - On
complete, callget_media_listwith the returnedmedia_list_id,include_rows: true,row_detail: "full", andlimit: 100. - Continue with
page.next_cursoruntil it isnull. - When the user wants to remove one or more whole lists, call
delete_media_listwith their ids inselector.keys,dry_run: false, and a stableidempotency_key. Usedry_run: truefirst when the selection needs confirmation. Deletion is permanent and cancels linked active jobs.
{
"prompt": "Find US journalists covering enterprise AI infrastructure.",
"brand_id": "brand_123",
"target_list_size": 40,
"request_options": {
"idempotency_key": "enterprise-ai-launch-2026-09"
}
}The five media-list MCP tools call the same public REST list create, poll, read,
and delete operations. Listing and creation require
media_lists:manage; an explicit brand_id on creation additionally
requires brands:manage. Every list summary and create/read response includes
the resolved { id, name } brand, including lists stored under the Default
brand convention. Authentication, organization isolation, plan and free-tier
gates, effective credit budget, idempotency, errors, and response fields
therefore follow the public API contract. A 404 from a poll or read may mean
that the identifier belongs to another organization; do not guess or substitute
identifiers.
Write pitch drafts for the user to review and send
Ask: Make a list of these 12 reporters and write each one a personalized pitch about our launch.
Expected sequence:
- Call
create_empty_media_listwith aname(or reuse a list fromlist_media_lists). - Call
add_journalists_to_media_listwith each journalist'snameandpublication(plusdomain,url, oremailwhen known). It runs enrichment for exactly the new rows: 1 credit per row that delivers a verified email, and a miss is free. Anemailyou send stays the journalist's email and is never charged; if research finds a different verified email, it is added as an alternate and costs 1 credit, at most once per row. - Call
get_pitch_draftsuntil the new rows stop readingenriching. Each row has arow_id, the journalist's name and outlet,has_email, and a draftstatus. A row that cannot hold a draft readsneeds_choice(ask the user to pick the right journalist in Medialyst),contact_unavailable(leave them out), orno_journalist_found(add them again with theiremailandenrich: false), and itsnext_stepsays so. - Call
save_pitch_draftswith up to 100 drafts per call, each{ row_id, subject, body_text }(orbody_html). Every item returns its own result; a draft that is sent, scheduled, or sending is never changed. - Give the user the returned
review_urlormedia_list_url.
If the user already has each journalist's email, pass enrich: false in step
2: every journalist is added exactly as given, nothing is researched or
charged, and each row can hold a draft as soon as the call returns. Each
journalist then needs an email; one without it is refused in refused with
ENRICH_FALSE_EMAIL_REQUIRED. These rows keep the name, outlet, and email you
sent and are not matched to a journalist in the media database.
Agents write drafts; they never send. The drafts show in the list's Pitch
column as Ready for review, and the user reviews each one in Pitch Desk and
sends it from their own connected Gmail or Outlook account. The send,
schedule, preview, and sender routes answer only a signed-in person in the app
and return 403 PITCH_DESK_SESSION_REQUIRED to an API key or OAuth token.
Screen new journalist requests
Ask your agent to screen new source requests every hour:
List journalist requests observed after 2026-08-09T13:00:00Z. Keep draining pages, screen each request, and save the final next cursor for the next hourly run.Expected sequence:
- Call
list_journalist_requestswithsinceand an optionallimitfrom 1 to 250. - Process the returned requests idempotently by stable
id. - While
page.has_moreis true, call the tool again with onlypage.next_cursorascursor. - When
page.has_moreis false, save that same cursor for the next hour.
See the Journalist Requests MCP guide for timestamp collision handling, the normalized schema, source exclusions, privacy policy, and a checkpointing cron example.
Track journalist moves
Ask your agent to poll journalist moves every morning (requires organization access to the feed):
List journalist moves observed after 2026-08-14T00:00:00Z. Keep draining pages, record each move, and save the final next cursor for tomorrow's run.Expected sequence:
- Call
list_journalist_moveswithsinceand an optionallimitfrom 1 to 250. - Process the returned moves idempotently by stable
id. - While
page.has_moreis true, call the tool again with onlypage.next_cursorascursor. - When
page.has_moreis false, save that same cursor for the next morning.
See the Journalist Moves API guide for the de-duplication rule, the match-state default, and a checkpointing cron example.
Look up articles and publications
Use lookup_article when you need standard metadata for one known article;
set include_markdown: true only when the extracted body is needed. Use
lookup_articles for 1-10 URLs. Batch article lookup never includes Markdown.
Use lookup_publication to resolve an article or outlet URL to publication
metadata. Use lookup_publications for 1-25 cached/default URLs.
When force_refresh: true, publication batches are capped at five URLs and may
be rate-limited more aggressively, so prefer cached/default lookup unless stale
metadata is unacceptable.
Article lookup costs 0.1 credit per successful URL. Publication lookup costs 0.01 credit per successful URL. Per-URL failures cost 0 credits for both, so batch budgets depend on successful results rather than submitted URL count.
{
"urls": [
"https://example.com/story-one",
"https://example.org/story-two"
],
"force_refresh": true
}Research news and enrich journalists
Ask your agent:
Search recent AI agents coverage and find 5 journalists I should pitch on a related angle.Expected sequence:
get_credit_balancequery_pr_calendarwhen the user needs planning moments or pitch timingsearch_newswith a specific recency window when discovering journalists from coverageenrich_journalistswith selected article URLs or several known journalist references, plusfit_context.pitchget_journalist_enrichment_jobuntil the job is complete or failed
For a known journalist, use this input:
{
"from": [
{
"type": "journalist_reference",
"name": "Jane Doe",
"publication": "The Daily Example"
}
]
}Get a known journalist's email
Ask your agent:
What is Kara Swisher's email at New York Magazine?Expected sequence:
- Call
lookup_journalistwithqset to the name and outlet. - If
statusisambiguous, choose one of thecandidatesby outlet and calllookup_journalistagain with itsjournalist_id. If none of them is the person, call again with the sameqandfind_live: trueto find them live. Ask the user when the candidates do not settle it. - If
statusischecking, waitretry_after_seconds, then call again with exactly the same input untilstatusisfoundornot_found. Repeats never start a second check or charge twice. - If
statusisfound, returnemailwith the outlet andaffiliation_status. Ifstatusisnot_found, say so and never guess an address. - On
FREE_PLAN_DAILY_LIMIT,INSUFFICIENT_CREDITS, orLOOKUP_DAILY_CAP, relay the returned message as written and stop.
A found email costs 1 credit; the same person is free for 30 days. Other
statuses cost 0 credits. The response never contains a masked or partial
address. See the Journalist Lookup API guide
for the full response and plan allowances.
Journalist Lookup inside the signed-in Medialyst app does not use credits and has a separate daily fair-use limit. The MCP tool continues to use the API billing described above.
Notes
list_journalist_requestsaccepts at most one of an exclusive RFC 3339sincetimestamp or the preceding opaquecursor; omitting both starts with a two-hour lookback. It is free, requires no special scope, and returns at most 250 records per page.- The journalist-request feed includes Connectively (formerly Featured), HARO, Twitter/X, LinkedIn, MentionMatch, and Substack for every authenticated account. Calls cost 0 credits. The feed does not expose private email, paid contact data, upstream IDs, or credentials.
- Every
list_journalist_requestsresponse carries a mandatory top-levelnoticefield. Screening, ranking, filtering, and summarizing are permitted; automating outreach is a Terms of Service violation. See Journalist Requests. list_journalist_movesrequires exactly one of an exclusive RFC 3339sincetimestamp or the preceding opaquecursor. If the organization's access does not include the feed, it returnsSCALE_PLAN_REQUIRED. Calls cost 0 credits, return at most 250 de-duplicated moves per page, and filters on when Medialyst observed each move — not the move's effective date.search_newsreturns up to 10 results per call. Usepage: 2,page: 3, and so on for deeper coverage. Do not use the deprecatednumparameter.ask_ai_enginescosts 1 credit per successful engine answer and 0 credits for failed engines. An account without access receivesAI_ANSWERS_UPGRADE_REQUIREDbefore the request runs. Its shared account rate limit is 30 requests per minute.query_pr_calendaris free, costs 0 credits per successful call, and returns source-backed PR moments with pitch timing fields.lookup_articleaccepts one absolute HTTP(S) URL and optionalinclude_markdown;lookup_articlesaccepts 1-10 absolute URLs and has no Markdown option.lookup_publicationaccepts one absolute HTTP(S) URL and optionalforce_refresh;lookup_publicationsaccepts 1-25 URLs normally or at most five withforce_refresh: true.- Article lookups cost 0.1 credit per successful URL; publication lookups cost 0.01 credit per successful URL; per-URL failures cost 0 credits.
- All four lookup tools require
media_lists:manageand use the public REST routes, so auth, scopes, logs, credits, rate limits, and errors match direct API calls. lookup_journalistneeds no special API-key scope. Send exactly one ofqorjournalist_id; use only ids from alookup_journalistresponse.- A free plan gets 3 journalist lookups a day (UTC) through the API and MCP, shared with
enrich_journalists, where each source counts as one. Past that, both tools returnFREE_PLAN_DAILY_LIMIT. Paid plans have no lookup allowance; live checks count toward the daily cap (Starter 50, Pro 150, Scale 500). - MCP tools inherit the REST rate limits: 60 requests per minute per credential across the API except
search_newsandask_ai_engines; per organization,search_newsallows 1 request per second with a burst of 4 on the free plan, or 4 requests per second with a burst of 10 on paid plans, whileask_ai_enginesallows 30 requests per minute. Article lookup, enrichment-job, and polling limits still apply. There is no general daily request cap. See Rate Limits, Journalist Requests errors, and Journalist Moves errors. journalist_referencerequiresnameplus at least one ofpublication,domain, orurl. Use it when the journalist is already known.article_urlremains supported for enriching the author of a real article. Reference and article sources can be mixed in the same request.enrich_journalistsis async-only and returns a job id immediately.fit_context.pitchreturns scored journalist research and personalized angle output when available.options.waitandoptions.timeout_msonenrich_journalistsare ignored. The job always runs in the background; pollget_journalist_enrichment_jobinstead.- Public v1 has no send endpoint. Agents can write Pitch Desk drafts with
save_pitch_drafts; review and sending stay in the Medialyst app.
Troubleshooting
| Symptom | What to check |
|---|---|
401 Unauthorized | Missing, expired, or revoked credential. For OAuth clients, reconnect the connector to re-authorize. For API-key clients, verify the bearer header or api_key query fallback. |
403 Forbidden | The credential lacks the required scope, or the account does not include AI answers (AI_ANSWERS_UPGRADE_REQUIRED). |
402 Payment Required | Credits or usage limits block the operation. |
| Fewer tools visible than expected | Ask your client to refresh or search MCP tools by name. The current public surface has 46 tools. |
| Validation errors | Lookup URLs must be absolute HTTP(S) URLs. Article batches accept at most 10 URLs and no Markdown option. Publication batches accept 25 URLs normally or five with force_refresh: true. For list_journalist_requests, provide at most one since or cursor; omitting both uses the default two-hour lookback. For list_journalist_moves, provide exactly one. Reuse the last successful cursor. For journalist_reference, provide name plus publication, domain, or a real identifying url. |
Build a Full Agent
Medialyst is the data layer. If you want the whole PR process — finding angles, building a fit-scored journalist list, and drafting pitches — use newsjack.sh, the open-source agent built on Medialyst by the team behind it. It connects with OAuth device login and ships opinionated skills for the full PR loop, so you don't have to assemble the primitives yourself.
Prefer to build your own agent on the raw primitives? See PR Agents on Medialyst.