# Openlayer MCP MCP

Vendor: Openlayer MCP  
Category: other  
Auth: OAUTH2  
Composio slug: `openlayer_mcp`

Manage Openlayer AI projects, commits, tests, monitoring data sources, governance frameworks, rules, and alerts through Openlayer's hosted MCP server.

## Tools

- **Add data source row comment** — Comment on a row (trace) of a data source, as the connected user.

Comments show on the row in the Openlayer app, so use this to leave a note
for the team -- e.g. why a trace looks wrong, or what you found while
triaging it. The comment's a
- **Add rule result evidence** — SENSITIVE: records a human attestation -- the evidence can flip the
requirement to passing. Blast radius: this one rule result on one project.
Undo: the evidence stays on record. Attach only evidence the user gave you
or told you to attach.
- **Create alert webhook** — SENSITIVE: sends the workspace's test events (test definitions and
results) to an outside HTTPS URL. Blast radius: every project in the
workspace. Undo: reversible -- disable or delete it with
``update_alert_webhook`` / ``delete_alert_webho
- **Create framework** — Create a custom compliance/governance framework in a workspace.
- **Create inference pipeline** — Create a new inference pipeline in a project.
- **Create presigned upload url** — Get a URL to upload a commit bundle to.

Used instead of `push_commit` on the shared remote server, which can't read a
directory on your machine. Tar your project directory yourself, then
multipart-POST it to the returned `url`: include eve
- **Create project** — Create a new project in the user's workspace.
- **Create rule** — Create a governance rule in a workspace.
- **Create test** — Create a test (goal) in a project.
- **Delete alert webhook** — SENSITIVE: deletes a workspace webhook. Test failures will no longer
notify anyone through it, and its delivery history and signing secret are
lost. Blast radius: every project in the workspace. Undo: not possible --
a new webhook gets a ne
- **Delete commit** — SENSITIVE: permanently deletes a commit, together with its test results
and its place in the project's development history. Blast radius: this one
commit in one project. Undo: not possible.

