DevOps Helper MCP
DevOps Helper MCP
An MCP server and slash commands for Claude Code to help onboard developers with Git, Docker, GitHub Actions, and GitHub Container Registry.
Features
MCP Tools (Auto-available in Claude Code)
Tool | Description |
| Git status with beginner-friendly explanations |
| Show branches with workflow explanation |
| Guide through creating proper commits |
| Verify Docker installation and setup |
| Detect project type, generate Dockerfile |
| Build Docker image with validation |
| Step-by-step GHCR authentication |
| Tag and push to GitHub Container Registry |
| Generate CI/CD workflow YAML |
| List repository and environment secrets |
| Securely store a secret in GitHub |
| Remove a secret |
| Explain secrets and common patterns |
| Guide through SonarCloud setup |
| Generate sonar-project.properties |
| Generate CI workflow with SonarCloud |
| Guide through Azure container deployment |
| Verify Azure CLI installation |
| Create Azure Container Registry |
| Deploy to Azure Container Apps |
| Generate Azure deployment workflow |
| Configure GitHub secrets for Azure |
| Full environment verification |
Slash Commands (Per-project)
Command | Description |
| Complete developer environment setup |
| Create Dockerfile for any project |
| Walk through creating a pull request |
| Push Docker image to GHCR |
| Create CI/CD pipeline |
| Manage GitHub Actions secrets |
| Set up SonarCloud code analysis |
| Deploy containers to Azure |
| Contextual git assistance |
Installation
Quick Install
cd /app/devops-helper-mcp
chmod +x install.sh
./install.shManual Install
Install dependencies:
npm installAdd to Claude Code settings (
~/.claude/settings.json):
{
"mcpServers": {
"devops-helper": {
"command": "node",
"args": ["/app/devops-helper-mcp/src/index.js"]
}
}
}Restart Claude Code
Install Slash Commands in a Project
cd /path/to/your/project
node /app/devops-helper-mcp/scripts/install-commands.jsThis copies the .claude/commands/ folder to your project.
Usage Examples
Onboarding a New Developer
User: I just joined the team and need to set up my environment
Claude: Let me run a full environment check...
[Uses dev_onboarding_check tool]
[Guides through fixing any issues]Creating a Docker Image
User: /docker-setup
Claude: [Analyzes project]
[Generates appropriate Dockerfile]
[Guides through build and run]First Pull Request
User: /github-pr
Claude: [Checks git status]
[Helps create feature branch if needed]
[Guides through commit and PR creation]Setting Up CI/CD
User: /github-actions
Claude: [Detects project type]
[Generates workflow YAML]
[Explains each section]
[Helps commit and push]Project Types Supported
Java (Maven & Gradle)
Node.js
Python
Go
Rust
Requirements
Node.js 18+
Claude Code CLI
Git
Docker (for Docker-related features)
GitHub CLI
gh(for GitHub features)
Contributing
Fork the repository
Create a feature branch
Make your changes
Submit a pull request
License
MIT