aiganak-aiops-mcp
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., "@aiganak-aiops-mcp analyze the latest error logs and suggest a patch for the failing module"
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.
β‘ AiGanak-AIOps-MCP
Autonomous Infrastructure & Code Health Diagnostic Agent over Model Context Protocol (MCP)
Developed by Akshay Bankar | AiGanak Technologies (aiganak.com) | Released under the Apache 2.0 License.
π Overview
aiganak-aiops-mcp is a flagship reference architecture and open-source MCP server designed to automate infrastructure diagnostics, log root-cause analysis, and safe code patching.
By combining DuckDB OLAP analytics, Python AST structural inspection, LangGraph cyclic state machines, and Arize Phoenix LLMOps observability, this repository provides a top 1% reference blueprint for production-grade agentic integrations.
Related MCP server: AI Incident Monitoring RCA MCP Server
π System Architecture
1. High-Level Protocol & Component Boundaries
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Client Layer (IDE / Agent) β
β (Cursor IDE / Claude Desktop / Custom LangGraph Agent) β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β
β Standard STDIO / JSON-RPC
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β aiganak-aiops-mcp (FastMCP Server) β
β β
β ββββββββββββββββββββββββββ βββββββββββββββββββββββββ βββββββββββββββββββββ β
β β query_log_file β β inspect_code_ast β β apply_code_patch β β
β β (DuckDB OLAP Engine) β β (Python AST Parser) β β (Git Safety Gate) β β
β βββββββββββββ¬βββββββββββββ βββββββββββββ¬ββββββββββββ βββββββββββ¬ββββββββββ β
ββββββββββββββββΌβββββββββββββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββββ βββββββββββββββββββββ βββββββββββββββββββββ
β JSONL/CSV Logs β β Source Code AST β β Host Codebase β
βββββββββββββββββββββ βββββββββββββββββββββ βββββββββββββββββββββ2. LangGraph Stateful Self-Healing Orchestrator
ββββββββββββββββββββββββββββββββββ
β node_log_analyzer β <ββββ
βββββββββββββββββ¬βββββββββββββββββ β
β β
βΌ β
ββββββββββββββββββββββββββββββββββ β
β node_code_inspector β β
βββββββββββββββββ¬βββββββββββββββββ β
β β
βΌ β
ββββββββββββββββββββββββββββββββββ β
β node_patch_proposer β β (Retry Loop)
βββββββββββββββββ¬βββββββββββββββββ β
β β
[ Human Approval Gate Interrupt ] β
β β
(Approved / Local) β
β β
βΌ β
ββββββββββββββββββββββββββββββββββ β
β node_patch_applier β β
βββββββββββββββββ¬βββββββββββββββββ β
β β
βΌ β
ββββββββββββββββββββββββββββββββββ β
β node_verifier β β
βββββββββββββββββ¬βββββββββββββββββ β
β β
[ Verification Passed? ] β
/ \ β
(Yes) (No) βββββββββββ
β
βΌ
βββββββ
β END β
βββββββAvailable Tools
3 toolsapply_code_patchA
Safely modifies a target Python source file after validating AST syntax and establishing Git safety gates. Automatically rolls back on invalid syntax.
Inputs: file_path (required), new_content (required). Returns: result
inspect_code_astA
Parses a target Python source file into an AST tree to return class, function, and import structures for diagnostic analysis.
Inputs: file_path (required). Returns: result
query_log_fileB
Executes high-speed DuckDB SQL queries directly against log files (JSONL, CSV, Parquet).
Inputs: file_path (required), sql_query (required), max_rows. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool targets a clearly distinct task: log querying, code inspection, and code modification. There is no overlap between querying logs, parsing ASTs, and applying patches, so an agent would not confuse them.
The naming is inconsistent: query_log_file uses a verb_noun_obj pattern, inspect_code_ast uses verb_noun_obj, but apply_code_patch uses verb_noun. The verbs (query, inspect, apply) are varied and not obviously part of a unified domain vocabulary, and the patterns differ across tools.
Three tools is on the borderline of being too thin for an AIOps server, especially given the mixed domain of log analysis and code modification. The count is defensible, but the scope feels narrow for a server with 'aiops' in its name.
The tools span log querying, code inspection, and code patching, but each area has obvious gaps: there is no tool for writing log query results, no update/get verification for the patch step beyond the patch itself, and the log analysis surface gives no way to define or manage analysis workflows. The domain coverage is fragmented rather than complete.
Related MCP Connectors
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Git-backed platform for skills, tools, and context for AI agents
Autonomous and governed SRE & MLOps control plane for AI agent platforms.
Autonomous AI developers on your own infrastructure: assign a task, get a pull request.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to inspect backend systems through structured engineering tools including Git history, Winston logs, OpenAPI contracts, and sandboxed source code.2ISC
- FlicenseNot gradedqualityDmaintenanceProvides telemetry tools for retrieving recent logs and system metrics to support root-cause analysis of infrastructure incidents. Enables autonomous incident triage with grounded verification and human-in-the-loop remediation.1-
- FlicenseNot gradedqualityDmaintenanceEnables autonomous infrastructure health management by exposing tools for retrieving system logs, querying a knowledge base, executing SQL analytics, and simulating system commands, all integrated into an AI-driven incident response workflow.-
- FlicenseAqualityDmaintenanceEnables natural-language diagnosis of Linux system issues by providing sandboxed, typed tools for system, service, filesystem, and git inspection, with human approval for mutating actions.18-