Provides tools for validating playbooks, generating playbook templates for various infrastructure types (webserver, database, Kubernetes), linting for anti-patterns, and generating inventory files in INI/YAML formats.
Offers comprehensive Docker tooling including Dockerfile validation for security and optimization, generation of multi-stage Dockerfile templates, creation of docker-compose.yml files, and analysis of Docker image structures.
Enables generation of Helm charts as part of Kubernetes resource management and templating capabilities.
Provides Jenkins pipeline management through Jenkinsfile validation for syntax and security issues, generation of pipeline templates for multiple project types, and analysis of pipelines for optimization opportunities.
Offers comprehensive Kubernetes management including manifest validation against best practices, generation of resource templates (Deployments, Services, etc.), creation of Helm charts, resource optimization analysis, and generation of Kustomization files.
Provides extensive Terraform tooling including configuration validation with security issue detection, generation of module templates (VPC, EC2, RDS, S3, etc.), code formatting, state file analysis, and backend configuration generation.
CLP MCP - DevOps Infrastructure Server
A comprehensive Model Context Protocol (MCP) server designed for DevOps and infrastructure management. This server provides extensive tooling for Jenkins, Ansible, Terraform, Kubernetes, and Docker, along with a sophisticated memory system for context retention and reasoning tracking.
Features
🧠 Memory System
Store & Recall: Persistent key-value storage with metadata
Search: Full-text search across stored data with category filtering
Reasoning Tracking: Record and retrieve decision-making context
Context Management: Maintain state across interactions
🔧 DevOps Tools
Jenkins
Validate Jenkinsfiles for syntax and security issues
Generate pipeline templates for multiple project types
Analyze pipelines for optimization opportunities
Ansible
Validate playbooks for best practices
Generate playbook templates (webserver, database, K8s, etc.)
Lint playbooks for anti-patterns
Generate inventory files (INI/YAML)
Terraform
Validate configurations and detect security issues
Generate module templates (VPC, EC2, RDS, S3, etc.)
Format code to canonical style
Analyze state files
Generate backend configurations
Kubernetes
Validate manifests against best practices
Generate resource templates (Deployments, Services, etc.)
Create Helm charts
Analyze resources for optimization
Generate Kustomization files
Docker
Validate Dockerfiles for security and optimization
Generate multi-stage Dockerfile templates
Create docker-compose.yml files
Optimize existing Dockerfiles
Analyze image structures
📚 Resources
DevOps best practices documentation
Jenkins pipeline examples
Terraform module patterns
💡 Prompts
Infrastructure audit checklists
Deployment strategy recommendations
Installation
Development
Run the development server with hot reload:
Build
Build for production:
Usage
This MCP server can be used with any MCP-compatible client (Claude Desktop, etc.). See DEVOPS_TOOLS.md for comprehensive documentation of all tools and usage examples.
Quick Examples
Store Infrastructure Info:
Generate Jenkins Pipeline:
Validate Kubernetes Manifest:
Documentation
DEVOPS_TOOLS.md: Complete tool reference and usage examples
AGENTS.md: Development and deployment guide
Architecture
Built on:
@modelcontextprotocol/sdk: Official MCP TypeScript SDK
@smithery/sdk: Smithery platform integration
Zod: Schema validation
Bun: Fast JavaScript runtime
Memory System Architecture
The memory system provides:
Key-Value Storage: Store any JSON-serializable data with metadata
Tagging: Organize data with multiple tags
Categories: Group data by infrastructure type
Search: Full-text search across keys, values, and tags
Reasoning History: Track decision-making context and rationale
Context Management: Session-specific context storage
Tool Categories
Memory (6 tools)
memory_store, memory_recall, memory_delete
memory_search, add_reasoning, get_reasoning_history
Jenkins (3 tools)
validate_jenkinsfile, generate_jenkinsfile, analyze_jenkins_pipeline
Ansible (4 tools)
validate_ansible_playbook, generate_ansible_playbook
lint_ansible_playbook, generate_ansible_inventory
Terraform (5 tools)
validate_terraform, generate_terraform_module, format_terraform
analyze_terraform_state, generate_terraform_backend
Kubernetes (5 tools)
validate_k8s_manifest, generate_k8s_manifest, generate_helm_chart
analyze_k8s_resources, generate_kustomization
Docker (5 tools)
validate_dockerfile, generate_dockerfile, generate_docker_compose
optimize_dockerfile, analyze_docker_image
Total: 28 tools for comprehensive DevOps infrastructure management
Contributing
Contributions are welcome! Please ensure all tools follow the established patterns and include comprehensive error handling.
License
ISC
Project Info
This project uses Bun, a fast all-in-one JavaScript runtime.
This server cannot be installed
Enables comprehensive DevOps infrastructure management through tools for Jenkins, Ansible, Terraform, Kubernetes, and Docker operations. Features a sophisticated memory system for context retention and provides validation, generation, and optimization capabilities across DevOps workflows.