production-master-mcp

production-master-mcp

MCP server for the Production Master incident-investigation service, enabling any MCP client to drive investigations via tool calls with pass-through authentication.

Category
访问服务器

README

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

<p align="center"> <a href="https://github.com/ProductionMasterAI/production-master-mcp/actions/workflows/ci.yml"><img src="https://github.com/ProductionMasterAI/production-master-mcp/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-compatible-D97757?logo=anthropic&logoColor=white" alt="Claude Code compatible" /></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>


The standard MCP server for the Production Master hosted incident-investigation service — connect any MCP client and drive investigations as tool calls.

production-master-mcp speaks the Model Context Protocol. It exposes the Production Master tool set to any MCP-capable client — Claude Code, Cursor, Codex, OpenCode, or anything else that speaks MCP — and relays each tool call to the hosted service. The intelligence runs on the service; this server is the protocol front door in front of it.

Authentication is pass-through: the client supplies an Authorization: Bearer <token> header, the server forwards it opaquely to the hosted service, and it stores no credentials of its own. Tool input/output schemas come from the shared npm package @production-master/mcp-tool-contract (publication pending), so every client sees the same, versioned tool surface.

Features

  • Standard MCP, any client — one server, reachable from Claude Code, Cursor, Codex, OpenCode, or any MCP-capable client. No per-editor fork.
  • Two transports — Streamable HTTP (POST /mcp) for hosted/remote use, and stdio for running locally next to your client.
  • Pass-through auth — the caller's bearer token is forwarded opaquely upstream and never stored, logged, or persisted by the server.
  • Contract-driven tools — tool schemas are published in @production-master/mcp-tool-contract, keeping the tool surface stable and versioned across clients.

Prerequisites

  • Node.js 22 (see .nvmrc once packages land)
  • Access to the Production Master hosted service — the server forwards your bearer token to it; you supply that token from your MCP client.
  • An MCP-capable client: Claude Code, Cursor, Codex, OpenCode, or any client speaking MCP.

Quick Start

Status: the server packages under packages/ are being populated via PRs. The connection patterns below describe how a client registers an MCP server over each transport; the concrete package name and endpoint land with those PRs. See CHANGELOG.

Every client connects the same two ways, matching the two transports: point it at the server's HTTP endpoint (<server-url>/mcp) with an Authorization: Bearer <token> header, or run the server locally over stdio (npx -y @production-master/mcp).

Claude Code

# HTTP
claude mcp add --transport http production-master <server-url>/mcp \
  --header "Authorization: Bearer <your-token>"

# or stdio (local)
claude mcp add production-master -- npx -y @production-master/mcp

Cursor

Register the server in .cursor/mcp.json:

{
  "mcpServers": {
    "production-master": {
      "url": "<server-url>/mcp",
      "headers": { "Authorization": "Bearer <your-token>" }
    }
  }
}

Codex

Register the server in .codex/config.toml (stdio):

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

OpenCode / other MCP clients

Any MCP-capable client works: give it the <server-url>/mcp HTTP endpoint plus the bearer header, or a stdio server entry launching npx -y @production-master/mcp. Full walkthrough: docs/user/quick-start.md.

Architecture

The server is a thin protocol boundary: it terminates MCP, forwards tool calls to the hosted service, and streams results back. It holds no investigation logic and no stored credentials.

flowchart LR
    subgraph Client["MCP client"]
        A["Claude Code / Cursor /<br/>Codex / OpenCode / any MCP client"]
    end
    M["production-master-mcp<br/>POST /mcp or stdio"]
    S["Production Master<br/>hosted service"]

    A -- "MCP requests + Bearer token" --> M
    M -- "tool calls, Bearer forwarded opaquely" --> S
    S -- "results" --> M
    M -- "MCP responses" --> A

Three concerns live here: transport (Streamable HTTP POST /mcp and stdio), auth pass-through (forward the caller's bearer token upstream, store nothing), and tool routing (validate against the schemas from @production-master/mcp-tool-contract and relay to the service). See docs/engineering/architecture/overview.md.

Documentation

Doc Purpose
Quick Start Connect an MCP client over HTTP or stdio
Usage Common workflows — connect from each client, bearer pass-through
Commands Endpoint, transports, and config reference
Troubleshooting Auth (401), connectivity, Node version, transport mismatch
Architecture Components and data flow
ADR-001 Standard MCP server over the hosted service
Contributing How to contribute
Changelog Release history

License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选