Back to Blog
Claude CodeMCPCI/CDDevOpsGitHub Actions

How to Manage CI/CD Pipelines from Claude Code with MCP

Michael Moreira·2026-03-17·8 min read

The way engineering teams manage CI/CD is changing. Instead of writing YAML by hand, switching between GitHub tabs, and manually debugging failed pipelines — you can now do it all from your coding environment.

The Problem with Traditional CI/CD

Every developer knows the pain: you push code, switch to GitHub to check the pipeline, wait for it to fail, read through logs, figure out the fix, push again. Repeat.

This context-switching kills productivity. Studies show developers lose 23 minutes on average every time they switch contexts. If your pipeline fails twice a day, that's almost an hour lost — not counting the actual debugging time.

What is MCP and Why It Matters for CI/CD

The Model Context Protocol (MCP) is an open standard that lets AI coding assistants connect to external tools and services. Think of it as a universal plugin system for AI.

When you connect FlowEasy's MCP server to Claude Code, Cursor, or Windsurf, your AI assistant can:

  • List all your pipelines and their current status
  • View real-time logs from running workflows
  • Analyze failures with AI-powered root cause detection
  • Re-run or rollback pipelines without leaving your editor
  • Generate compliance reports for auditing

All from a natural language conversation in your terminal or IDE.

Setting It Up (2 Minutes)

Step 1: Get Your API Key

Sign in to FlowEasy, go to Settings → API Keys, and create a new key. Copy it — you'll only see it once.

Step 2: Add MCP Configuration

For Claude Code, add this to ~/.claude/mcp.json:

json
{
  "mcpServers": {
    "floweasy": {
      "command": "npx",
      "args": ["-y", "floweasy-mcp"],
      "env": {
        "FLOWEASY_API_KEY": "fe_your_key_here"
      }
    }
  }
}

For Cursor or Windsurf, the same JSON goes in their respective MCP config files.

For OpenAI Codex, use TOML format in ~/.codex/config.toml:

toml
[mcp_servers.floweasy]
command = "npx"
args = ["-y", "floweasy-mcp"]

[mcp_servers.floweasy.env]
FLOWEASY_API_KEY = "fe_your_key_here"

Step 3: Start Using It

Once configured, you can ask your AI assistant things like:

  • "What's the status of my pipelines?"
  • "Show me the logs from the last failed run"
  • "Why did the API service pipeline fail?"
  • "Re-run the production deploy"
  • "Rollback to the previous successful deployment"

Real-World Workflow Example

Here's what a typical debugging session looks like with FlowEasy MCP:

You: "My production pipeline just failed. What happened?"

Claude Code: Calls pipeline_status → sees the pipeline failed at the SAST scan step. Calls view_logs → identifies a hardcoded API key in src/api/auth.ts. Calls analyze_failure → gets AI analysis confirming a security vulnerability and a suggested fix.

You: "Fix it and re-run"

Claude Code: Moves the key to an environment variable, commits the change, and calls rerun_pipeline.

Total time: under 2 minutes, without ever leaving your editor.

The 9 MCP Tools Available

ToolWhat It Does
list_pipelinesShows all your pipelines with current status
pipeline_statusDetailed status of a specific pipeline
view_logsFull CI logs with job steps
pipeline_historyLast 20 runs with commits and duration
analyze_failureAI root cause analysis with suggested fix
rerun_pipelineRe-run the last workflow
rollback_pipelineRollback to previous successful deploy
cancel_runCancel an active run
compliance_reportSecurity compliance report (Pro)

Security Built In

Every pipeline generated by FlowEasy includes up to 6 security scans:

  1. SAST — Static analysis with Semgrep
  2. SCA — Dependency vulnerability scanning
  3. Secrets — TruffleHog secret detection
  4. DAST — Dynamic analysis with OWASP ZAP
  5. SBOM — Software Bill of Materials
  6. Compliance — Audit-ready reports

The free plan includes basic SAST. The Team plan ($19/month) includes all 6 scans plus Auto-Heal AI that automatically creates fix PRs.

Getting Started

  1. Sign up for free with GitHub
  2. Create your first pipeline in the wizard (no YAML needed)
  3. Add the MCP config to your AI coding tool
  4. Start managing CI/CD from your editor

The free plan includes 5 pipeline runs per month — enough to see how it works on a real project.


FlowEasy is an AI-powered CI/CD platform built for engineering teams using Claude Code, Cursor, and Windsurf. Try it free.

Ready to try it?

Create your first AI-powered pipeline in under 2 minutes. Free plan, no credit card.