mcp-devops-server
Allows listing Docker containers and retrieving container logs.
Allows listing Helm releases and previewing Helm upgrade changes.
Allows getting and describing Kubernetes resources, and retrieving pod logs.
Allows running terraform plan and showing terraform state.
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., "@mcp-devops-servershow me all pods in the default namespace"
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.
mcp-devops-server
An MCP (Model Context Protocol) server that gives AI agents access to DevOps tools — kubectl, terraform, helm, docker, and AWS cost analysis.
Works with Claude Desktop, Cursor, GitHub Copilot, and any MCP-compatible client.
Tools
Tool | Description |
| Get Kubernetes resources |
| Describe a Kubernetes resource |
| Get pod logs |
| Run terraform plan |
| Show terraform state |
| List Helm releases |
| Preview Helm upgrade changes |
| List Docker containers |
| Get container logs |
| Get AWS cost summary (last 7/30 days) |
| List AWS resources by service |
Related MCP server: K8s MCP Server
Installation
Using npx (no install)
npx @basel5001/mcp-devops-serverGlobal install
npm install -g @basel5001/mcp-devops-server
mcp-devops-serverFrom source
git clone https://github.com/basel5001/mcp-devops-server.git
cd mcp-devops-server
npm install
npm run build
npm startConfiguration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"devops": {
"command": "npx",
"args": ["-y", "@basel5001/mcp-devops-server"]
}
}
}Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"devops": {
"command": "npx",
"args": ["-y", "@basel5001/mcp-devops-server"]
}
}
}Security Considerations
Command allowlist: Only
kubectl,terraform,helm,docker, andawscommands can be executed.Argument sanitization: Shell metacharacters (
;,&,|,`,$) and path traversal (..) are rejected.No shell execution: Commands run via
execFile(notexec), preventing shell injection.Timeouts: All commands have configurable timeouts (default 30s) to prevent hanging.
Read-only by design: No destructive operations (delete, apply, destroy) are exposed.
Development
npm install
npm run dev # watch mode
npm run build # compile
npm run lint # lintLicense
MIT
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/basel5001/mcp-devops-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server