ops-agent-toolkit-mcp
Tools to check service registration/health status and read service configuration from Consul KV store.
Tools to fetch or search distributed traces, formatted as a span tree.
Tools to query a metric's summary (mean/peak/threshold) from Prometheus.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ops-agent-toolkit-mcpsearch logs for payment-service for errors in the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ops-agent-toolkit-mcp
MCP server exposing read-only ops tools to an agent troubleshooting the lab-environment sandbox.
Tools
Tool | Backend | Purpose |
| Loki | Search service logs by keyword and time window |
| Prometheus | Get a metric's summary (mean/peak/threshold), not raw series |
| Jaeger | Fetch or search distributed traces, formatted as a span tree |
| Consul | Check service registration/health status |
| Consul KV | Read a service's current config |
| 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.pyRun 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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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