{"slug": "show-hn-dmx-mcp-server-for-adding-configurable-gated-loops-to-coding-agents", "title": "Show HN: dmx – MCP server for adding configurable, gated loops to coding agents", "summary": "DeepModel AI released dmx, an open-source MCP server that adds configurable, gated loops to coding agents in Cursor, Claude Code, and Copilot, implementing a five-phase AI SDLC framework with human approval gates at each phase. The tool, available via uvx, provides validators, a memory bank, and persistent job state to enforce structured workflows.", "body_md": "# What is dmx?\n\n**dmx** is an open source AI-native engineering harness. It runs as an MCP server inside Cursor, Claude Code, Copilot, or any IDE that speaks the Model Context Protocol, and wraps your AI workflows in structured, verifiable loops.\n\nIf you've used AI to write code, you've noticed the problem. The model is fast and often impressive, but the output is inconsistent. Quality depends on how you prompted, whether you remembered to run tests, whether the spec was clear before the first line of code was written. There's no structure. There's just you and the model and whatever happened to work that day.\n\ndmx fixes the process, not the model. It doesn't make the AI smarter. It makes the workflow reliable.\n\n## The core idea\n\ndmx implements the [AI SDLC framework](https://github.com/deepmodel-ai/ai-sdlc), a five-phase workflow with explicit human control points:\n\n| Phase | What happens | Human gate |\n|---|---|---|\nSpec | AI drafts a spec, surfaces ambiguity, asks questions | You answer Q&A and approve |\nPlan | AI generates a phased implementation plan | You review and approve |\nBuild | AI implements one phase at a time and stops | You review and commit each phase |\nValidate | Automated quality gate checks spec adherence and tests | You review and approve PR |\nRelease | AI tags and publishes the release | You confirm |\n\nThe model does not merge. It does not advance the workflow. It does not decide when the work is done. You own every gate.\n\n## What dmx gives you\n\n**Loops.** Each phase is a named, versioned loop: an ordered sequence of skills that run, trigger validators, and wait for your approval before advancing. Loop configs live in your repo, versioned alongside code, reviewed in PRs.\n\n**Validators.** At every loop boundary, dmx runs validators against a defined policy. Required checks block progress. Optional checks warn. You control what passes.\n\n**A memory bank.** The `.dmx/`\n\ndirectory is committed to your repo. Every session starts with full project context: the spec, the plan, decisions made, patterns established. You stop re-explaining the project to the AI every time.\n\n**Persistent job state.** Every loop run is a tracked job with a task ID. State persists across sessions. Close the IDE and pick up tomorrow exactly where you left off.\n\n## Why dmx if you already use Claude Code or Cursor?\n\nClaude Code and Cursor are execution engines. They are excellent at running fast. What they don't have is structure: no ordered phases, no mandatory human gate before the next step fires, no validators that block progress on a failed test, no record of what was verified.\n\nFaster execution of an unstructured process is still an unstructured process.\n\ndmx adds the governance layer those tools don't provide:\n\n**Workflow sequencing:** phases run in order. The AI cannot skip from Build to Release without passing through Validate.**Human gates:** the loop pauses at every phase boundary and waits for your approval, not the AI's judgment.**Validators with policy:** required checks block; optional checks warn. The policy is explicit and version-controlled.**Persistent job state:** every loop run, validator result, and gate approval is recorded in`.dmx/`\n\nand readable by anyone on the team.**Progressive trust:** relax a loop's human gate once its job history shows its validators passing consistently for a given kind of task — a deliberate call you make, not something dmx decides for you.\n\n## How it fits with your tools\n\ndmx is not an alternative to Claude Code, Cursor, or Copilot. It governs what they do. The AI IDE executes skills; dmx defines the sequence, enforces the gates, and runs the validators.\n\nPoint your IDE at dmx as an MCP server, and your existing AI tools get a structured workflow on top.\n\n## Get started\n\nThere's no separate install step — add dmx to your IDE's MCP config, and `uvx`\n\nfetches and runs it on demand:\n\n```\n{  \"mcpServers\": {    \"dmx\": {      \"command\": \"uvx\",      \"args\": [\"--from\", \"deepmodel-dmx\", \"dmx\", \"serve\"]    }  }}\n```\n\nSee [MCP Setup](/mcp-setup) for IDE-specific config file locations, then follow the [Quick Start](/quick-start) to run your first loop.", "url": "https://wpnews.pro/news/show-hn-dmx-mcp-server-for-adding-configurable-gated-loops-to-coding-agents", "canonical_source": "https://dmx.deepmodel.ai/", "published_at": "2026-08-28 14:00:29+00:00", "updated_at": "2026-08-28 14:18:31.650476+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "developer-tools", "mlops"], "entities": ["DeepModel AI", "dmx", "Cursor", "Claude Code", "Copilot", "MCP"], "alternates": {"html": "https://wpnews.pro/news/show-hn-dmx-mcp-server-for-adding-configurable-gated-loops-to-coding-agents", "markdown": "https://wpnews.pro/news/show-hn-dmx-mcp-server-for-adding-configurable-gated-loops-to-coding-agents.md", "text": "https://wpnews.pro/news/show-hn-dmx-mcp-server-for-adding-configurable-gated-loops-to-coding-agents.txt", "jsonld": "https://wpnews.pro/news/show-hn-dmx-mcp-server-for-adding-configurable-gated-loops-to-coding-agents.jsonld"}}