dobbe
Automates DevOps workflows like vulnerability resolution, code review, test generation, and DORA metrics through Claude Code slash commands, using a state machine for reliable execution.
README
<p align="center"> <img src="docs/banner.svg" alt="dobbe -- DevOps autopilot for Claude Code" width="100%"> </p>
<p align="center"> <a href="https://github.com/nareshnavinash/dobbe-mcp/actions"><img src="https://github.com/nareshnavinash/dobbe-mcp/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="https://www.npmjs.com/package/dobbe"><img src="https://img.shields.io/npm/v/dobbe.svg" alt="npm"></a> <a href="https://github.com/nareshnavinash/dobbe-mcp/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a> <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg" alt="Node.js"></a> <img src="https://img.shields.io/badge/tests-373%20passed-brightgreen" alt="Tests"> <img src="https://img.shields.io/badge/coverage-94%25-brightgreen" alt="Coverage"> </p>
$ /dobbe-vuln-resolve
[scan] Found 3 Dependabot alerts (2 critical, 1 high)
[fix] Upgraded lodash 4.17.20 -> 4.17.21, axios 0.21.1 -> 0.21.4
[verify] Running tests... FAILED (TypeError in utils.js:42)
[retry] Attempt 2/3 -- feedback injected, retrying with error context
[fix] Pinned axios 0.21.4, added @types/lodash
[verify] Running tests... PASSED (147/147)
[pr] Created PR #142: "fix: resolve vulnerable dependencies"
Why dobbe?
-
Your AI skips steps. dobbe can't. Every pipeline is a finite state machine with Zod validation at each transition. Claude submits results, the server validates them, and only then advances to the next step. If tests fail, the server loops back automatically with the exact error output injected as context. This is program control flow, not prompt engineering.
-
45 minutes to 3 minutes. A typical Dependabot triage: open GitHub, read 12 alerts, figure out which matter, checkout a branch, upgrade packages, run tests, debug failures, run tests again, push, create a PR. With dobbe: type
/dobbe-vuln-resolve. The pipeline handles all steps including up to 3 retry loops if tests break. -
One command. No config files.
npx dobbe installregisters the MCP server and 24 slash commands. No YAML. No dashboard. No SaaS signup. Uninstall withnpx dobbe uninstall.
Before vs. After
| Task | Without dobbe | With dobbe |
|---|---|---|
| Resolve Dependabot alerts | Open GitHub, read alerts, checkout, upgrade, test, fix, test again, PR (~45 min) | /dobbe-vuln-resolve -- auto-retry, PR created (~3 min) |
| Code review all open PRs | Read each diff, write comments, check security/tests/quality | /dobbe-review-post -- deep review + comments posted |
| Find coverage gaps + write tests | Run coverage, find gaps, write tests, run, fix, repeat | /dobbe-test-gen -- analyze, generate, verify, retry, PR |
| DORA metrics | Query GitHub API, compute 4 metrics, format report | /dobbe-metrics-dora -- one command |
| Triage Sentry incidents | Open Sentry, read stack traces, search codebase, write analysis | /dobbe-incident-triage -- fetch, analyze, report |
Quick Start
npx dobbe install
Restart Claude Code, then try:
/dobbe-vuln-scan
/dobbe-review-digest
/dobbe-metrics-dora
# Uninstall
npx dobbe uninstall
How It Works
The MCP server runs a finite state machine. Each step declares what needs to happen (intent, mode, context) and Claude decides how to accomplish it. Results are validated with Zod schemas before advancing.
graph LR
A[scan] --> B[fix]
B --> C[commit]
C --> D{verify}
D -->|pass| E[report]
D -->|fail| B
E --> F[pr]
F --> G((done))
D -->|max retries| H((failed))
The server controls the workflow, not the prompt. Each step has a declarative
intent(what to do),mode(plan, act, gather, or report), andcontext(structured parameters). Claude uses its best tools and UX for the job. If results fail Zod validation, the server rejects them. If tests fail at the verify step, the server loops back tofixwith the error output injected as feedback -- up to 3 iterations.
Commands
AI-Powered Pipelines
| Command | What it does | Pipeline flow | Retry |
|---|---|---|---|
/dobbe-vuln-scan |
Scan + triage Dependabot alerts | scan -> report -> done | -- |
/dobbe-vuln-resolve |
Scan, fix, test, retry, create PR | scan -> fix -> commit -> verify -> report -> pr -> done | 3x |
/dobbe-review-digest |
Fetch PRs, deep review, generate digest | fetch -> review -> done | -- |
/dobbe-review-post |
Review PRs, post comments to GitHub | fetch -> review -> post -> done | -- |
/dobbe-audit-report |
Security audit (vulns, licenses, secrets, quality) | analyze -> done | -- |
/dobbe-deps-analyze |
Dependency health, licensing, usage analysis | analyze -> done | -- |
/dobbe-test-gen |
Find coverage gaps, generate tests, verify, PR | analyze -> generate -> verify -> commit -> pr -> done | 3x |
/dobbe-changelog-gen |
Git history to categorized release notes | analyze -> done | -- |
/dobbe-migration-plan |
Plan + execute dependency migrations | plan -> apply -> verify -> commit -> pr -> done | 3x |
/dobbe-incident-triage |
Sentry issue triage with AI root cause analysis | fetch -> triage -> done | -- |
Multi-Perspective Reviews
| Command | What it does |
|---|---|
/dobbe-review-as-pm |
Product Manager review -- feature gaps, prioritization, roadmap |
/dobbe-review-as-engineer |
Engineering review -- architecture, code quality, tech debt |
/dobbe-review-as-designer |
Design review -- UX, accessibility, interaction patterns |
/dobbe-review-as-qa |
QA review -- test coverage, edge cases, reliability |
/dobbe-review-as-test-architect |
Test architecture review -- strategy, frameworks, coverage |
/dobbe-review-as-marketing |
Marketing review -- positioning, messaging, go-to-market |
/dobbe-review-as-sales |
Sales review -- competitive positioning, pricing, objections |
/dobbe-project-review |
Run all 7 perspectives + synthesized summary |
Each review pipeline uses gather mode to understand the project interactively, then plan mode for deep analysis.
Metrics & Scanning
| Command | What it does |
|---|---|
/dobbe-metrics-dora |
DORA metrics (deploy frequency, lead time, failure rate, MTTR) |
/dobbe-metrics-velocity |
PR velocity and cycle time metrics |
/dobbe-scan-secrets |
Secrets and credentials scanner |
Utilities
| Command | What it does |
|---|---|
/dobbe-setup |
Interactive configuration wizard |
/dobbe-doctor |
Environment health check |
/dobbe-config |
View and manage configuration |
Works With
| Integration | Used by |
|---|---|
| GitHub (Dependabot, PRs, Actions) | vuln-scan, vuln-resolve, review-, metrics-, changelog-gen |
| Sentry | incident-triage |
| Slack | Notification delivery (configurable channel) |
| npm / pip / bundler / Cargo / Go mod | vuln-resolve, deps-analyze, migration-plan |
| Jest / pytest / Vitest / Go test / RSpec | test-gen (auto-detects framework) |
Auto-detects your framework: Django, Angular, React, Next.js, Express, Flask, FastAPI, Spring Boot, Rails.
Prerequisites
- Claude Code -- installed and authenticated
- Node.js 18+ -- for the MCP server
- gh CLI -- for GitHub API access (
brew install gh) - MCP servers (optional) -- GitHub, Sentry, Slack for enhanced capabilities
Architecture
Why a state machine? LLMs are stateless -- they forget context between tool calls. A state machine ensures every step executes in order, results are validated with Zod schemas before advancing, and retry loops inject the exact error output from the previous attempt. This is control flow, not prompt engineering.
Claude Code (executor)
|
v
dobbe MCP Server (state machine controller)
|
+-- 21 Pipeline definitions
| +-- Each pipeline: states, transitions, Zod schemas, intent/mode/context/hints
| +-- 3 pipelines with retry loops (vuln-resolve, test-gen, migration-plan)
| +-- 7 role-based review pipelines + 1 aggregate project-review
|
+-- State machine engine (generic FSM)
| +-- Zod validation per step
| +-- Retry logic with feedback injection
| +-- Persistent sessions (crash recovery)
|
+-- 14 MCP Tools
| +-- pipeline_start, pipeline_step, pipeline_complete, pipeline_status
| +-- pipeline_list, pipeline_list_sessions, pipeline_abort
| +-- config_read, config_write
| +-- cache_get, cache_set
| +-- session_load, session_save
|
+-- Utilities
+-- Atomic file writes (crash-safe)
+-- Structured logging (JSON + pretty mode)
+-- Framework detection (Django, React, Angular, Express, etc.)
+-- File-based cache with TTL
Built to Ship
- 373 tests with 94% coverage -- every pipeline path is tested
- 21 pipelines with Zod validation at every state transition
- 3 retry pipelines with automatic feedback injection
- Zero global mutable state --
PipelineServiceis fully isolated and testable - Atomic file writes -- crash-safe session persistence via write-to-temp + rename
- CI on Node 18, 20, 22 -- tested across all active LTS versions
<details> <summary><strong>Configuration</strong></summary>
Config is stored in ~/.dobbe/config.toml. Run /dobbe-setup in Claude Code to configure.
[general]
default_org = "acme"
default_format = "table"
default_severity = "critical,high,medium,low"
[notifications]
slack_channel = "#security-alerts"
[timeouts]
scan = 300
resolve = 600
review = 300
Environment variables:
| Variable | Description | Default |
|---|---|---|
DOBBE_HOME |
Override ~/.dobbe directory | ~/.dobbe |
DOBBE_LOG_LEVEL |
debug / info / warn / error |
info |
DOBBE_LOG_FORMAT |
json / pretty |
json |
</details>
Development
git clone https://github.com/nareshnavinash/dobbe-mcp.git
cd dobbe-mcp
npm install
npm test # 373 tests
npm run test:coverage # 94%+ coverage
npm run build
npm run lint
See CONTRIBUTING.md for development guidelines.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.