原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

PromptBranch

作者:PromptBranch版本 0.2.6i★ –i在你的电脑上运行
注册名称io.github.PromptBranch/promptbranch

安装

概览

作者提供的说明(英文原文)

Local-first MCP server for versioning, searching, evaluating, and improving AI prompts.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "promptbranch": {
      "command": "npx",
      "args": [
        "-y",
        "@promptbranch/mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add promptbranch -- npx -y @promptbranch/mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "promptbranch": {
      "command": "npx",
      "args": [
        "-y",
        "@promptbranch/mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "promptbranch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@promptbranch/mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 PromptBranch 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32497 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32497 个服务器的 33% 更新
  • 基础检查结果等于或优于此分类中其他 32497 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

PromptBranch 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.6)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Zoo MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Zoo MCP

作者:KittyCAD

An MCP server that provides access to the Zoo API for various CAD operations and tools.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

PromptBranch

A local-first prompt library and version-control system for AI prompts.

Features · Install · Docs · GitHub


PromptBranch is a simple, local-first place to create, organize, test, and improve your AI prompts. Keep prompts on your own computer, track their changes over time, run them with different AI models, and connect your favorite AI tools. You stay in control of your data and approve changes before they are saved.

[!WARNING]

Work in progress. PromptBranch is actively evolving. You may encounter bugs or

incomplete behavior, and features may change as development continues.

Please report non-security issues.

Report security concerns privately through the security policy.

Features

Build a prompt library
  • 📚 Organize prompts with tags, collections, starring, filters, full-text search (⌘K), History and Notes, JSON import/export, and automatic local backups.
  • 📋 Copy prompts from another app while PromptBranch is running with the optional Quick access palette, a configurable global shortcut, variable inputs, and an exact text preview.
  • 🌿 Track versions with branches, stable version IDs, amend-in-place and save-as-new actions, history labels, change notes, diffs, and variations.
  • 🧪 Evaluate results with four-dimension ratings, a Results run log, side-by-side comparison, an LLM judge, and an evaluation summary.
Run with AI and agents
  • ⚡ Run against multiple models using a models.dev-backed catalog for OpenAI, Anthropic, Google, and OpenAI-compatible endpoints. Run up to six models concurrently with encrypted API keys and token/cost tracking.
  • 🤖 Work with agents through a CLI and MCP server over the same library. Agents can report runs and notes or propose variations; humans review and approve them.
Share and sync on your terms
  • 🔗 Share immutable snapshots behind unguessable URLs, embed active shares on websites, or review and import public Markdown URLs. Shares include pre-publish secret scanning, revocable links, and a dedicated Shares view.
  • 🔄 Sync directly between your devices on the local network. Pair with a short verified code; changes are stored locally first and catch up automatically when devices can reach one another.

Installation

PromptBranch desktop is available for macOS, Windows, and Linux. Download an installer for your operating system from GitHub Releases.

The CLI and MCP server are cross-platform too. See the installation guide for setup, including building from source.

Where your data lives

The desktop app, CLI and MCP server all open the same database:

PlatformPath
macOS~/Library/Application Support/PromptBranch/library.db
Linux$XDG_CONFIG_HOME/promptbranch/library.db
Windows%APPDATA%\PromptBranch\library.db

Set PROMPTBRANCH_DB=/path/to.db to point any entry point at a different library (for example, a separate personal or test library). If you used a pre-release build (named *PromptBuilder* or *PromptHub*), the app copies your existing library into the new location on first launch and leaves the original untouched.

It is safe to run the CLI or MCP server while the desktop app is open — they share the database file. The app picks up new runs, notes, ratings and suggestions when you focus the window.

Agent integration

AI coding agents interact with your library through two thin adapters — the CLI and the MCP server — with the same semantics as the app UI. The rule is agents propose, humans approve: agents can read prompts, report runs and notes, and *suggest* variations, but a suggested variation is created as a pending version that is invisible to search and listings and cannot become current until a human approves it in the app's Suggestions view (left rail, with a pending-count badge; approve optionally sets it as current, reject keeps it permanently inactive).

Onboarding is copy-paste: open Settings → *Agent integration* for the resolved DB path and a ready-to-paste MCP client config. The npm package also includes an optional skill file that teaches coding agents the fetch → report → suggest workflow.

MCP server

@promptbranch/mcp is available from npm. Point any stdio-capable MCP client at it with this configuration:

{

"mcpServers": { "promptbranch": { "command": "npx", "args": ["-y", "@promptbranch/mcp@latest"] } } }

Tools: get_prompt, search_prompts, list_prompts, report_run, add_note, suggest_variation. Prompts are referenced by title (exact, then case-insensitive, then unique substring — ambiguous matches return the close candidates) or by id. suggest_variation returns a pending suggestion; tell your human to open the Suggestions view to review it.

CLI

The CLI provides the same surface for shell pipelines. Run the public package without a global install as npx -y @promptbranch/cli@latest, or install it globally with npm install -g @promptbranch/cli@latest to use the shorter promptbranch command. All commands accept --json for machine-readable output:

promptbranch list --tag security

promptbranch get "security-audit" > /tmp/prompt.md promptbranch search "sql injection" promptbranch report-run --prompt "security-audit" --tool kimi-cli --model k2 --outcome 4 --summary "found 2 issues" promptbranch add-note --prompt "security-audit" --body "works well on small diffs" promptbranch suggest --prompt "security-audit" --file improved.md --rationale "tighter scope" promptbranch suggestions # pending review queue promptbranch db-path # prints the resolved database path

Sharing is human-only — publish and import exist only here and in the desktop app; there is intentionally no MCP tool for pulling internet content into the library.

AI providers

PromptBranch can run prompts against real models and use AI to draft or improve prompts. Supported providers: OpenAI, Anthropic, Google, and any OpenAI-compatible endpoint (Ollama, LM Studio, …) via a custom base URL.

Setup is one step: Settings → AI Providers → Connect a provider → paste the API key. PromptBranch encrypts it using your operating system's secure credential storage and only decrypts it when needed for a model request. The connection is tested automatically as part of connecting, and the model catalog refreshes in the background. If OPENAI_API_KEY, ANTHROPIC_API_KEY or GOOGLE_GENERATIVE_AI_API_KEY is set in the environment, PromptBranch offers a one-click Use environment key connect for that provider.

Once connected, every catalog model of the provider is immediately usable — there is no model-selection step in Settings. Models are picked from the searchable model picker next to the Run button (filter as you type, grouped by provider, with context-window/pricing hints and per-prompt recents). Individual models can be hidden from the picker's hover action; everything else just works. OpenAI-compatible endpoints have no catalog, so their model ids are declared inline on the provider's settings row.

The model catalog comes from models.dev and is cached locally. Browsing and editing stay offline; catalog refreshes, model runs, and sharing use the network. A failed catalog refresh keeps serving the stale cache.

Each Run executes the prompt (after {{variable}} substitution) against up to 6 models concurrently and records one entry per model — provider, model, status, output or error, latency, token usage and estimated USD cost from catalog pricing — grouped together for the compare view.

Sharing

Snapshots are immutable and live behind unguessable /p/ URLs on the official portal, https://promptbranch.app.

  • Publishing happens from the Share dialog on the prompt toolbar (scope choice, pre-publish secret scan, exact-payload preview). Delete tokens are stored locally so shares can be revoked later from the Shares view in the left rail (search, status filtering, copy link, revoke, and remove revoked entries).
  • Importing works via promptbranch://import?url= deep links or promptbranch import; the snapshot becomes a new local prompt with its tags and a provenance note. A shared history remains viewable on the portal; it is not recreated as a local version chain.
  • Website embeds use copyable HTML for active shares. Choose Auto, Light, or Dark when copying; Auto follows the visitor's system appearance. The prompt appears in Shadow DOM without an iframe, with its title and an Open in PromptBranch button. The portal script runs on the host page, so use embed code only from a portal you trust. See the sharing guide for the HTML snippets and CSP requirements.
  • Public Markdown links use promptbranch://import-markdown?url=. The desktop app fetches only after the user chooses Fetch Markdown, then previews the content before creating a new local prompt. The source must be reachable over public HTTPS. The sharing guide includes an HTML button example that website owners can copy and customize.

Multi-device sync

Sync your library across your own computers, directly, with no server and no account: devices discover each other on the local network via mDNS, authenticate with a one-time pairing code, and exchange incremental record-level changes over mutually-pinned TLS. Enable it in Settings → Sync; a status line in the left-rail footer shows *Synced / Syncing / Waiting for devices* at a glance.

  • How it works: every change (from the app, the CLI or the MCP server — they share the database file) is captured into a local op log with logical-clock revisions; peers exchange the ops they're missing and merge them deterministically. Independently created records union by id; changes to the same record resolve last-writer-wins; same-name tags/collections/branches merge into one row. Concurrent edits to a prompt produce both versions when saved separately, while concurrent amendments to the same version resolve deterministically.
  • Trust: each device has a self-signed certificate; the 8-character pairing code is derived from the accepting device's certificate fingerprint, so a man-in-the-middle on the network produces a mismatching code. Forgetting a device unpins it permanently. API keys never leave a device, and settings are deliberately device-local. Share records do sync (delete tokens included), so shares can be managed and revoked from any paired machine.
  • Reach: sync happens when devices are on the same network (or a VPN — pair by address in Settings → Sync → *Add a device*). Changes wait while devices are apart; nothing is ever "pending upload", because changes are durable the moment they're written.
  • macOS note: the first sync session triggers the system's Local Network permission prompt — allow it, or pairing and discovery won't see peers.

Documentation

Browse the full documentation in docs/.

Start hereGo deeper
Overview & PhilosophyPrompt Management

| Installation | [Search, Organization & Quick access](docs/features/search-and-org

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx