MCP (Model Context Protocol) is an open-source standard for how applications provide context and tools to LLMs.

The Openlayer MCP server exposes many of Openlayer’s features to LLMs. If you use an IDE or desktop app with MCP support — like Cursor, VSCode, Claude Desktop, and others — you can now directly interact with your Openlayer workspace without leaving your editor.

Set up

To get started with the 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 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.

{
    "mcpServers": {
        "openlayer": {
            "command": "uvx",
            "args": ["openlayer-mcp"],
            "env": {
                "OPENLAYER_API_KEY": "YOUR_OPENLAYER_API_KEY_HERE"
            }
        }
    }
}
3

Restart your application

Some applications require you to restart the application after adding the configuration.

Usage

Once configured, you’ll be able to see and use the Openlayer MCP server inside your application.

You can ask about:

  • Projects in your Openlayer workspace.
  • Recent test results.
  • Inference pipelines.
  • Commits, and more.