Medialyst MCP
Medialyst exposes a remote MCP server for agents that need to search news, create media lists, inspect media-list tables, update rows and columns, and create share links.
The site docs are for setup. The MCP server is the source of truth for agents while they work.
Get An API Key
- In Medialyst, open Settings → Developers. The
_segment resolves to your current organization. - Click Create API Key.
- Give the key a clear name, then choose the smallest set of scopes that covers the agent workflow.
- Copy the key immediately. Medialyst only shows the raw key once.
- Store the key in your agent client's secret storage or an environment variable such as
MEDIALYST_API_KEY.
Available on all plans
API keys and the MCP API are available on all Medialyst plans. No plan upgrade is required to connect an agent; metered tools still use your workspace credits.
Endpoint And Auth
Use the production MCP endpoint:
https://medialyst.ai/api/mcpThe server uses MCP Streamable HTTP. Every client must send your Medialyst API key as a bearer token:
Authorization: Bearer <YOUR_API_KEY>OAuth is not required for v1.
Required Scopes
Use the smallest key that covers the workflow:
| Scope | Needed for |
|---|---|
news:search | Searching recent news coverage |
media_lists:read | Listing, reading, and inspecting media lists |
media_lists:write | Creating lists, mutating tables, deleting lists, and creating share links |
Keep keys out of prompts
Store API keys in environment variables or your agent client's secret storage. Do not paste raw keys into a chat thread or commit them to a repo.
Connect Your Agent
Use one of the client snippets below. Replace <YOUR_API_KEY> with the key you copied, or export MEDIALYST_API_KEY when the snippet uses an environment variable.
Claude Code
Claude Code can connect to remote HTTP MCP servers directly:
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:
/mcpCodex
Add this to ~/.codex/config.toml:
[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 listYou can also verify from inside Codex:
/mcpOpenClaw
Register Medialyst in OpenClaw's MCP registry:
openclaw mcp set medialyst '{"url":"https://medialyst.ai/api/mcp","transport":"streamable-http","headers":{"Authorization":"Bearer <YOUR_API_KEY>"}}'Verify the saved config:
openclaw mcp show medialyst --jsonHermes
Add this to ~/.hermes/config.yaml:
mcp_servers:
medialyst:
url: "https://medialyst.ai/api/mcp"
headers:
Authorization: "Bearer <YOUR_API_KEY>"Restart Hermes, or reload MCP from an active Hermes session:
/reload-mcpCursor
Cursor can use the global MCP config file at ~/.cursor/mcp.json. Add:
{
"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 .You can also open Cursor Settings → MCP, choose Add new global MCP server, and paste the same JSON into the config editor.
Claude Cowork / Claude Desktop
For Claude Desktop-style local MCP configuration, add Medialyst through a stdio bridge in claude_desktop_config.json:
{
"mcpServers": {
"medialyst": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://medialyst.ai/api/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <YOUR_API_KEY>"
}
}
}
}Restart Claude Desktop after saving the file.
Other MCP-Compatible Agents
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:
{
"mcpServers": {
"medialyst": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://medialyst.ai/api/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <YOUR_API_KEY>"
}
}
}
}Runtime Docs Tools
Agents should not rely on stale copied schemas. After connecting, they should ask the MCP server how to use the current contract.
| Tool | Purpose |
|---|---|
get_usage_guide | Current workflow guidance by topic |
get_tool_reference | Current tool examples, scope requirements, and optional generated schemas |
Recommended first calls:
{
"topic": "getting_started",
"detail": "short"
}Then, before a mutation:
{
"tool_name": "apply_table_action",
"detail": "full"
}Use include_schema: true only when examples are not enough. Some table-action schemas are large.
Tool Surface
| Tool | Scope | Use it for |
|---|---|---|
get_usage_guide | API key only | Read current operating guidance |
get_tool_reference | API key only | Read examples and optional schemas |
get_credit_balance | API key only | Read the current usable credit balance |
search_news | news:search | Find fresh articles and bylines |
create_media_list | media_lists:write | Create a list from articles, URLs, keywords, or empty state |
list_media_lists | media_lists:read | Find existing lists |
get_media_list | media_lists:read | Read metadata, columns, settings, and optional rows |
inspect_table | media_lists:read | Read bounded previews or enrichment health |
read_full_values | media_lists:read | Read exact values for a small row/column slice |
preview_column_render | media_lists:read | Preview formula, AI, send, or template-bearing columns |
apply_table_action | media_lists:write | Mutate columns, cells, rows, views, run state, and article imports |
create_share_link | media_lists:write | Create public read-only share links |
delete_media_list | media_lists:write | Delete a list after explicit user intent |
Agent Operating Model
Media lists are workflow tables. The table is the deliverable.
Good agents follow this pattern:
- Call
get_usage_guide. - Search or list existing media lists.
- Create or select a list.
- Inspect the table before edits.
- Use returned IDs from tool responses.
- Preview template-bearing columns before applying them.
- Apply one focused table action at a time.
- Verify with
get_media_listorinspect_table. - Share only when the user asks for a public link.
Token-Efficient Reads
The MCP server is summary-first. Agents should start with compact/default reads, then ask for detail only when they need it.
| Need | Use |
|---|---|
| Column IDs and names | get_media_list with default include_schema: false |
| Full column config, JSON schemas, prompts, or field mappings | get_media_list with include_schema: true |
| Visible rows | inspect_table row_window_preview with default compact cells |
| Exact raw values | read_full_values for a small row/column slice |
| Progress polling | inspect_table enrichment_health with default detail: "summary" |
| Blocked row IDs | inspect_table enrichment_health with detail: "compact" |
| Legacy/full diagnostic payloads | cellDetail: "full" or detail: "full" |
Compact cell previews drop repeated envelope fields such as workflowType, searchText, sortValue, version, and hasFullValue. Enrichment-health compact mode returns each blocker row-id set once under blockedRowSets so dependent columns can reference a rowSetId instead of repeating the same rows.
Fewer, better, evidence-backed
The agent should curate article results before creating rows. More rows are not automatically better. The goal is a focused list of journalists who actually cover the story.
Example Workflow
Ask your agent:
Search recent AI infrastructure coverage, create a media list from the best articles, add a Notes column, and share the list.Expected sequence:
get_usage_guidesearch_newscreate_media_listinspect_tableget_tool_referenceforapply_table_actionapply_table_actionwithcreate_columnapply_table_actionwithpatch_cellsif notes are knowncreate_share_linkafter the user asks to share
Troubleshooting
| Symptom | What to check |
|---|---|
401 Unauthorized | The key is missing, malformed, revoked, or not sent on every request |
403 Forbidden | The key is valid but lacks the required scope or fails an IP allowlist |
402 Payment Required | Credits or usage limits block the operation |
| Validation errors | Call get_tool_reference for the failing tool |
| Stale IDs | Call get_media_list or inspect_table again |
| Client cannot attach headers | Use the mcp-remote stdio bridge |
Agent Skill
For open-source agents, use a small bootstrap skill that tells the agent how to connect and when to call the runtime docs tools. Keep detailed schemas on the server.