About OpsLevel MCP Server
A self-hosted MCP server for AI tools to read data from an OpsLevel account. It covers a broad set of account resources but is deprecated; the README recommends OpsLevel’s hosted MCP server for new users.
Key features
- 01Read-only account access
- 02Read actions, campaigns, and checks
- 03Read components and dependencies
- 04Read documentation, domains, and filters
- 05Read infrastructure, repositories, systems, teams, and users
Use cases
- 01Inspect component dependencies and dependents
- 02Review team and system records
- 03Browse OpsLevel documentation and repositories
MCP support
Exposes read-only OpsLevel account data as tools to MCP clients. The self-hosted server uses an API token; the recommended hosted server is configured by URL and uses OAuth.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEOpsLevel MCP Server
Warning
This self-hosted MCP server is deprecated. New users should prefer the hosted MCP server at https://app.opslevel.com/mcp, which requires no local install or binary management and stays automatically up to date.
Using the hosted MCP server
The hosted server uses OAuth — no API token, binary, or client secret to manage. For any AI tool that supports remote MCP servers, the only value you need to configure is the URL:
{ "mcpServers": { "opslevel": { "url": "https://app.opslevel.com/mcp" } } }Your client discovers the OAuth configuration automatically and opens a browser for you to log in to OpsLevel and grant access. Notes:
- Authentication is OAuth 2.1 (Dynamic Client Registration + authorization code with PKCE) — your MCP client handles this for you, including refreshing the short-lived access tokens.
- The transport is streamable HTTP (not SSE). If your client asks, choose the HTTP / streamable-HTTP option.
- Consult your AI tool's documentation for exactly where to add a remote MCP server.
This MCP (Model Context Protocol) server provides AIs with tools to interact with your OpsLevel account.
Features
Currently, the MCP server only uses read-only access to your OpsLevel account and can read data from the following resources:
- Actions
- Campaigns
- Checks
- Components
- Component Dependencies (components that a component depends on)
- Component Dependents (components that depend on a component)
- Documentation (API & Tech Docs)
- Domains
- Filters
- Infrastructure
- Repositories
- Systems
- Teams
- Users
Setup
- Install the MCP Server
- Homebrew -
brew install opslevel/tap/opslevel-mcp - Docker -
docker pull public.ecr.aws/opslevel/mcp:latest
You can also used a pinned version check out the gallery for the available tags - Manual - Visit our GitHub releases page and download the binary for your operating system.
- Homebrew -
- You will need an API Token to authorize the MCP Server to talk to your account via an environment variable.
- Setup MCP configuration for the AI tool of your choice.
Claude
- Edit the file at the specified path based on the Claude Desktop docs
- Mac OS -
${HOME}/Library/Application\ Support/Claude/claude_desktop_config.json - Windows -
%APPDATA%\Claude\claude_desktop_config.json
- Mac OS -
- Start (or restart) Claude Desktop
{
"mcpServers": {
"opslevel": {
"command": "opslevel-mcp",
"env": {
"OPSLEVEL_API_TOKEN": "XXXXXXX"
}
}
}
}
VS Code
- Open the Settings menu (Command + Comma) and select the correct tab atop the page for your use case
- Workspace - configures the server in the context of your workspace
- User - configures the server in the context of your user
- Select Features → Chat
- Ensure that "Mcp" is Enabled
- You may need to have your Github administrator enable "preview" features in the CoPilot settings for the organization.
- Click "Edit in settings.json" under "Mcp > Discovery" to have the below config
- Can also edit the file directly
- (Mac OS)
${HOME}/Library/Application\\ Support/Code/User/settings.json
- (Mac OS)
- Can also edit the file directly
- Start (or restart) VS Code
{
"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}"
}
}
}
}
}
Cursor
- Open the Cursor menu and select Settings → Cursor Settings → MCP
- Click "Add new global MCP server"
- Add the config below
{
"mcpServers": {
"opslevel": {
"command": "opslevel-mcp",
"env": {
"OPSLEVEL_API_TOKEN": "XXXXXX"
}
}
}
}
Warp
- Access your MCP settings under Settings > AI > Manage MCP Servers. Warp provides instructions for other ways to access this list.
- Press the add button
- Add the config below
{
"opslevel": {
"command": "opslevel-mcp",
"args": [],
"env": {
"OPSLEVEL_API_TOKEN": "XXXXXX"
},
"start_on_launch": true
}
}
Windsurf
- Navigate to Windsurf - Settings > Advanced Settings
- Scroll down to the Cascade section and you will find the option to add a new server
- Edit the mpc_config.json with the below configuration
- Restart Windsurf
{
"mcpServers": {
"opslevel": {
"command": "opslevel-mcp",
"env": {
"OPSLEVEL_API_TOKEN": "XXXXXX"
}
}
}
}
Docker
If you didn't install the binary directly and instead pulled the docker image you'll need to adjust the above MCP configurations to support running the server via docker
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPSLEVEL_API_TOKEN",
"public.ecr.aws/opslevel/mcp:latest"
],
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.
