MCP server for the Openlayer platform
Project description
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.
- 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
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
Remote hosting
This repo also has a separate, internal-only remote server package
(server/, not published here) 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/. See server/README.md.
Documentation
For the full guide and the complete list of available tools, see openlayer.com/docs/openlayer-mcp.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openlayer_mcp-0.5.0.tar.gz.
File metadata
- Download URL: openlayer_mcp-0.5.0.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
211d4de45bc3b1b5537c48061c89b633d98d1ae9df6ae04c05f4f1cc3d313f8b
|
|
| MD5 |
e2b2dd24f453d5fefe27d1558a161f0b
|
|
| BLAKE2b-256 |
aa0f013fbd5da1eafa3b8f89f226838b89ca1f08e9826ad8fa7aeb14c1e71730
|
File details
Details for the file openlayer_mcp-0.5.0-py3-none-any.whl.
File metadata
- Download URL: openlayer_mcp-0.5.0-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01b63c33c4170043878cb0c0d02cb2fc010d176533abf9e71fbb7279cf4b9975
|
|
| MD5 |
1b058817ea24f61b2df2d1b8e2248dc4
|
|
| BLAKE2b-256 |
6661b0b2c05020c4165c23760e904b27b5de6aca2cf9ae32873f42e7e9e1733b
|