production-master

production-master

Enables triggering, streaming, and reviewing autonomous production-incident investigations directly from your editor, with human-gated approval for any mutating actions.

Category
Visit Server

README

<p align="center"><img src="assets/banner.svg" alt="production-master" width="600" /></p>

<p align="center"> <a href="https://github.com/ProductionMasterAI/production-master/actions/workflows/ci.yml"><img src="https://github.com/ProductionMasterAI/production-master/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /></a> <a href="https://claude.ai/code"><img src="https://img.shields.io/badge/Claude_Code-plugin-D97757?logo=anthropic&logoColor=white" alt="Claude Code plugin" /></a> <a href="https://github.com/ProductionMasterAI"><img src="https://img.shields.io/badge/author-ProductionMasterAI-181717?logo=github&logoColor=white" alt="Author" /></a> <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-0.1.0-blue" alt="Version" /></a> </p>

<p align="center"> <img src="https://img.shields.io/badge/Claude%20Code-pending-lightgrey" alt="Claude Code: validation pending" /> <img src="https://img.shields.io/badge/Cursor-pending-lightgrey" alt="Cursor: validation pending" /> <img src="https://img.shields.io/badge/Codex-pending-lightgrey" alt="Codex: validation pending" /> <img src="https://img.shields.io/badge/OpenCode-pending-lightgrey" alt="OpenCode: validation pending" /> </p>


Trigger, stream, and review autonomous production-incident investigations without leaving your editor.

Production Master is a thin client for the Production Master hosted service. You point it at an incident, it starts an investigation on the service, and the results stream back into your IDE in real time. When the investigation proposes an action that changes something, you approve or reject it — nothing runs without your sign-off.

The investigation itself runs entirely on the hosted service. This repository is the thin client: it handles device-code login, starts a run, streams live progress, renders the report, and relays your approve/reject decisions. No investigation logic, model provider SDKs, or credentials for the analysis live here.

Features

  • IDE-native investigations — start and follow a run from Claude Code, Cursor, Codex, or OpenCode. No context switch to a separate dashboard.
  • Live streaming — progress, findings, and the final report stream over Server-Sent Events (SSE) as the hosted service works.
  • Human-gated actions — every proposed action that mutates a system is surfaced for explicit approval; you approve or reject before anything happens.
  • Multi-IDE support — one thin client, registered through each editor's native extension mechanism (plugin, MCP config, or config file).

Prerequisites

  • Node.js 22 (see .nvmrc once packages land)
  • An account on the Production Master hosted service — the client authenticates to it via device-code login.
  • One of the supported editors: Claude Code, Cursor, Codex, or OpenCode.

Quick Start

Status: the client packages under packages/ are being populated via PRs. The install steps below describe the registration pattern each IDE uses; the concrete manifest for your editor lands with those PRs. See CHANGELOG.

Across every editor the flow is the same: register the client → log in with a device code → start an investigation.

Claude Code

Install as a plugin, then log in:

/plugin install production-master
/login

Cursor

Register the client as an MCP server in .cursor/mcp.json:

{
  "mcpServers": {
    "production-master": {
      "command": "npx",
      "args": ["-y", "@production-master/client"]
    }
  }
}

Codex

Register the client in .codex/config.toml:

[mcp_servers.production-master]
command = "npx"
args = ["-y", "@production-master/client"]

OpenCode

Register the client in opencode.json:

{
  "mcp": {
    "production-master": {
      "command": ["npx", "-y", "@production-master/client"]
    }
  }
}

After registering, run the login command to authenticate against the hosted service, then start your first investigation. Full walkthrough: docs/user/quick-start.md.

Architecture

The client is a thin transport-and-render layer. All investigation logic lives on the hosted service; the client talks to it over HTTPS (control) and SSE (streaming).

flowchart LR
    subgraph IDE["Your IDE"]
        C["production-master<br/>thin client"]
    end
    S["Production Master<br/>hosted service"]

    C -- "device-code login (HTTPS)" --> S
    C -- "start / approve / reject (HTTPS)" --> S
    S -- "live progress + report (SSE)" --> C

The client owns four concerns: auth (device-code login + token storage), MCP transport (exposing thin-client commands to the editor), streaming (consuming SSE and rendering progress), and render adapters (per-IDE presentation). It owns none of the analysis. See docs/engineering/architecture/overview.md.

Documentation

Doc Purpose
Quick Start Install, log in, run your first investigation
Usage Common workflows — start, connect, approve/reject
Commands Thin-client command reference
Troubleshooting Auth, service URL, and MCP registration issues
Architecture Thin-client components and data flow
ADR-001 Thin client over hosted service
Contributing How to contribute
Changelog Release history

License

MIT — see LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured