Skip to content

MCP tools

The EkLine MCP server offers these tools. To connect a client, see Connect an MCP client.

ItemValue
URLhttps://ekline.io/api/mcp
TransportStreamable HTTP
AuthenticationAn Authorization: Bearer <key> header with a personal API key. No OAuth.
Key formatek_<id>_<secret>
Key scopeOne member in one organization. Membership is checked on every call.
Missing, revoked or unknown keyThe server answers with no tools rather than an error.
ToolWhat it doesMain parameters
create_sessionStarts a Docs Agent or Marketing Agent session and returns its id and a link to follow it. Returns once the session starts, not when it finishes.prompt (required): the task. agent: docs (default) or marketing.
get_session_statusReports a session’s status and up to six of its most recent messages.sessionId (required)
get_session_detailsReads one session in full: what it was asked, where it came from, the pull requests it opened with their state and the branch each went into, and its conversation, oldest first. A pull request’s state is the one EkLine last recorded, with the time it was recorded. A long conversation comes back with messages from the middle left out, and says how many.sessionId (required)
send_session_messageSends a correction, extra requirement or reference to a session that is running. Returns once the agent has the message.sessionId and prompt (both required)
list_sessionsLists your organization’s sessions: what each was asked and when it was last active. A pasted pull request, merge request, Jira or session URL finds the sessions related to it. Does not report whether a session is still running.query: text to search for, or a URL. agent: docs, marketing or all (default). limit: 1 to 100 (default 20).
search_ekline_docsAnswers a question about EkLine from the published docs, with up to four sections and the URL of the page each came from.query (required)
get_company_profileReads your organization’s company profile, including its website, named personas, competitors, brand terms and documentation sites.None
update_company_profileReplaces the profile fields you give, and adds or changes brand names, competitor profiles, personas and documentation sites one row at a time, with no review step. Reports what each change replaced. Makes every change in a request or none of them. Cannot clear a field or remove a row.At least one of: companyProfile, keyFeatures, audience, competitors, toneAndVoice, visualStyle or additionalContext (each 1 to 10,000 characters), domain (your company’s website, such as acme.com, without https:// or www.), or an add or update list for brandTerms, competitorProfiles, personas or docsSites. See Named entity changes.
create_rulesCreates a Docs Agent rule, with no review step. Refuses a name your organization already uses. Cannot change, turn off or delete a rule.name (required, up to 200 characters), content (required, up to 20,000 characters), ruleType: general (default) or review, paths: up to 20 file globs

update_company_profile takes an add list and an update list for each kind of row. An update finds the row it changes with match, ignoring case, and changes only the fields you give. Each field you give replaces its current value in full.

ParameterFields for addmatch namesFields for update
brandTermscanonical (required), aliasesThe brand name as it is written nowcanonical, aliases
competitorProfilesname (required), url, aliases, noteThe competitor’s namename, url, aliases, note
personasname (required), descriptionThe persona’s namename, description
docsSitesurl (required), labelThe site’s URL or its labelurl, label

The tool refuses the whole request, profile fields included, and changes nothing, when:

  • match names no row, or names more than one
  • a new or renamed row has a name another row already uses, as a name or an alias
  • a row breaks a limit: names up to 120 characters, up to 25 aliases, a competitor note up to 500 characters, a persona description up to 1,000 characters, and URLs written in full, such as https://example.com
  • added rows would take a list past 50 rows

get_session_status returns one of these.

StatusMeaning
workingThe agent is still running the session.
completedThe session finished.
failedThe session ran into a problem, or has had no activity for more than 15 minutes without finishing.
cancelledThe session was stopped.
ruleTypeApplies
generalOn every task the agent works on
reviewBefore the agent opens or updates a documentation pull request
ToolWhat it doesMain parameters
list_journeysLists your organization’s journeys: each one’s id, title, kind, whether it is a draft or published, and how many reports it has.None
get_journeyReads one journey: what it asks, as which persona, its checks, which agents run it and how many times, and a summary of its latest report.journeyId, or link: a link to the journey
get_journey_reportReads one report: how each agent did on each check, the report’s findings, and an excerpt of each answer with the sources it cited.journeyId and reportId, or link: a link to the report
get_journey_runReads one run in full: every answer, every source cited, and each check result with its reason.journeyId, reportId and runId, or link: a link to the run
list_collectionsLists your organization’s collections: each one’s id, how many journeys it holds, and its latest run.None
create_collectionCreates a collection of published journeys. It does not run until you call run_collection.name (up to 100 characters), description (optional, up to 500), journeyIds (1 to 50 published journeys)
update_collectionChanges a collection’s name, description or journeys, and reports what each change replaced. Fields you leave out keep their value; journeyIds replaces the journeys in full. The Buyer questions collection’s journeys can’t be changed.collectionId or link, plus at least one of name, description and journeyIds
run_collectionRuns every journey in the collection and writes one report across them. It sends real requests to the AI agents and uses credits. If the collection is already running, it starts only the journeys that haven’t started. Returns once the journeys are queued.collectionId or link
share_collection_reportReturns a link to a finished collection report that anyone can open without signing in, making one if the report has none. Not available to EkLine’s agents.collectionId, and runId for a report other than the latest; runId alone; or link
get_collection_reportReads one collection report: how often each agent recommended your company and got it right, the competitors named instead, the sites cited, each journey’s results, and the written summary with its next steps. A run that is still going shows its progress.collectionId, and runId for a report other than the latest; runId alone; or link: a link to the collection, one of its reports, or a shared report
create_journeyCreates a draft journey. It does not run until you call run_journey.sourcePrompt, title, kind (research or task), definition (1 to 20 turns, a persona, up to 50 checks), runConfig (agentIds and runCount)
update_journeyChanges a journey that has not run yet. Each field you give replaces the stored one in full.journeyId, plus at least one of the create_journey fields
run_journeyQueues a run. It sends real requests to the AI agents and writes a report, usually within a few minutes. Returns once the run is queued.journeyId
runConfig fieldValues
agentIdsOne or more of chatgpt, claude, perplexity, gemini, claude-code, codex. A task journey runs only on claude-code and codex.
runCountHow many times each agent runs the journey, 1 to 25
webSearchOptional. On by default.
agentModelsOptional. Each agent uses its default model when left out.
ToolWhat it doesMain parameters
list_knowledge_base_documentsLists your organization’s reference documents: each one’s title, summary, file name, size, when it was added, and whether the agents can use it yet.None
add_knowledge_base_documentAdds a reference document from text. It’s processed the same way as an uploaded file. Refuses text that’s already a reference document. Not available to EkLine’s agents.title (up to 200 characters), content (Markdown or plain text, up to 600 KB), format: markdown (default) or text

Tasks are the work your organization’s agents and people propose, pick up and finish. A release’s tasks on the Tasks page are tasks too, so these tools reach them. A task is named by its number, such as T-42. If you don’t see these tools, contact support@ekline.io.

ToolWhat it doesMain parameters
list_ektasksLists tasks, newest first, or the open and unblocked ones highest priority first.status: one or more of proposed, open, in_progress, completed, declined, cancelled. tag, parent, ready, cursor
get_ektaskReads one task, with its latest notes, the tasks blocking it and the tasks it blocks.task (required)
create_ektaskAdds a task. A task you add is open work.title (required), description, priority, tags, assignee, blocked_by
update_ektaskChanges a task’s fields or blockers. Refused when someone changed the task after you read it; the answer carries the current task.task and expected_version (both required), plus the fields to change
change_ektask_statusMoves a task: accept or decline a proposal, claim or release it, complete or cancel it, or reopen it.task and operation (both required). resolution: required to decline, complete or cancel
add_ektask_noteAdds a note to a task without changing it.task and text (both required)

These tools work with the Release Radar tab of the Tasks page. They act as you, and aren’t available to EkLine’s agents. If you don’t see them, contact support@ekline.io.

ToolWhat it doesMain parameters
list_releasesLists releases as the page shows them, latest shipped first: each one’s tasks, where each task is, and a link to the session working on it.section: work_left (default) or earlier. cursor
get_releaseReads one release and its tasks.release (required): the release id
create_releaseAdds a release by hand, with a To do task for each item of your release checklist.title (required). summary, url, shipped_at (a date such as 2026-11-16)
update_releaseRenames a release or changes what shipped. Its To do tasks follow the change.release (required), plus title, summary or both
mark_not_a_releaseMarks a release as not a release and closes its open tasks.release (required). reason
start_release_tasksStarts a release’s To do tasks, as Start does. Each agent works its tasks in one session. Uses credits.release (required). task: one task to start; leave it out to start every To do task
change_release_taskMarks a release task done or not needed, or undoes that.task and action (both required): done, not_needed or undo. reason: only with not_needed

These tools work with the Content Ideas tab of the Tasks page. They act as you, and aren’t available to EkLine’s agents. If you don’t see them, contact support@ekline.io.

ToolWhat it doesMain parameters
list_content_ideasLists new ideas with their outlines, ideas being written or with a draft ready, and ideas published this month.None
change_content_ideaEdits a new idea’s outline, marks an idea not needed, undoes that, or marks a draft published.idea and action (both required): edit_outline, not_needed, undo_not_needed or mark_published. outline: with edit_outline. reason: with not_needed, one of already_covered, not_for_our_audience or never_suggest. url: with mark_published
write_content_ideaWrite it: starts a Marketing Agent session that writes a new idea from its outline. Uses credits.idea (required)
generate_content_ideasGet new ideas: finds a fresh set of ideas, which replaces the new ideas waiting now. Uses credits.None

Built on Potluck Docs, our open source template.