Patchwork Os logo

Patchwork Os

Local-first MCP runtime with YAML recipes, approval gates, connectors, worker policies, and durable decision traces.

Install Patchwork Os

Run the project’s own setup commands, in order.

Setup steps from the project

patchwork-os installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install -g patchwork-os@beta
    
  2. 2. Configure
    patchwork-os init
    
  3. 3. Install
    git clone https://github.com/Oolab-labs/patchwork-os && cd patchwork-os/dashboard
    
  4. 4. Configure
    patchwork-os init --with-connectors   # seeds the connector-backed recipes
    
  5. 5. Start the server
    patchwork start        # bridge + Claude + dashboard
    
  6. 6. Install
    npm install -g patchwork-os
    

Overview

patchwork-os provides a local-first runtime for connecting AI agents to editors, GitHub, Slack, Gmail, and other services through MCP tools. YAML recipes and named workers can automate tasks while policy controls classify actions, pause risky operations for approval, and record decisions in durable traces. Use it when an agent needs to act on real systems but you want configurable oversight, replayable receipts, and a local execution layer. It also includes an IDE bridge with 180 MCP tools for editor, terminal, Git, GitHub, file, debugging, and language-server workflows.

Use cases

  • Run local YAML recipes for recurring developer workflows
  • Require approval before agents perform risky writes
  • Connect daily briefs to email, calendars, GitHub, and Linear
  • Inspect why an agent action was allowed and how it ended
  • Give Claude Code editor and repository tools through an IDE bridge

Key features

  • YAML recipes and named workers
  • Risk-based approval queue
  • Durable decision and execution traces
  • Connectors for 45+ services
  • 180-tool IDE bridge
  • Local kill switch for write operations

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

6/6 checks healthy over the last 21d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars33Stargazers on the source repository.
Last commit9d agoMost recent push to the default branch.

How Patchwork Os works

What patchwork-os does

patchwork-os places a local policy and execution layer between an AI agent and the systems it can modify. It supports YAML recipes, named workers, service connectors, an approval queue, and durable records of actions and decisions. The runtime can work with editors, GitHub, Slack, Gmail, and more than 45 services, while keeping configuration and generated files under the local ~/.patchwork directory.

The decision layer evaluates action risk based on factors such as reversibility and potential impact. Depending on the active profile and gate settings, reversible operations can proceed automatically, while higher-risk or non-reversible writes can pause for approval. Policies can also refuse an action outright; approval cannot override a forbidden operation.

How it works

A typical execution follows a trigger, recipe or worker, tool call, and receipt. Automated triggers include cron, webhooks, file watches, and Git hooks. When approval is required, the queue records what will run, why it was selected, and the possible consequence before the operation proceeds. Approved calls and their outcomes remain available through patchwork judgments, the dashboard traces page, and patchwork gate explain.

Workers begin under supervision and can earn autonomy separately for different action types based on their history. The configured ceiling remains authoritative. In the governed profile, worker recipe steps are contained to read-only tools without network or shell access, and recipe plugins must be explicitly allowed. patchwork panic blocks write-tier tool calls across running bridges while leaving reads available.

Setup and configuration

Install the package globally with Node.js 22.5 or newer on macOS, Linux, or native Windows. The documented installation uses npm and then patchwork-os init; npx is unsuitable because it does not leave the command installed for subsequent commands.

init creates the local Patchwork directory, seeds local recipes, and registers a Claude Code PreToolUse hook. Claude Code must be restarted after initialization so it reads the hook. A new initialization creates the governed profile. Existing configurations retain their profile, while starting a bridge without a configuration uses the compatibility profile. Run patchwork doctor to inspect the active enforcement settings.

The optional dashboard is built separately from the repository and runs at port 3200. The CLI can operate without it. Connectors are added with commands such as patchwork connect gmail, patchwork connect google-calendar, patchwork connect github, and patchwork connect linear.

Tools and capabilities

  • Run and inspect YAML recipes with patchwork recipe run, recipe list, recipe doctor, and recipe preflight.
  • Start the bridge and runtime with patchwork start or run against a workspace directly.
  • Manage approvals and explain recorded decisions through the CLI and dashboard.
  • Connect workflows to Gmail, Google Calendar, GitHub, Linear, and other supported services.
  • Use the IDE bridge for diagnostics, LSP navigation, refactoring analysis, debugging, terminal access, Git and GitHub operations, and file management.
  • Install the IDE extension for VS Code, Cursor, Windsurf, or Antigravity.

Limitations and notes

The safety behavior depends on the profile and gate configuration. A compatibility-profile installation may run risky actions without approval unless an approval threshold is enabled, and its recipe plugins load in-process without an allowlist. Governed installations provide stricter defaults, but configuration still determines the enforced behavior.

Recipes that use a model require a working driver, such as the Claude CLI with --driver subprocess or an API key. patchwork start expects the Claude CLI on the system path unless configured to avoid that launch path. The connected Morning Brief example requires all four of its listed connectors unless its steps are changed.

The dashboard is not included in the npm package and must be built from the repository. Interfaces may change between minor releases, so applications built on the package should pin an exact version.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Patchwork Os

patchwork-os is an MCP server that connects AI agents to editors, GitHub, Slack, Gmail, and more than 45 services. Its main tools cover diagnostics, code navigation, refactoring, debugging, terminal, Git, GitHub, file operations, YAML recipes, approvals, and durable decision traces.

Install it globally with npm, then run `patchwork-os init`. Node.js 22.5 or newer is required, and supported platforms are macOS, Linux, and native Windows. Restart Claude Code after initialization so it loads the registered PreToolUse hook.

Yes, patchwork-os supports Cursor through its IDE extension. Install the extension with `claude-ide-bridge install-extension`, then run the bridge for the target workspace. The same extension flow also names VS Code, Windsurf, and Antigravity.

Enable the governed profile or configure an approval threshold so higher-risk operations enter the approval queue before execution. The queue shows the planned call and its rationale, and approved actions plus their outcomes are retained in decision traces.

Yes, the CLI and bridge work without the dashboard. Run recipes directly or use `patchwork start --no-dashboard`; the dashboard is a separate Next.js application that must be built from the repository.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPatchwork Os AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/patchwork-os?style=directory)](https://allmcps.com/mcp/patchwork-os)
HTML Embed
<a href="https://allmcps.com/mcp/patchwork-os"><img src="https://allmcps.com/api/badge/patchwork-os?style=directory" alt="Patchwork Os on AllMCPs" /></a>