
There are two ways to run it:
Use the remote connector unless you need those two local-only tools or you’re
running a self-hosted Openlayer instance.
Remote connector (recommended)
The Openlayer MCP server is available as a hosted, OAuth-protected remote connector — no local install, no API key. Add it by URL in any MCP client that supports remote servers:- which workspace the connection is for, and
- whether to grant full or read-only access.
list_workspaces shows
which workspace a connection is bound to.
You can review and revoke connections per workspace in Openlayer under
Settings → Security → Connected apps.
- Claude
- Claude Code
- Cursor
- VS Code
- Codex
- Windsurf / Zed / others
In claude.ai or the Claude desktop app, go to
Settings → Connectors → Add custom connector and enter
https://mcp.openlayer.com/mcp.What differs from local
Two tools are intentionally not exposed on the remote connector:push_commitreads a directory on the machine running the tool — your own machine overstdio, but a shared server in remote mode. Instead, the remote connector exposescreate_presigned_upload_urlandfinalize_commit: your client uploads the project bundle itself, then creates the commit from the returnedstorage_uri. This only works in clients that have their own file and shell access (like Claude Code).call_openlayer_api, the freeform API escape hatch, takes an arbitrary HTTP method. Use the local server for direct API access.
Local set up
Prefer running the server locally — for direct API access,push_commit, or an
air-gapped setup? To get started with the local Openlayer MCP server:
1
Install uv
Make sure you have
uv installed in your machine. You can follow the
instructions here if you don’t have it yet.2
Add Openlayer to your MCP configuration
Add the following snippet to your If you use Claude Code, you can register it with a single command instead:
mcp.json configuration file.The location of this file depends on your editor. For example, for Cursor,
this is ~/.cursor/mcp.json. For VSCode, this is ~/.vscode/mcp.json.3
Restart your application
Some applications require you to restart the application after adding the
configuration.
Self-hosted Openlayer
If you run Openlayer on-premise, you can serve the remote connector from your own deployment as well: it’s an opt-in container on every deployment target, and it’s served from the URL you already use for Openlayer, at<OPENLAYER_URL>/mcp. It authenticates against your own backend’s OAuth2
Authorization Server, so there’s no external identity provider, no second
hostname, and no client to register.
See the “Deploying the MCP connector” section of your on-premise deployment
repository’s README, or reach out to us, for the
setup steps. The local server also works against a self-hosted
instance — set OPENLAYER_BASE_URL to your Openlayer URL.
Usage
Once configured, you’ll be able to see and use the Openlayer MCP server inside your application. You can ask it to:- List and create projects, and inspect their commits.
- List, create, and inspect data sources (inference pipelines), and fetch their production traces, sessions, and per-user activity, with filters.
- List and create tests — integrity, consistency, performance, and LLM-as-a-judge — trigger evaluation, read results, and drill into the rows that failed.
- Search the Openlayer documentation.