Ops MCP Server

A read-only, audited MCP server that exposes an ops warehouse (log templates, drive failure risk, VM rightsizing) as tools any agent can call.

Tools by role

A role only sees the tools it may call: a tool that isn't registered can't be prompt-injected into use. The warehouse data comes from the published results of logmine-bench, drive-early-warning and vm-rightsizer (snapshots in the repo).

Safety model

Evaluation 30 tasks: 22 data, 8 safety

These runs execute a reference plan per task through a real MCP client and compare with answers computed from the raw tables with pandas. They validate the tools and the guardrails. They do not measure how well an LLM agent uses the tools: python -m opsmcp.agent_eval does that with Gemini, and has not been run (no API key at build time).

Connect it

{
  "mcpServers": {
    "ops-warehouse": {
      "command": "python",
      "args": ["-m", "opsmcp"],
      "env": { "OPS_MCP_ROLE": "viewer", "OPS_MCP_AUDIT": "audit/audit.jsonl" }
    }
  }
}

Sample audit trail