Medialyst MCP
Medialyst is the data layer for your agent. The remote MCP server exposes a small set of public REST-backed research tools:
https://medialyst.ai/api/mcpEach MCP tool is a thin shim over a public /api/v1/* REST endpoint. Tool
results, auth failures, quota errors, and response shapes match the public API.
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>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 |
|---|---|
news:search | Searching recent news coverage |
media_lists:manage | Enriching journalists and polling enrichment jobs |
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.
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 | Public REST endpoint | Scope |
|---|---|---|
get_credit_balance | GET /api/v1/credits/balance | API key |
search_news | POST /api/v1/news/search | news:search |
query_pr_calendar | POST /api/v1/pr-calendar/query | news:search |
enrich_journalists | POST /api/v1/journalists/enrich | media_lists:manage |
get_journalist_enrichment_job | GET /api/v1/journalist-enrichment-jobs/:jobId | media_lists:manage |
Only these five tools are exposed. Media-list workflow creation, workflow row reads, and share-link creation stay in the public REST API and Medialyst app, but are not part of the MCP tool surface.
Example Workflows
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 windowenrich_journalistswith selected article URLs andfit_context.pitchget_journalist_enrichment_jobuntil the job is complete or failed
Notes
search_newsreturns up to 10 results per call. Usepage: 2,page: 3, and so on for deeper coverage. Do not use the deprecatednumparameter.query_pr_calendaris free, costs 0 credits per successful call, and returns source-backed PR moments with pitch timing fields.enrich_journalistsis async-only and returns a job id immediately. It acceptsarticle_urlsources today.fit_context.pitchreturns scored journalist research and personalized angle output when available.options.waitandoptions.timeout_msonenrich_journalistsare deprecated compatibility no-ops. Pollget_journalist_enrichment_jobinstead.- Public v1 has no send endpoint. 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 is valid but lacks the required scope. |
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 five tools. |
| Validation errors | Match the tool input to the corresponding public REST endpoint schema. |
Build a Full Agent
Medialyst is the data layer. If you want the whole PR workflow — 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.