Skip to main content
Glama
Jeromefromcn

ops-agent-toolkit-mcp

by Jeromefromcn

ops-agent-toolkit-mcp

MCP server exposing read-only ops tools to an agent troubleshooting the lab-environment sandbox.

Tools

Tool

Backend

Purpose

search_logs(service, keyword, minutes_ago)

Loki

Search service logs by keyword and time window

query_metric(service, metric_name, minutes_ago)

Prometheus

Get a metric's summary (mean/peak/threshold), not raw series

get_trace(trace_id) / search_traces(service, error_only)

Jaeger

Fetch or search distributed traces, formatted as a span tree

get_service_health(service)

Consul

Check service registration/health status

get_service_config(service)

Consul KV

Read a service's current config

toggle_chaos_scenario(service, scenario, enabled)

Consul KV

Enable/disable a fault scenario

See ROADMAP.md for planned additions (Kafka tools, multi-agent permission scoping, K8s tools).

Related MCP server: mcp-grafana

Run locally (stdio mode)

pip install -r requirements.txt
python server.py

Run as a container (HTTP/SSE mode)

docker build -t ops-lab/mcp-toolkit:dev .

Intended to run inside the lab-environment docker-compose network, so it can reach Loki/Prometheus/Jaeger/Consul by service name.

Design principles

  • Read-only by default. The one exception is toggle_chaos_scenario, scoped to chaos toggle keys only. No tool restarts services, rolls back deployments, or writes real app config. Further write-capable tools require explicit discussion.

  • Parameterized, not raw passthrough. Never expose PromQL/LogQL directly to the model.

  • Every call is audited — tool name, args, duration, and a result preview are logged.

  • One tool, one job. Keep tool boundaries narrow so the agent composes them itself.

Roadmap

See ROADMAP.md.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    C
    maintenance
    In-cluster MCP server for read-only diagnostics of Grafana, Prometheus, Alertmanager, and Loki, enabling metric queries, alert listings, and log queries through Grafana datasource proxies with Kubernetes RBAC authentication.
    Last updated
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for Oracle Container Engine for Kubernetes (OKE) that enables inspection, querying, and troubleshooting of OKE clusters through safe, composable tools.
    Last updated
    Universal Permissive v1.0
  • F
    license
    -
    quality
    C
    maintenance
    Exposes DevOps/SRE operations like Kubernetes pod status, Prometheus metrics queries, and deploy history as tools for MCP-compatible clients.
    Last updated

View all related MCP servers

Related MCP Connectors

  • MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.

  • The official MCP Server from Mia-Platform to interact with Mia-Platform Console

  • Autopilot MCP server for GEO analyses, reports, content, audits, memories and agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jeromefromcn/ops-agent-toolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server