OpsLevel MCP server

Provides direct access to OpsLevel's developer portal data, enabling intelligent interactions with service catalogs, component metrics, and operational workflows for DevOps teams managing service infrastructure.
Back to servers
Setup instructions
Provider
OpsLevel
Release date
Apr 26, 2025
Stats
4 stars

The OpsLevel MCP server implements the Model Context Protocol to provide AI assistants with access to your OpsLevel account data. It allows AI tools to retrieve information about your services, teams, checks, and other resources through a standardized interface.

Installation

Option 1: Homebrew

brew install opslevel/tap/opslevel-mcp

Option 2: Docker

docker pull public.ecr.aws/opslevel/mcp:latest

For version-specific installations, check available tags in the ECR gallery.

Option 3: Manual Download

Download the appropriate binary for your operating system from the GitHub releases page.

Configuration

Before using the MCP server, you'll need:

  1. An OpsLevel API Token with read access
  2. Configuration for your AI tool of choice

Connecting to AI Tools

Claude Desktop

  1. Edit the configuration file for Claude Desktop:

    • Mac OS: ${HOME}/Library/Application\ Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the following configuration:

{
    "mcpServers": {
        "opslevel": {
            "command": "opslevel-mcp",
            "env": {
                "OPSLEVEL_API_TOKEN": "XXXXXXX"
            }
        }
    }
}
  1. Restart Claude Desktop

VS Code

  1. Open Settings (Command + Comma)
  2. Select the appropriate tab (Workspace or User)
  3. Navigate to Features → Chat
  4. Ensure "Mcp" is enabled
  5. Click "Edit in settings.json" under "Mcp > Discovery"
  6. Add the following configuration:
{
    "chat.agent.enabled": true,
    "chat.mcp.discovery.enabled": true,
    "mcp": {
        "inputs": [
          {
            "type": "promptString",
            "id": "opslevel_token",
            "description": "OpsLevel API Token",
            "password": true
          }
        ],
        "servers": {
            "opslevel": {
                "type": "stdio",
                "command": "opslevel-mcp",
                "env": {
                    "OPSLEVEL_API_TOKEN": "${input:opslevel_token}"
                }
            }
        }
    }
}
  1. Restart VS Code

Cursor

  1. Open Cursor menu → Settings → Cursor Settings → MCP
  2. Click "Add new global MCP server"
  3. Add the following configuration:
{
  "mcpServers": {
    "opslevel": {
      "command": "opslevel-mcp",  
      "env": {
        "OPSLEVEL_API_TOKEN": "XXXXXX"
      }
    }
  }
}

Warp

  1. Access MCP settings under Settings > AI > Manage MCP Servers
  2. Press the add button
  3. Add the following configuration:
{
  "opslevel": {
    "command": "opslevel-mcp",
    "args": [],
    "env": {
      "OPSLEVEL_API_TOKEN": "XXXXXX"
    },
    "start_on_launch": true
  }
}

Windsurf

  1. Navigate to Windsurf - Settings > Advanced Settings
  2. Scroll to the Cascade section and add a new server
  3. Edit the mpc_config.json with the following:
{
  "mcpServers": {
    "opslevel": {
      "command": "opslevel-mcp",  
      "env": {
        "OPSLEVEL_API_TOKEN": "XXXXXX"
      }
    }
  }
}
  1. Restart Windsurf

Using Docker

If you're using the Docker image instead of the binary, modify your configuration to use Docker:

{
  "command": "docker",
  "args": [
    "run",
    "-i",
    "--rm",
    "-e",
    "OPSLEVEL_API_TOKEN",
    "public.ecr.aws/opslevel/mcp:latest"
  ]
}

Available Data

The MCP server provides read-only access to the following OpsLevel resources:

  • Actions
  • Campaigns
  • Checks
  • Components
  • Documentation (API & Tech Docs)
  • Domains
  • Filters
  • Infrastructure
  • Repositories
  • Systems
  • Teams
  • Users

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "opslevel" '{"command":"opslevel-mcp","env":{"OPSLEVEL_API_TOKEN":"XXXXXXX"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "opslevel": {
            "command": "opslevel-mcp",
            "env": {
                "OPSLEVEL_API_TOKEN": "XXXXXXX"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "opslevel": {
            "command": "opslevel-mcp",
            "env": {
                "OPSLEVEL_API_TOKEN": "XXXXXXX"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later