devops-mcp-server
Provides tools to list recent deployment history with timestamps and commits, simulating CI/CD data.
Provides tools to query pod status, restarts, and resource usage from Kubernetes clusters.
Provides tools to query time-series metrics from Prometheus monitoring.
Click on "Install 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., "@devops-mcp-serverCheck the status of pod payments-api-7c9f4"
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.
devops-mcp-server
A Model Context Protocol (MCP) server that exposes common DevOps/SRE operations — Kubernetes pod status, Prometheus-style metrics queries, and recent deploy history — as tools any MCP-compatible client (Claude Desktop, Claude Code, or a custom LangGraph agent) can call.
Part of a portfolio of agentic AI / AIOps projects. See the index for the full set.
Why this exists
MCP is now supported natively across Anthropic, OpenAI, Google, and Microsoft's agent stacks, but hands-on experience actually building an MCP server (not just consuming public ones) is still uncommon. This repo demonstrates the pattern applied to the domain I know best after 20+ years in infra: exposing operational tooling to an agent in a controlled, typed, auditable way.
Related MCP server: MCP Setup Server
Tools exposed
Tool | Description |
| Returns status/restarts/resource usage for a named pod (mock K8s data source) |
| Returns the last N deploys for a service with timestamp + commit (mock CI data source) |
| Returns a time-series-style summary for a metric + resource (mock Prometheus data source) |
Each tool ships with a strict input schema and read-only mock data sources — safe to demo without cloud credentials. Swap mock_backends.py for real kubernetes client / prometheus-api-client / GitHub Actions API calls to go to production.
Architecture
flowchart LR
C[MCP Client<br/>Claude Desktop / Code / custom agent] -->|JSON-RPC over stdio| S[devops-mcp-server]
S --> K[get_pod_status]
S --> D[list_recent_deploys]
S --> M[query_metric]
K -.-> MB[(mock_backends.py)]
D -.-> MB
M -.-> MBQuickstart
pip install -r requirements.txt
python server.pyConnect it to Claude Desktop
Add to your claude_desktop_config.json (see claude_desktop_config.example.json):
{
"mcpServers": {
"devops-tools": {
"command": "python",
"args": ["/absolute/path/to/devops-mcp-server/server.py"]
}
}
}Restart Claude Desktop, then ask: "Check pod status for payments-api-deployment/pod-7c9f4."
Project layout
devops-mcp-server/
├── server.py # MCP server + tool registration
├── mock_backends.py # swappable data sources
├── claude_desktop_config.example.json
├── requirements.txt
└── DockerfileExtending this
aiops-agent-orchestrator calls these same tools programmatically (not just from a chat client), which is what turns this from a demo into an actual AIOps building block.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rpsangam/devops-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server