agentops-incident-commander
Click on "Deploy 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., "@agentops-incident-commanderinvestigate incident INC-42 and summarize the evidence"
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.
AgentOps Incident Commander
A production-oriented incident-response agent built in TypeScript. It gathers operational evidence, proposes a remediation, pauses for human approval, executes the action in a simulator, verifies recovery, and stores an auditable trace that can be replayed without invoking a model.
What this demonstrates
Controlled agent workflows with read and write boundaries
Human approval before risky tool execution
MCP-compatible operational tools
Deterministic offline operation and optional Ollama planning
Trace persistence and model-free replay
OpenTelemetry instrumentation around investigations and decisions
Agent evaluation based on outcomes rather than prose alone
Failure-safe incident simulation
Related MCP server: Claude Ops Investigator
Quick start
Requirements: Node.js 22 or newer.
npm install
npm startOpen http://localhost:3000.
The default planner is deterministic and requires no API key or model download.
Run tests and evaluations
npm test
npm run typecheck
npm run evalUse a local Ollama model
Install Ollama, pull any tool-capable local model you prefer, and set:
AGENT_MODEL=ollama
OLLAMA_MODEL=qwen3:4b
npm startOn Windows PowerShell:
$env:AGENT_MODEL = "ollama"
$env:OLLAMA_MODEL = "qwen3:4b"
npm startRun the MCP server
The repository includes a stdio MCP server exposing safe read tools:
npm run mcpSet INCIDENT_ID to choose a scenario. Write operations remain controlled by the application approval policy.
API
GET /api/incidents— list safe incident summariesPOST /api/incidents/:id/investigate— collect evidence and create an approval requestPOST /api/runs/:id/decision— approve or reject remediationGET /api/runs/:id/replay— replay recorded tool events without a modelGET /api/runs— list stored runs
Safety model
Read tools execute automatically. A write operation is possible only after an explicit approval decision. The simulator rejects an action that does not match the scenario's permitted recovery action. Rejected approvals produce no write event.
Roadmap
PostgreSQL checkpointer for restart-safe pending approvals
OpenTelemetry trace export and trace visualization
Adversarial incident and prompt-injection datasets
Authentication and role-based approval policies
A2A adapter for external specialist agents
Dockerized local-model profile with automated model setup
Architecture
flowchart TD
A[Incident alert] --> B[Evidence collection]
B --> C[Diagnosis planner]
C --> D{Human approval}
D -->|Approve| E[Sandboxed remediation]
D -->|Reject| F[Safe stop]
E --> G[Health verification]
G --> H[Trace store and replay]License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
Read-only MCP for identity resolution and write guardrails.
Read-only finance and operations controls for AI agents with evidence and safe next actions.
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA read-only MCP server for safe, structured investigation of AWS serverless resources, providing curated tools for tracing dependencies, permissions, and failures without exposing raw SDK access.MIT
- FlicenseNot gradedqualityBmaintenanceEnables read-only Kubernetes incident investigation through MCP tools for listing pods, describing resources, fetching logs, and searching runbooks.1-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to safely explore and diagnose remote servers by providing a read-only sandbox with controlled access to files, logs, Docker, and databases. It exposes MCP tools that allow natural-language investigation and direct command execution without write permissions.3-
- FlicenseNot gradedqualityCmaintenanceEnables approval-gated incident response workflows that gather evidence through read-only MCP tools, perform idempotent writes, and preserve a durable audit trail.1-