Skip to main content

Openlayer MCP

Model Context Protocol server for the Openlayer platform. It lets MCP clients — Cursor, VS Code, Claude Desktop, and other AI assistants — work with Openlayer in natural language.

With it, an assistant can:

  • Projects & versions — list and create projects; push and inspect commits.
  • Data sources — list, create, and inspect data sources (inference pipelines), and fetch their production traces, sessions, and per-user activity, with filters; comment on traces as the connected user.
  • Tests — list and create tests across integrity, consistency, and performance (including LLM-as-a-judge), trigger evaluation, read results, and drill into the rows that failed.
  • Anything else — call any Openlayer API endpoint directly, and search the Openlayer documentation.

Tools are annotated as read-only or destructive, so clients can auto-approve reads and confirm writes.

Tool names and schemas may evolve; clients should discover the available tools dynamically rather than hard-coding them.

📖 Full setup, the complete tool reference, and examples: openlayer.com/docs/openlayer-mcp

Installation

uv add openlayer-mcp     # or: pip install openlayer-mcp

Requires Python 3.10 or later. On Python 3.10 the server runs on FastMCP 3: the tools are the same, but it does not serve the agent skill below (that needs FastMCP 4, which needs Python 3.11+). Python 3.10 reached end of life in October 2026, and support for it will be removed in a later release.

Configuration

Register the server with your client and set your API key.

Claude Code (CLI):

claude mcp add openlayer --env OPENLAYER_API_KEY=YOUR_OPENLAYER_API_KEY -- uvx openlayer-mcp

Cursor, Claude Desktop, or VS Code (JSON config):

{
  "mcpServers": {
    "openlayer": {
      "command": "uvx",
      "args": ["openlayer-mcp"],
      "env": {
        "OPENLAYER_API_KEY": "YOUR_OPENLAYER_API_KEY"
      }
    }
  }
}
  • OPENLAYER_API_KEY (required) — create one in your Openlayer workspace settings.
  • OPENLAYER_BASE_URL (optional) — point at a self-hosted Openlayer instance; defaults to Openlayer Cloud.

Verify it's working by asking your assistant: "List my Openlayer projects."

You can also run it as a standalone server:

uv run -m openlayer_mcp

Transport

The server runs over stdio by default (for local IDE/desktop clients). For hosted or multi-client deployments, set OPENLAYER_MCP_TRANSPORT to streamable-http, http, or sse:

OPENLAYER_MCP_TRANSPORT=streamable-http uv run -m openlayer_mcp

Agent skills

The server ships the openlayer-connector skill through the MCP Skills extension (SEP-2640, io.modelcontextprotocol/skills). It teaches an agent how to use these tools together: which mode a project is in, the order of calls for common jobs (triage a failing test, a data source with no results, alerts, governance), and the usual mistakes. Hosts that support the extension (Claude, Claude Code) list it with skills/list and read its files only when needed; other clients see the files as skill:// resources. The skill needs Python 3.11+ (FastMCP 4); the remote server's Docker image always has it.

The skill lives in src/openlayer_mcp/skills/openlayer-connector/. When you add, rename or change a tool, update the skill too. tests/test_skills.py fails if the skill names a tool or parameter that does not exist, or if a tool is neither in the skill nor in its NOT_IN_SKILL list (with a reason). CI also warns on a PR that changes tool code without touching the skill.

The general Openlayer skill (SDK, CLI, openlayer.json) is in openlayer-skills. Its plugin already connects this server, so it is not shipped here.

Remote hosting

This repo also has a separate remote server package (server/, not published to PyPI) that runs the same tools as an OAuth-protected Streamable HTTP connector for Claude. Its AWS infrastructure and deploy live in the in-repo CDK app under awscdk/; its Docker image is published to the private Docker Hub repo openlayer/openlayer-mcp for self-hosting/on-prem customers we grant pull access to. See server/README.md.

Documentation

For the full guide and the complete list of available tools, see openlayer.com/docs/openlayer-mcp.

Metadata

Release files for openlayer-mcp 0.20.0

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

Source distribution (sdist)

Source distribution for openlayer-mcp 0.20.0
File Size Uploaded Provenance Actions
openlayer_mcp-0.20.0.tar.gz 76.9 kB Without provenance Details for openlayer_mcp-0.20.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openlayer-mcp 0.20.0
File Interpreter ABI Platform Actions
openlayer_mcp-0.20.0-py3-none-any.whl Python 3 none any Details for openlayer_mcp-0.20.0-py3-none-any.whl

Total release size: 174.8 kB

Release files / openlayer_mcp-0.20.0.tar.gz

Download URL openlayer_mcp-0.20.0.tar.gz
Size 76.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4a6ff6dcaa731cea2bcc9ffa8d10115431bf85ff1329696c580992c5c16bd9d5
BLAKE2b-256 checksum
How to use checksums
7c67c8b9f60a3721860ebc83d75b9a7b3d3ed6c640e7e36144b97f8fd3765863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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 / openlayer_mcp-0.20.0-py3-none-any.whl

Download URL openlayer_mcp-0.20.0-py3-none-any.whl
Size 97.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
344575c1555f455a3d32bf8a9ebde97b96991e9fe6a708b20a3025135294c381
BLAKE2b-256 checksum
How to use checksums
cc2cd7f7e45f1b5431447860d065d3bff48aa5668aece984742903b44ceccf71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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 openlayer-mcp 0.20.0

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.

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