Skip to main content
Glama
MCP Cloud & DevOps Operations Copilot

MCP Cloud & DevOps Operations Copilot

MCP Cloud & DevOps Operations Copilot

Python 3.11+ MCP FastAPI Docker License: MIT

A Model Context Protocol (MCP) powered Cloud & DevOps Operations Copilot built with Python, FastAPI, and Docker. It exposes standardized MCP tools for infrastructure health monitoring, least-privilege IAM policy validation, and automated incident runbook execution.


Architecture

flowchart LR
    A[LLM Client / Agent] -->|MCP Tool Call| B[MCP Server & FastAPI Gateway]
    B --> C[check_service_health]
    B --> D[validate_least_privilege_iam]
    B --> E[execute_incident_runbook]
    C --> F[Infrastructure Telemetry]
    D --> G[IAM Policy Evaluator]
    E --> H[Automated Remediation Log]

Related MCP server: Nibble

MCP Tools Exposed

  • check_service_health: Evaluates CPU, memory, and endpoint latency against production thresholds.

  • validate_least_privilege_iam: Audits IAM role JSON policies for wildcard actions (*) or missing MFA conditions.

  • execute_incident_runbook: Runs safe, idempotent remediation steps (cache flush, service restart, alert escalation).

Project Structure

mcp-cloud-devops-copilot/
├── .github/workflows/ci.yml   # Automated pytest CI
├── src/
│   ├── __init__.py
│   ├── config.py              # Threshold & environment settings
│   ├── models.py              # Pydantic request/response schemas
│   ├── mcp_server.py          # MCP tool registry & DevOps handlers
│   └── main.py                # FastAPI + MCP tool router
├── tests/
│   └── test_copilot.py        # Unit tests for MCP DevOps tools
├── .env.example
├── .gitignore
├── Dockerfile
├── docker-compose.yml
├── LICENSE
└── requirements.txt

Quickstart

1. Local Setup

git clone https://github.com/nazmulahmedsolaiman/mcp-cloud-devops-copilot.git
cd mcp-cloud-devops-copilot
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env
uvicorn src.main:app --reload

2. Docker Compose

docker compose up --build

Open Swagger UI at http://localhost:8000/docs.

Running Tests

python -m pytest -v

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to investigate production incidents by exposing service health, logs, and deployment data through MCP tools.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables governing tenant-aware MCP tools with policy enforcement, scoped access, human approval workflows, and tamper-evident audit logging.
      MIT