ops-agent-toolkit-mcp
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).
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.
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