mcp-enterprise-aiops-agent
š¤ MCP Enterprise AIOps Agent & Gateway
A Production-Grade Model Context Protocol (MCP) implementation in Python powered by Groq Llama-3.3-70B and Streamlit Web UI.
This project functions as an Autonomous Self-Healing AIOps Engine that monitors system metrics, detects memory/CPU threshold breaches, and dynamically executes remediation tools to restore server health without human intervention.
š Key Features
Autonomous LLM Agent: Leverages Anthropic's Model Context Protocol (MCP) and Groq LLM Function Calling.
Self-Healing Architecture: Automatically detects high CPU/RAM usage (e.g. >80%) and triggers remediation scripts down to safe levels (~35%).
Dynamic Tool Router: Centralized registry mapping LLM tool requests to python functions.
Zero-Trust Security: Token authentication middleware and Human-in-the-Loop authorization hooks for sensitive operations.
Multi-Interface Support: Operates via Streamlit Web UI & CLI Terminal with Winston-style Python logging.
š ļø Project Architecture
mcp-enterprise-aiops-agent/ āāā .env āāā .gitignore āāā requirements.txt āāā README.md āāā app_gui.py āāā src/ āāā init.py āāā security/ ā āāā init.py ā āāā auth.py # Zero-Trust JWT/Token Validation ā āāā privacy_gateway.py # Presidio-style PII Redaction & Data Masking āāā tools/ ā āāā init.py ā āāā system_tool.py # System Health Monitoring & Self-Healing ā āāā external_api_tool.py# Microservice Tool Integration āāā core/ ā āāā init.py ā āāā policy_engine.py # OPA-style Policy Enforcement & Human-in-the-Loop ā āāā tool_router.py # Dynamic MCP Tool Registration & Execution ā āāā llm_agent.py # Multi-turn Autonomous Agent Loop āāā utils/ āāā init.py āāā logger.py # Structured Audit Logging (OpenTelemetry style)vice Data)