Skip to main content

Okareo MCP Server

The Okareo MCP server exposes Okareo's evaluation capabilities as MCP tools, allowing AI coding assistants to create and manage scenarios, register models, run evaluations, and execute multi-turn simulations directly from your editor.

For detailed documentation, see the Okareo MCP docs.

Prerequisites

  • An Okareo account at app.okareo.com
  • A copilot that supports MCP servers (Claude Code, Cursor, VS Code, or GitHub Copilot), or Slackbot in Slack
  • Python 3.10–3.12 (only for the local install modes; not needed for remote)

The fastest way to get started. No local install, no Python, no API key in .mcp.json. Browser sign-in handles auth on first connect.

Add to your copilot's MCP config (typically .mcp.json):

{
  "mcpServers": {
    "okareo": {
      "type": "http",
      "url": "https://tools.okareo.com/mcp"
    }
  }
}

Reload the copilot. It will open a browser to Okareo sign-in once; thereafter the copilot stores the token itself. Your .mcp.json contains no secrets.

Fallback (Bearer header — older clients or headless / CI)

For clients that haven't shipped the MCP OAuth flow yet, paste your API key as a bearer header. Prefer the env-var form over an inline literal:

{
  "mcpServers": {
    "okareo": {
      "type": "http",
      "url": "https://tools.okareo.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:OKAREO_API_KEY}"
      }
    }
  }
}

GitHub Copilot (in VS Code and the Copilot CLI), Slackbot and every other client are set up at docs.okareo.com/mcp/configuration.

Working across multiple Okareo organizations

If you have access to more than one Okareo account, simply Clear Authentication and then re-authenticate with the account you want to work in. You can always ask which account your are in and have acccess to.


Local install (alternative)

Run the MCP server on your own machine. Useful for offline / airgapped environments and for development.

Prefer the Remote MCP section above unless you have a specific reason to install locally (airgapped, custom build, development on this repo). The remote endpoint requires no install and stays current automatically.

For multi-org users, the remote endpoint also exposes tenant management tools (list_tenants, switch_tenant).

Step 1: Set Your API Key

export OKAREO_API_KEY="your-api-key"

Add this to your ~/.zshrc or ~/.bash_profile for persistence.

Step 2: Configure Your Copilot

Claude Code

Add to .mcp.json:

{
  "mcpServers": {
    "okareo": {
      "command": "uvx",
      "args": ["okareo-mcp"],
      "env": {
        "OKAREO_API_KEY": "${OKAREO_API_KEY}"
      }
    }
  }
}

No pre-install needed — uvx handles it automatically.

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "okareo": {
      "command": "uvx",
      "args": ["okareo-mcp"]
    }
  }
}

Cursor inherits OKAREO_API_KEY from your shell environment.

Alternative: pip install

If you don't have uv installed:

pip install okareo-mcp

Then use "command": "okareo-mcp" instead of "command": "uvx" with "args": ["okareo-mcp"].


Configuration Reference

Variable Default Description
OKAREO_API_KEY (required) Your Okareo API key
OKAREO_BASE_URL https://api.okareo.com Override for on-prem Okareo backend
TRANSPORT stdio Transport: stdio (local) or sse (Docker)
PORT 8000 Port for SSE transport

Available Tools

Scenarios

Tool Description
save_scenario Save a named scenario from rows of input/result data (idempotent)
list_scenarios List all scenarios in the project with names, IDs, and row counts
get_scenario Retrieve a scenario's metadata and all data rows by name or ID
create_scenario_version Create a new version of an existing scenario with updated data
preview_delete_scenario Preview what will be deleted before removing a scenario
delete_scenario Permanently delete a scenario and all related test data

Generation Models

Tool Description
list_available_llms Browse available LLMs from the Okareo registry
register_generation_model Register a generation model for testing by selecting an LLM from the registry
list_generation_models List all registered generation models in the project
get_generation_model Read detailed information about a registered generation model
update_generation_model Change the LLM a registered generation model points to
delete_generation_model Remove a registered generation model and all its related test data

Tests & Checks

