OpsLevel集成
STDIO提供AI工具与OpsLevel账户交互
提供AI工具与OpsLevel账户交互
This MCP (Model Context Protocol) server provides AIs with tools to interact with your OpsLevel account.
Currently, the MCP server only uses read-only access to your OpsLevel account and can read data from the following resources:
brew install opslevel/tap/opslevel-mcp
docker pull public.ecr.aws/opslevel/mcp:latest
${HOME}/Library/Application\ Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "opslevel": { "command": "opslevel-mcp", "env": { "OPSLEVEL_API_TOKEN": "XXXXXXX" } } } }
${HOME}/Library/Application\\ Support/Code/User/settings.json
{ "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}" } } } } }
{ "mcpServers": { "opslevel": { "command": "opslevel-mcp", "env": { "OPSLEVEL_API_TOKEN": "XXXXXX" } } } }
{ "opslevel": { "command": "opslevel-mcp", "args": [], "env": { "OPSLEVEL_API_TOKEN": "XXXXXX" }, "start_on_launch": true } }
{ "mcpServers": { "opslevel": { "command": "opslevel-mcp", "env": { "OPSLEVEL_API_TOKEN": "XXXXXX" } } } }
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"
],