Back to Browse

Dev Workflow MCP Server

ProductivityModerate7.1MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server to enforce development workflow discipline

About

MCP server to enforce development workflow discipline

Security Report

7.1
Moderate7.1Low Risk

Valid MCP server (1 strong, 1 medium validity signals). 5 known CVEs in dependencies (0 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.

6 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "dev-workflow-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@programinglive/dev-workflow-mcp-server@1.8.1"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

DevWorkflow — Governed AI Development for Any Coding Agent

npm version GitHub release License: MIT

Let agents write code. Make every change accountable.
Local-first, MIT-licensed, zero external accounts required.


What Is DevWorkflow?

DevWorkflow (@programinglive/dev-workflow) is a local-first MCP server and CLI that gives AI coding agents (Claude Code, Codex, OpenCode, Antigravity, or any MCP-compatible client) structured engineering discipline:

Install → Connect AI Client → Start Task → Design Flow → Implement → Test → Audit & Document → Commit → Release
  • Free & Local-First: Persists task contracts, checkpoints, and evidence in local SQLite WAL. Works completely offline.
  • No Mandatory Cloud Services: You do not need Zettly, an Android tablet, Tailscale, or any ProgramingLive infrastructure to use DevWorkflow.
  • Progressive Optional Integrations: Add Zettly planning sync, the DevWorkflow Android Companion, or team fleet governance later only if you want them.
  • Interactive Guides: Walk through the 10-Step How to Use Guide or explore 13 Real-World Use Cases.

Key Benefits

  • Prevents Hallucination & Scope Creep: Enforces explicit Task Contracts (plan, definitionOfDone, and Mermaid flow gates) before implementation.
  • Worktree & Session Isolation: Prevents concurrent AI sessions from overwriting each other's files, and automatically checks active session claims (locally and via the optional DevWorkflow Monitor /api/sessions) during start_task, list_sentry_issues, get_sentry_issue, inventory_sentry_issues, and checkSentryPreemption so two AI sessions never claim or duplicate the same issue (forceClaim: true overrides when intentionally taking over).
  • Empirical Quality Gates: Requires real test runs, documentation updates, and clean Git state before commit_and_push.
  • Release Discipline (v3.3.0): every source change is versioned, tagged and synchronized across GitHub, npm and the public website.
  • Automatic Code Audit & Safe Fixes (v3.1.3 — 65 Canonical Tools): Built-in canonical audit, analyze_change, plan_fix, and apply_safe_fix MCP tools detect security, database, architecture, quality, bug-fix knowledge (category: "bugfix_knowledge"), and open-source release documentation drift (category: "release_docs"), and apply bounded AF-0/AF-1 autofixes with automatic snapshot rollback.
  • Persistent Code Memory & Debugging Context (v3.1.3): Canonical code_index and code_context MCP tools integrate with Zettly Code to maintain an incremental SQLite code knowledge graph, enforce mandatory @zettly-code bug-fix knowledge comments, and automatically dual-sync graph snapshots to Zettly Engineering Control Center (/api/v1/engineering/code-graph/sync) and PocketBase (zettly_code_graphs) when connected. See docs/guides/zettly-code-integration.md.
  • Strict Secret Isolation: DEV_WORKFLOW_SECURITY_MODE=strict blocks raw secret writes and scrubs sensitive tokens from outputs.

Requirements

  • Node.js: >=20.0.0 (Windows, macOS, Linux)
  • Git: >=2.30
  • AI Client: Any MCP-compatible coding client (or standalone CLI usage via devwf)

Quick Start (Standalone Local-First)

Install globally from npm:

npm install -g @programinglive/dev-workflow
devwf setup
devwf doctor

npm 11+ / 12: lifecycle scripts are blocked by default. SQLite storage needs the native better-sqlite3 binding, so allow its build script once for all future global installs (keep any entries you already have):

npm config set allow-scripts "@github/keytar,@programinglive/dev-workflow,better-sqlite3" --location=user

If a previous install was made with scripts blocked, repair it with:

npm install -g --allow-scripts=@programinglive/dev-workflow,better-sqlite3 @programinglive/dev-workflow

devwf doctor must report Storage Engine: better-sqlite3 (OK). Without the binding, every MCP tool call fails with a sanitized diagnostic.

That's it. DevWorkflow initializes in LOCAL_FIRST_STANDALONE mode with zero network calls and zero external accounts.

For non-interactive / CI setups or contributing from source, see docs/getting-started/installation.md.


Choose a Tool Profile

Every MCP session pays for the tool catalog it receives. DevWorkflow can register a smaller catalog without changing what the workflow enforces: the same gates, the same evidence requirements, the same handler code. Only the visible tool list changes.

devwf setup --profile core    # or standard, full
devwf doctor                  # shows the active profile, tool count and estimated prompt budget
ProfileToolsPrompt budget (estimate)Choose it when
core18~4.3k-5.8k tokens (about 72% smaller)You only need the task lifecycle: start → flow → fix → test → document → ready → commit → release → complete. The strictest profile: no waiver, force-complete, handoff or Sentry tools.
standard30~7.2k-9.7k tokens (about 52% smaller)You also want audit/autofix, code memory (code_index, code_context), release locking, deployment recording and project discovery.
full66~15.2k-20.2k tokensEverything, including waivers, forced completion, focus tools, handoff, Sentry and session tooling. Default.

Token figures are labelled estimates (tools plus server instructions, about three characters per token), not measurements — read them as relative cost, not exact billing.

Token cost

devwf tools --tokens prints the measured character and estimated token cost for each profile. devwf doctor uses the same numbers. get_workflow_status ends with one server-side line such as:

Context cost (estimate): profile=core, 18 tools, catalog ~3.7k-4.9k tokens; responses this session ~X-Y tokens over N calls; top: a, b, c

The server measures only its own contribution: the active tools/list catalog, its instruction text, and the characters of tool responses in this process. It cannot see the client's system prompt, the total session context, or model output; those are known only to the client. Every figure is a chars/4 to chars/3 estimate range, never a token-meter reading. Set DEVWF_TOKEN_METER=0 to remove the status line; no tool or parameter is added.

  • Selection order: DEVWF_TOOL_PROFILE environment variable, then the toolProfile recorded by devwf setup --profile in ~/.devworkflow/profile.json, then full.
  • An unknown or empty value falls back to full, so a typo can never lock a session out of its tools.
  • Calling a tool that the active profile hides is refused with a message naming the profile and how to switch, instead of a confusing "unknown tool".
  • Guidance adapts: instructions and error messages never tell you to call a tool your profile does not expose.
  • Profiles never weaken a gate. core simply has no waiver tools, so the smallest profile is also the strictest one.
  • Restart the MCP server after changing the profile; clients cache tools/list for the life of the process.

Optional Sentry Preemption Gate

The gate is off by default. Enable it only when one Sentry project must take priority over unrelated work:

export DEVWF_PREEMPTION_ENABLED=1
export DEVWF_PREEMPTION_SENTRY_PROJECT=payments
export DEVWF_PREEMPTION_QUERY='is:unresolved project:payments'
export DEVWF_PREEMPTION_PROJECT_DIR_MARKERS='/work/payments-service'

DEVWF_PREEMPTION_PROJECT_DIR_MARKERS is a comma-separated list of path fragments identifying the project directory that is allowed to continue while its issues are open. With the gate enabled, a start_task for any other directory is refused while matching unresolved issues exist. If Sentry is unavailable, times out, or the configuration is incomplete, the gate fails closed. allowPreemptionOverride: true remains the emergency bypass; the former override name is a deprecated alias and prints a warning. Previous releases enabled this gate unconditionally for a single project — to restore that behavior, set the four variables above.

Sentry status changes are explicit: set_sentry_issue_status { issue, status, reason, confirm: true } is a full-profile-only mutation tool. complete_task never changes a Sentry issue unless resolveSentry: true or DEVWF_SENTRY_AUTORESOLVE=1 is set, and it always reports the issue id, new status and result. The mutation actions on link_sentry_issue remain deprecated aliases with a warning.

Migrating from the previous default (breaking behavior): set all four DEVWF_PREEMPTION_* variables above to restore the always-on gate, and set DEVWF_SENTRY_AUTORESOLVE=1 (or pass resolveSentry: true) to restore automatic issue resolution. The full profile now exposes 66 tools; core and standard are unchanged.


Telemetry and privacy

code_index can send a code-graph snapshot to external services. The snapshot contains the project slug, repository full name, branch, revision, machine hostname, index statistics, @zettly-code annotations and bug-fix records (src/zettly-code-adapter.js:251-263). It does not contain full source files. The snapshot is built only after a successful initialize or update run, unless skipTelemetrySync is passed (src/zettly-code-adapter.js:397-405).

When enabled, data is posted to <Zettly base>/api/v1/engineering/code-graph/sync with a bearer token (src/zettly-code-adapter.js:281-305) and to the zettly_code_graphs collection through the configured central gateway (src/zettly-code-adapter.js:313-317, :356-372). Nothing is sent if no Zettly URL/token and no gateway URL are configured; the hosts come from configuration or local client configs (src/zettly-code-adapter.js:150-174), not from a hardcoded address.

Opt out in any of three ways: set DEVWF_ZETTLY_SYNC=0 (zettly-client.js:9-13), pass skipTelemetrySync: true to code_index, or simply do not configure Zettly credentials or a gateway. Telemetry failures are best-effort and never block local indexing (src/zettly-code-adapter.js:406-408).


Connect an AI Coding Client

Choose your MCP client guide:

After connecting, walk through your first governed task in docs/getting-started/first-task.md.


Capability Layers (Core vs Optional)

LayerCapabilitiesRequired?
Layer 1 — CoreLocal-first MCP server, CLI (devwf), Task Contracts, SQLite WAL state, TDD/doc/commit gates, Code Audit EngineYes (Included)
Layer 2 — AI ClientsClaude Code, Codex, OpenCode, Antigravity, generic MCP stdio clientsChoose yours
Layer 3 — Optional IntegrationsPer-user Zettly sync (devwf zettly connect), DevWorkflow Android Companion (devwf pair), Sentry linking, auto-resolution & P0 ERP Sentry preemption (link_sentry_issue, complete_task, start_task)Optional
Layer 4 — Team / FleetCentral Monitor dashboard, devwf fleet doctor, managed multi-device rolloutsOptional

Optional Integrations

Optional Zettly Integration

Connect your own Zettly instance for Eisenhower prioritization, Focus tracking, and Engineering Retrospectives:

devwf zettly connect --url https://your-zettly-instance.example
devwf zettly status
devwf zettly disconnect --confirm
  • Per-user credentials only (never stored in shell history; uses interactive prompt, --token-stdin, or ZETTLY_API_TOKEN).
  • Disconnecting preserves all local SQLite history and leaves remote Todos untouched.

Optional Android Companion

DevWorkflow Android Companion is an optional remote engineering cockpit for supported Android devices (adaptive layouts for phones and tablets; landscape desk cockpit tested on Xiaomi Pad 6). See docs/integrations/android-companion.md.


MCP Tools, CLI Commands & Engineering Standards

  • Live Reference & Tool Explorer: https://devworkflow.programinglive.com/
  • CLI Subcommands & Scripting Contracts (devwf --help):
    • Core & Optional Commands: devwf setup, devwf doctor, devwf zettly, devwf pair, devwf governance, devwf audit, devwf fleet, devwf identity, devwf checkpoint, devwf list, devwf close, devwf share, devwf drop, devwf complete.
    • Operational rules: --session is mandatory for mutating session commands; --dry-run prints planned changes without writing; No process is ever signalled by the CLI; Exit code 0 means it really happened (exit code 1 on refusal or failure). Monitor commands optionally use DEVWF_MONITOR_URL and DEVWF_MONITOR_TOKEN.
  • Cross-Machine Handoff Contracts: checkpoint_task, fetch_task, handoff_task, and acknowledge_handover coordinate safe handoffs across workstations. A handoff requires an explicit reason, the returning machine must call acknowledge_handover, and reverts are recorded — never executed automatically.
  • Monitor Hygiene: Junk sessions are not recorded — a monitor card requires both a task and a project (monitor-server/cleanup-empty-sessions.cjs cleans up legacy empty rows).
  • Optional Zettly Tags for Zettelkasten Relations: When Zettly sync is enabled, tasks can be tagged across four axes (proyek:, tipe:, area:, sumber:) scoped per owner. The tag API returns top-level { tags } / deletedTags and HTTP 409 when a tag already exists. Maintenance commands zettly:backfill-tags --dry-run and zettly:normalise-tags migrate legacy tags safely (legacy tags are deleted only after every record has been moved to the canonical axis tag).
  • Engineering Standards & Autofix: DevWorkflow ships built-in standards (ZET-ARCH, ZET-CODE, ZET-SEC, ZET-TEST, ZET-API, ZET-DB, ZET-DOC, ZET-REL) plus canonical audit (category: 'code'|'changes'|'repository'|'architecture'|'security'|'tests'|'api'|'database'|'standards'|'catalog'), analyze_change, plan_fix, and apply_safe_fix (AF-0/AF-1 deterministic fixes with snapshot rollback; protected governance paths are strictly blocked as AF-3).

Privacy & Security

  • DEV_WORKFLOW_SECURITY_MODE=strict is always enforced: raw credentials are rejected on write and redacted on output.
  • Describe credential locations using SecretReference metadata (env://VAR, op://..., vault://..., gcp-secret://...) — DevWorkflow never reads or resolves your secrets.
  • Audit your workspace anytime with npm run security:audit or MCP security_audit.
  • See docs/security-audit.md and docs/security-verification.md.

Troubleshooting & Documentation


Contributing & License

Contributions are welcome — see CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md.
Licensed under the MIT License.

Reviews

No reviews yet

Be the first to review this server!