Artificial Intelligence · Developer Tools

Keiki MCP

Build and manage Keiki agents, conversations, evaluations, channels, billing, integrations, and organization settings through the official hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get agents conversations sentiment

    One conversation’s mood per user turn, oldest first (0 angry to 4 delighted; unclassified turns have no score), with drop/recovery shifts, the reply that caused each shift and why, and the signals on each turn. GET /agents/:id/conversations/:phone/sentiment → { status, ok, data, error }

  • Get agents edit

    The agent form payload: the full editable config (name, model, systemPrompt, features, escalationRoutes, skillIds, sandboxScriptIds, sandboxEnvSecrets, execPolicy, userSecrets, responseSchemaOverlay, updatedAt) plus the org’s lines. Always read it before updating. When `passthroughPrompt` is set, or the gateway is passthrough with it empty, the caller’s instructions lead each turn and `systemPrompt` is only an amendment to them; `responseSchemaOverlay` likewise only reorders and re-describes fields the caller’s response_format already declares. `responseSchemaLint` quotes prompt rules about field order the schema does not satisfy, and `responseSchemaLint.suggested` is the overlay to save as `responseSchemaOverlay` instead of rewording the prompt. GET /agents/:id/edit → { status, ok, data, error }

  • Get agents evals channel preview

    Preview a real-channel eval run per hosted driver (imessage, email, x): whether it is available and why not, the handle it would message, and the eligible and excluded cases — plus any active run and the last run. Needs a paid plan. GET /agents/:id/evals/channel/preview → { status, ok, data, error }

  • Get agents fine tune

    Read fine-tune readiness for the agent’s current version: graded conversation counts, progress toward the kickoff threshold, whether the caller may start one, and any request already on file. GET /agents/:id/fine-tune → { status, ok, data, error }

  • Get agents harness status

    Report what runs the agent and whether it is connected: the platform harness, a self-hosted Hermes relay or dispatch URL (with why it is waiting), or a Maritime Keiki VM and its state. GET /agents/:id/harness-status → { status, ok, data, error }

  • Get agents loops

    List the scheduled loops attached to an agent with their schedule and state. GET /agents/:id/loops → { status, ok, data, error }

  • Get agents loops runs

    Read a loop’s recent runs, newest first, from a bounded retention window: status (the platform’s turn and tool-health view), timings, error, trace id and detail. A blocked_auth detail names the connection unavailable when the run started, not proof that it still is. GET /agents/:id/loops/:loopId/runs → { status, ok, data, error }

  • Get agents mcp presets tools

    The tools a connected MCP exposes, read live from the daemon, each with the permission (allow/ask/deny) in force, plus the default permission and every stored per-tool choice. GET /agents/:id/mcp-presets/:presetId/tools → { status, ok, data, error }

  • Get agents note

    Read the agent’s working note — the durable scratchpad it rewrites while it works — with its revision. GET /agents/:id/note → { status, ok, data, error }

  • Get agents note versions

    List the working note’s version history, newest first, with the sha of each version. GET /agents/:id/note/versions → { status, ok, data, error }

  • Get agents note versions by sha

    Read the working note body as it was at one version sha from the history. GET /agents/:id/note/versions/:sha → { status, ok, data, error }

  • Get agents public profile

    Whether the agent’s public profile page is published, its URL slug and tagline, and whether the caller may change it. GET /agents/:id/public-profile → { status, ok, data, error }

  • Get agents quality

    Turn-quality review for one agent: review stats, its review settings, and the prompt or model fixes the reviewer drafted (state, summary, rationale, proposed prompt/model, score before and after). GET /agents/:id/quality → { status, ok, data, error }

  • Get agents rollouts

    Read the agent’s open staged rollout (mode, percent of conversations on the staged config, the staged config itself) and its recent ended rollouts. GET /agents/:id/rollouts → { status, ok, data, error }

  • Get agents sandbox script runs

    The latest 50 runs of the agent’s sandbox scripts, newest first — status, exit code and output tails. Script failures degrade silently, so this is where a broken script shows up. GET /agents/:id/sandbox-script-runs → { status, ok, data, error }

  • Get agents shared line

    The shared iMessage number and join code contacts text to reach this agent. join is null when Keiki has no shared number, or without a plan (planRequired) unless ?test=1: onboarding's test, which keeps a plan-less agent answering on it for 15 minutes, capped like Live Test. GET /agents/:id/shared-line → { status, ok, data, error }

  • Get agents signals

    Built-in quality signals for one agent over a date range: each signal’s events, share of classified users and change against the previous period of the same length, plus average mood (0 angry to 4 delighted) and the biggest mood drops with the judge’s reason. GET /agents/:id/signals → { status, ok, data, error }

  • Get agents signals events

    The turns one signal (`key`, as returned by the signals summary) fired on, newest first: phone, trace id, source, mood and shift. Pass `nextCursor` from a page as `cursor` to read the next one. GET /agents/:id/signals/:key/events → { status, ok, data, error }

  • Get agents user connections

    List the personal provider definitions declared on the agent — services each conversation user authorizes with their own account. No credentials are returned. Read this before replacing them. GET /agents/:id/user-connections → { status, ok, data, error }

  • Get agents versions

    List the agent configuration’s version history, with the sha of each version. GET /agents/:id/versions → { status, ok, data, error }

PreviousPage 2 / 8Next