Tool Description
list_checks List available quality checks (built-in and custom) for evaluating model outputs
run_test Run a quality test that evaluates a model against a scenario using specified checks
list_test_runs Find past test runs, most recent first. detail_level="summary" (default) or "detailed" for aggregate metrics
get_test_run_results Load one page of a run's results by ID or name. detail_level="summary" (default) / "detailed" (per-check outcomes + explanations) / "full" (transcripts). Defaults to 20 conversations. Carries a rerun block — the call and config to re-run this simulation On a vision run each conversation carries vision: step and error counts, then the error screens, then every step as the depth rises
get_conversation_transcript Retrieve the full conversation transcript for a single data point. A vision conversation adds vision: every browser action and screen read, in order, each with its screenshot's address. See docs/vision-simulations.md. A voice conversation whose Target armed its inbox adds the out-of-band messages the caller received and the turn that read each
reevaluate_test_run Re-score a completed test run against a (possibly different) set of checks
create_or_update_check Create or update a quality check by name — model-based, code-based, or audio (upsert)
generate_check Generate a check from a natural-language description, then save it
get_check Retrieve a check's full configuration, including its prompt template or code
delete_check Permanently delete a check by name
calibrate_check Dry-run a draft check against a finished test run — per-row verdicts and the arguments the check received, saving nothing

Simulations (Multi-Turn)

