BranchWire
Provides a HubSpot adapter so agents can simulate and compare HubSpot write workflows (Best-of-N) with no production side effects, review a deterministic plan diff, and materialize only approved plans via the saga executor.
Provides a SQLite branch adapter (backed by a node:sqlite WAL storage driver) that lets agents stage and simulate database writes in shadow branches before committing approved plans.
Provides a Stripe adapter so agents can dry-run and stage Stripe write operations in isolated branches, diff the resulting transactional plan, and commit approved changes through a durable saga executor with idempotency keys and compensation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
BranchWire
MCP Dry-Run & Transactional Staging Gateway (Plan-Verify-Commit with Sagas)
BranchWire is a Stateless MCP (2026-07-28) HTTP gateway that lets AI agents explore, simulate, and compare multi-tool write workflows (Best-of-N) with zero production side effects, audit a deterministic Transactional Plan Diff, and materialize only approved plans via a durable Saga Executor with idempotency keys and automatic compensation.
Architecture
packages/
├── manifest/ @branchwire/manifest x-branchwire tool manifest schema & template contract
├── core/ @branchwire/core Branches, SnapshotReadCache, ShadowOverlay, $ref, RYOW
├── storage-sqlite/ @branchwire/storage-sqlite node:sqlite WAL StorageDriver + SQL migrations
├── planner/ @branchwire/planner DAG compiler, write collapsing, Transactional Plan Diff
├── policy/ @branchwire/policy Deterministic policy engine + Decision Model gate
├── saga/ @branchwire/saga Durable Saga executor, idempotency & compensation
├── gateway/ @branchwire/gateway Stateless MCP Hono HTTP gateway & Branch REST API
├── sdk/ @branchwire/sdk TypeScript client for agents
└── adapters/ sqlite-branch, neon-branch, stripe, hubspot
apps/
├── inspector/ Branch & Diff Inspector UI
├── agent-harness/ Gemini agent & Best-of-N evaluation harness
└── docs/ Documentation siteRelated MCP server: enterprise-agent-lab
Prerequisites
Node.js
>= 24.0.0(developed and verified on Node26.13.1Active LTS; see.node-version)pnpm
12.21.0
Quick Commands
pnpm install
pnpm turbo run lint typecheck test build
pnpm check:deps
pnpm check:secretsDocumentation & ADRs
ADR-0001: Technology Stack, Pinned Versions, and Free-Tier Verification
ADR-0002: Stateless MCP (2026-07-28) Transport & SDK Strategy
License
Licensed under the Apache License 2.0.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Build, test and publish agentic workflows from your AI client: approve steps, read tables, see runs.
Workflow planning, recovery checkpoints, coordination, fixtures, and compatibility tools for agents.
Governed autonomous-agent platform: HITL approvals, budget gates, audit chain, effect ledger.
Runtime permission, approval, and audit layer for AI agent tool execution.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceSafe, reversible tool execution for AI agents. It sits between an agent and its tool servers, adding contracts, dry-run planning, policy, approvals, saga execution, and rewind.MIT
- FlicenseNot gradedqualityCmaintenanceEnables controlled AI-agent access to enterprise-shaped tools with a deny-by-default gated write path, human approval, dry-run execution, and append-only audit logging.1-
- AlicenseBqualityBmaintenanceEnables agentic workflows to execute allow-listed side effects with automatic reverse-order compensation on failure, durable SQLite journaling, and idempotent rollback via MCP tools.181MIT
- AlicenseAqualityBmaintenanceEnables AI agents to gate real-world side effects through a durable decision record, ensuring at-most-once initiation, deduplication, budget enforcement, and auditable outcomes across retries and failures.15Apache 2.0