Use it to clean up failed or superseded pushes. S
- **Delete data source row comment** — Delete a comment on a data source row. Only the comment's author can.
- **Delete rule** — SENSITIVE: permanently deletes a governance rule and all of its rule
results, including attached evidence. Blast radius: every project the rule
applies to. Undo: not possible. Reversible alternative:
``update_rule(rule_id, {"deactivated": t
- **Delete test** — SENSITIVE: permanently deletes a test and all of its results. Blast radius:
this one test and its whole result history. Undo: not possible. Reversible
alternative: ``update_test(test_id, archived=True)``.

Prefer ``update_test(test_id, arch
- **Disable slack alerts** — SENSITIVE: stops these project events from posting to the workspace's
Slack channel. Turning off goalUpdatedAfterEvaluationWindow or
goalStatusesUpdatedOnNewCommit means test failures in this project will no
longer notify anyone through Sla
- **Enable slack alerts** — Send these project events to the workspace's Slack channel.

For test failures, enable ``goalUpdatedAfterEvaluationWindow`` (monitoring)
and ``goalStatusesUpdatedOnNewCommit`` (development). Other events are left
as they are. Returns the pr
- **Evaluate data source** — Trigger evaluation of every monitoring test on a data source over a time range.

The pipeline-wide counterpart to ``evaluate_test``, which runs one test at a
time. Useful for backfilling results after adding tests, after late data
arrives, 
- **Evaluate test** — SENSITIVE: with ``overwrite_results=True``, replaces the test's existing
results in the range. Blast radius: this one test, in the given range, on the
given data source (or every data source the test applies to). Undo: not
possible -- the o
- **Fetch data source rows** — Fetch rows (traces / inference data points) from a data source.

Use this to inspect the structure and contents of production traces -- e.g.
to understand which columns exist before proposing tests.

Rows come back untrimmed, so they includ
- **Fetch data source sessions** — Fetch session-level aggregations for a data source.

Sessions group related traces/records; use this to analyze conversation or
request sessions before proposing session-level tests.
- **Fetch failed rows for goal** — Fetch the rows that made a test fail, with per-row judge scores and the
LLM judge's explanation (reasoning) for each score.

This is how you answer "why did this test fail on this row?" -- each returned
row carries a ``judge_scores`` list o
- **Finalize commit** — Create a commit from a bundle already uploaded via create_presigned_upload_url.
- **Finalize custom metric** — SENSITIVE: when it replaces a metric that tests use: those tests compute
their next results with the new code and bounds. Blast radius: every test
that uses the metric. Undo: push the previous version again; results
already computed stay as
- **Get alert settings** — Show where a project's alerts go: the Slack channel, which events post
to it, and the workspace webhooks with their event types.

Also explains the ``alertsConfigured`` lifecycle requirement: whether it is
met, and if not, what to add. Read
- **Get connector sync status** — Show which connector syncs into a data source, and how its sync is doing.

For a data source a connector feeds (ElevenLabs, Agentforce, Dialogflow,
Copilot Studio, ...), returns the connector, the synced agent, whether it
is enabled, the ti
- **Get data source health** — Check whether a data source is still receiving data, and how much.

Returns when the last sample arrived plus request-volume series, whether the
data source is paused, and when it was last evaluated. Use it first when a
user reports missing
- **Get data source row** — Fetch one row (trace) from a data source by inference ID, with its OTel steps.

Direct lookup for when you already have an inference ID -- from a user, a log,
or a previous search -- so you don't have to build a filter to find one trace.
- **Get data source session** — Get the aggregation for one session in a data source.

The drill-down for ``fetch_data_source_sessions``: returns the session's record
count, token usage, cost, duration and scores.
- **Get data source session summary** — Read the cached AI summary of a session, plus a staleness flag.

A whole conversation compressed into a paragraph -- far cheaper to reason over
than paging the raw turns. Read-only: it never triggers generation. Summary
generation is gated 
- **Get data source user** — Get the aggregation for one user of a data source.

Use when you already have a user ID and want that user's session count, record
count, token usage and cost without paging the whole cohort.
- **Get framework project rule stats** — Get per-project rule pass/fail stats for a framework.
- **Get intake form** — Get the workspace's intake form: the questions every project answers.

Returns sections of fields, each with its ``id``. Reuse those ids in any
change -- recorded answers point at them.
- **Get lifecycle stages** — Get the workspace's lifecycle: the ordered stages projects move through.

Each stage has its ``id``, ``approvalMode`` (``sequential`` is what the web
app calls "Ordered"), the ``reviewerIds`` who approve leaving it, and the
``requirements``
- **Get risk template** — Get the workspace's risk template: the dimensions every project is scored on (0-4).

Returns categories of dimensions, each with its ``id``. Reuse those ids in
any change -- recorded scores point at them.
- **Get rule result evidence** — Get the evidence attached to a rule result.
- **Get test results** — List results for a test.
- **Get workspace rule stats** — Get aggregate rule-result stats for a workspace (compliance summary).
- **List commits** — List the commits in a project, newest first.

Each commit carries its ``status`` (e.g. ``completed`` or ``failed``) and its
``passing_goal_count`` / ``failing_goal_count`` / ``total_goal_count``, so a
failed push (``status="failed"``, 0 tes
- **List commit test results** — List the test results for a commit.

Each result is shaped to the essentials: test_name, status, threshold, the
measured value, and goal_id -- pass that goal_id to
``fetch_failed_rows_for_goal`` to drill into the failing rows and read the
L
- **List custom metrics** — List a project's custom metrics, with the tests that use each one.

Returns each metric's key, name, description, bounds and parameter
definitions. Use the key in a ``customMetricThreshold`` test (type
``performance``) whose threshold is ``
- **List data source users** — List per-user activity aggregations for a data source.

Returns users who interacted with the data source along with session counts,
record counts, token usage, and costs -- useful for cohort/session analysis.
- **List data source user sessions** — List one user's sessions in a data source.

The cohort investigation path: ``list_data_source_users`` surfaces a user
whose cost or latency stands out, then this shows that user's sessions.
- **List framework documents** — List the documents (e.g. the underlying standard/policy) for a framework.
- **List framework rules** — List the rules that belong to a framework.
- **List frameworks** — List the compliance/governance frameworks in a workspace.
- **List inference pipelines** — List the inference pipelines in a project.
- **List inference pipeline test results** — List the test results for an inference pipeline (data source).

Each result is shaped to the essentials: test_name, status, threshold, the
measured value, and goal_id -- pass that goal_id to
``fetch_failed_rows_for_goal`` to drill into the 
- **List projects** — Get a list of the projects in the user's workspace.
- **List rule results** — List the per-project results for a rule.
- **List rules** — List the governance rules in a workspace.

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect Openlayer MCP.
3. Authorise through oauth2.
4. Teammates can now @-mention Openlayer MCP tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/openlayer-mcp