Tool Description
create_or_update_target Create or update a Target — generation model, custom endpoint, voice, or vision (a web page in a browser Okareo hosts, with its secrets). Six telephony kinds Okareo dials — phone (Okareo-managed), twilio, sip, vonage, telnyx, livekit — and receive, for an agent that calls Okareo. Saving an existing voice or vision Target updates it: a setting you leave out keeps its value, and a masked credential (a run of asterisks) means "keep what is stored". Saving a custom endpoint or generation Target replaces its configuration: send every setting again. See docs/telephony-targets.md and, for vision Targets (screen, timing, page events, browser settings, the context token that ties each conversation to the app's own chat id, still accepted as session_id, secrets kept across updates), docs/vision-simulations.md
get_target Retrieve a Target's configuration by name (all types), with its tags and the fields Okareo holds as sensitive — enough to edit and save back
list_targets Find simulation targets (voice, custom_endpoint and hosted vision). Bounded to 20 by default; name_contains filters
delete_target Remove a simulation target and all its related test data
create_or_update_driver Define a simulated user: a persona prompt a model plays, or a fixed script of steps (words, keypresses, silences, a goodbye) played with no model
get_driver Retrieve a Driver's full configuration including the persona prompt, or the script of a scripted Driver
list_drivers Find Driver personas. Bounded to 20 by default; name_contains filters. A scripted Driver shows its step count
list_driver_voices Discover the voices, voice profiles, and languages available for voice drivers
run_simulation Run a multi-turn conversation evaluation. With based_on_run_id it inherits the original run's full configuration; any argument you pass overrides that one field On a vision Target, a Driver naming a {secret.NAME} the Target does not list is refused before the run starts
list_simulations List past simulation runs with optional filters (target, scenario, limit)
send_inbox_message A testing aid: deliver an out-of-band message (a verification code by text, a confirmation by email) to the simulated caller of a live voice conversation whose Target armed its inbox. In production your own system posts to Okareo's inbox webhook instead. See docs/verification-codes.md

Outbound Simulations (your agent calls Okareo)

For an agent that places calls rather than answering them. Okareo assigns a phone number, your agent calls it, and the Driver answers. See docs/outbound-simulations.md. Needs a paid Okareo plan.

Tool Description
start_outbound_simulation Turn a Simulation on for a receive Target: returns the Okareo number to call and when the line turns itself off. Holds a shared number until it is off (2 hours by default, 8 at most; 10 on at once per organization)
stop_outbound_simulation Turn it off: calls in progress finish, then the run is scored
get_outbound_simulation One line's status (on, draining, off) and how many calls it has received
list_outbound_simulations The organization's outbound Simulations that are on, with the number each holds

Voice Monitoring

Tool Description
ingest_conversations Submit completed voice conversations to Okareo for monitoring
connect_voice_integration Connect a provider integration: Twilio, Retell or LiveKit webhooks, or an Agentforce org whose session traces Okareo pulls
test_voice_integration Check that Okareo can sign in to an Agentforce org and read its session traces; lists the org's agents
list_voice_integrations List the voice provider integrations in your project
get_voice_integration Retrieve a voice provider integration by ID, including its status
update_voice_integration Change a voice integration's settings, or enable or disable it
rotate_voice_integration_secret Rotate a voice provider integration's secrets
delete_voice_integration Delete a voice provider integration by ID
get_voice_webhook_url Get the inbound webhook endpoint for a voice provider

Live Traffic

Tool Description
find_datapoints Find live-traffic datapoints, newest first, within a window (default 30 days). issues_only, a monitor segment, checks, field filters. detail_level="summary" (default) / "detailed" (check values + explanations) / "full" (whole inputs and results; page cap 50, for pulling traffic to a file); every response stays under 100 KB
get_datapoint Open one datapoint in full — input, result, tool calls, checks with explanations, metadata — and whether a trace exists
get_trace The span tree behind a datapoint (or a trace id / context token): names, kinds, depth and timing by default; attributes and metadata with detail_level="full"

Projects

Tool Description
list_projects List every project you can work in — id, name, tags, archive state — with the active one marked
select_project Choose the project to work in for this conversation
create_project Create a new project
update_project Rename a project, or replace its tags
archive_project Hide a project from the project picker. Reversible; nothing is deleted
unarchive_project Restore an archived project to the picker
clone_project Copy an existing project's scenarios into a new project (dry-run first)

Okareo has no project delete — in the app, the API, or here. Archiving is the removal, and it only hides the project from the picker: its scenarios, runs, and dashboards stay intact and every tool still works against it.

Analytics & Dashboards

Tool Description
query_analytics Query Okareo's product analytics to understand evaluation trends
list_dashboards List the analytics dashboards in your project
get_dashboard Retrieve a dashboard's full configuration by name
save_dashboard Create or update an analytics dashboard by name (upsert)
reorder_dashboards Set the display order of dashboards
delete_dashboard Delete a dashboard by name

Tenant Management (remote MCP only)

Tool Description
list_tenants List every Okareo organization you have access to in this MCP session
switch_tenant Doesn't change the active organization; returns how to reconnect and pick another one at sign-in

Documentation & Templates

Tool Description
get_docs Query the Okareo documentation system for conceptual or user-legible explanations. Only query is required — mode defaults to conceptual
get_templates Retrieve prompt templates for common Okareo patterns (works offline)
get_reps_baseline Serve REPS agent-evaluation baseline material (scenario banks, drivers, checks, eval configs) from the latest tagged okareo-tools release

Troubleshooting

Symptom Cause Fix
okareo-mcp: command not found Not installed or not in PATH Run pip install -e . (dev) or use uvx okareo-mcp (user)
Server exits with API key error OKAREO_API_KEY not set Export it: export OKAREO_API_KEY="..."
pip install fails on Python 3.13+ Okareo SDK requires Python <3.13 Use Python 3.10–3.12
Copilot can't connect (Docker) Wrong URL Ensure URL ends with /sse and port matches
Cursor doesn't pick up API key Cursor launched from Dock, not terminal Launch Cursor from terminal: cursor .

Contributing

This repository is a curated public mirror; the canonical source is maintained by Okareo. We welcome issues and consider community pull requests — see CONTRIBUTING.md for how proposed changes are reviewed and ported.

License & Trademarks

The Okareo MCP server source code is licensed under the Apache License 2.0 (see also NOTICE).

"Okareo", the Okareo logo, and Okareo product names are trademarks of Okareo, Inc. and are not covered by the Apache 2.0 license. See TRADEMARK.md for permitted use.

Metadata

Release files for okareo-mcp 0.0.64

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for okareo-mcp 0.0.64
File Size Uploaded Provenance Actions
okareo_mcp-0.0.64.tar.gz 367.8 kB Without provenance Details for okareo_mcp-0.0.64.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for okareo-mcp 0.0.64
File Interpreter ABI Platform Actions
okareo_mcp-0.0.64-py3-none-any.whl Python 3 none any Details for okareo_mcp-0.0.64-py3-none-any.whl

Total release size: 781.8 kB

Release files / okareo_mcp-0.0.64.tar.gz

Download URL okareo_mcp-0.0.64.tar.gz
Size 367.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a89b2846b4efe391dffa4edb878ac23dfbf26afd9486af1bc66fd437bb332b52
BLAKE2b-256 checksum
How to use checksums
b7895d9b0f3e1e2a884882b5509b37be6b24f69ded8ee6614fe31b7e99b55f70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / okareo_mcp-0.0.64-py3-none-any.whl

Download URL okareo_mcp-0.0.64-py3-none-any.whl
Size 414.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
660bf08aff13513d28eceff6a8522999178f7c05a5a93fb1a2d582dab8adff55
BLAKE2b-256 checksum
How to use checksums
00407fcfa7560a03ee0f2e3e454d11a591bb0afc91c05010efcc01585048c36d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for okareo-mcp 0.0.64

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.64 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page