Loop Engineering MCP Server

by cobusgreyling• 12k•• Scanned•Claim this listing•Request removal
Developer Toolsagentic aiai agentsai codinganthropicautomation

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

Loop Engineering is an open-source mcp server by cobusgreyling, written mainly in TypeScript, with 11,676 GitHub stars and the MIT license. Its code was last updated Nov 1, 2026. The latest npm release is @cobusgreyling/loop 0.2.0, published Aug 28, 2026, with 133 downloads last week.

Loop Engineering

<p align="center"> <a href="https://cobusgreyling.github.io/loop-engineering/"><img src="https://img.shields.io/badge/✨_Showcase-live-3ee8c5?style=for-the-badge&labelColor=111a28" alt="Showcase" /></a> <a href="https://github.com/cobusgreyling/loop-engineering/stargazers"><img src="https://img.shields.io/github/stars/cobusgreyling/loop-engineering?style=social" alt="GitHub stars"></a> <a href="https://www.npmjs.com/package/@cobusgreyling/loop"><img src="https://img.shields.io/npm/v/@cobusgreyling/loop?label=loop" alt="loop npm"></a> <a href="https://raw.githubusercontent.com/cobusgreyling/loop-engineering/main/docs/last-run.json"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/cobusgreyling/loop-engineering/main/docs/last-run.json" alt="last triage"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT"></a> </p> <p align="center"> <a href="https://cobusgreyling.github.io/loop-engineering/"> <img src="https://cdn.jsdelivr.net/gh/cobusgreyling/loop-engineering@main/assets/visuals/loop-engineering-logo.svg" alt="Loop Engineering logo" width="72" /> </a> </p>

Stop prompting. Design the loop. Get a score.

<p align="center"> <img src="https://cdn.jsdelivr.net/gh/cobusgreyling/loop-engineering@main/assets/visuals/LE5.jpeg" alt="Loop Engineering — design the system that prompts your agents" width="100%" /> </p> <p align="center"><strong>Start in 5 minutes</strong> · <a href="docs/QUICKSTART.md">Quickstart</a> · <a href="docs/jobs.md">What do you want to do?</a> · <a href="docs/refactor.md">Refactor path</a> · <a href="README.zh-CN.md">中文</a> · <a href="https://cobusgreyling.github.io/loop-engineering/#interactive">Pattern picker</a> </p>
npx @cobusgreyling/loop init . --pattern daily-triage --tool claude
npx @cobusgreyling/loop doctor .

--tool defaults to claude if you omit it. Swap for grok, codex, or opencode. Week one is report-only.

<p align="center"> <a href="docs/QUICKSTART.md"> <img src="https://cdn.jsdelivr.net/gh/cobusgreyling/loop-engineering@main/assets/visuals/loop-audit-demo.gif" alt="Loop Ready score climbing" width="100%" /> </a> </p>

You design a system that discovers work, hands it to agents, verifies results, and persists state — instead of typing the next prompt yourself.

New here? Quickstart · Refactor a project · Thin GitHub Action loop (no STATE.md required)

What do you want to do?

This is a pattern library for operating agents around a codebase. It is not a “rewrite the module” button.

I want to…Start here
Keep the repo healthy (issues, CI, deps)Quickstart → daily-triage
Land and babysit PRsPR Babysitter
Run a loop in GitHub Actions with almost no filesThin loop
Ship a feature or refactor (todos → small PRs)Refactor / change path

Full jobs table: docs/jobs.md.

Patterns

PatternCadenceWeek 1Cost
Daily Triage1d–2hL1 reportLow
Thin loopevent + 1dL1 snapshotVery low
PR Babysitter5–15mL1 watchHigh
CI Sweeper5–15mL2 cautiousVery high
Dependency Sweeper6h–1dL2 patch-onlyMedium
Changelog Drafter1d or tagL1 draftLow
Post-Merge Cleanup1d–6hL1 off-peakLow
Issue Triage2h–1dL1 propose-onlyLow

Interactive picker: showcase. Index: patterns/registry.yaml.

Getting started

npx @cobusgreyling/loop init . --pattern daily-triage --tool claude
npx @cobusgreyling/loop doctor .
npx @cobusgreyling/loop cost --pattern daily-triage --level L1

Empty repo → first STATE.md walkthrough: scripts/empty-to-state-demo.sh.

Roll out L1 report → L2 assisted → L3 unattended only after the verifier has been right for a week. See loop-design-checklist.

Loop Ready now weights recent runs harder than files on disk. A 30-day-old STATE.md is not L3.

Examples by tool

Claude Code (including the plugin) · Grok · Codex · OpenClaw · Opencode · GitHub Actions

Operating & safety

Failure modes · Anti-patterns · Safety · Operating loops · Stories (wins and failures)

Loop engineering amplifies judgment. Token costs can explode. Unattended loops make unattended mistakes. Read what the loop ships.

Help wanted

Docs and small PRs: first response within 48 hours.

See CONTRIBUTING.md.

<details> <summary>CLI packages and companion repos (optional — not required for week one)</summary>

Unified front door: npx @cobusgreyling/loop (init · doctor · status · audit · cost). Older packages (loop-init, loop-audit, …) stay supported.

Companions exist for later: memory-engineering, harness-foundry, outerloop, fleet-engineering, goal-engineering. Do not add them until a loop has actually run.

</details>

Sources

License

MIT

Loop Engineering alternatives

View more →

Similar mcp servers in Developer Tools, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Loop Engineering (this page)
cobusgreyling
12kMITNov 1, 2026Scanned, no flagged issues
MCP Use
mcp-use
11kMITOct 30, 2026Scanned, no flagged issues
MobileBuildMCP
getsentry
6.5kMITNov 1, 2026Scanned, no flagged issues
Gemini Notebook MCP CLI
jacob-bd
6.4kMITOct 27, 2026Scanned, no flagged issues
Mcporter
openclaw
5.1kMITOct 27, 2026Scanned, no flagged issues
Flint Chart
microsoft
4.5kMITNov 1, 2026Scanned, no flagged issues