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

BailingHub for Business Operations

作者:bailinghub版本 0.8.0i★ –i在你的电脑上运行
注册名称io.github.bailinghub/bailinghub-governance

安装

概览

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

Let AI agents query and operate business systems with authorization, approval and audit trails.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:BAILINGHUB_BASE_URL, BAILINGHUB_CLIENT_TOKEN, BAILINGHUB_ROUTE

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: BAILINGHUB_BASE_URL, BAILINGHUB_CLIENT_TOKEN, BAILINGHUB_ROUTE, BAILINGHUB_ALLOW_INSECURE_HTTP

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "bailinghub-governance": {
      "command": "npx",
      "args": [
        "-y",
        "bailinghub-mcp-server"
      ],
      "env": {
        "BAILINGHUB_BASE_URL": "your-value",
        "BAILINGHUB_CLIENT_TOKEN": "your-value",
        "BAILINGHUB_ROUTE": "your-value",
        "BAILINGHUB_ALLOW_INSECURE_HTTP": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add bailinghub-governance --env BAILINGHUB_BASE_URL=your-value --env BAILINGHUB_CLIENT_TOKEN=your-value --env BAILINGHUB_ROUTE=your-value --env BAILINGHUB_ALLOW_INSECURE_HTTP=your-value -- npx -y bailinghub-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "bailinghub-governance": {
      "command": "npx",
      "args": [
        "-y",
        "bailinghub-mcp-server"
      ],
      "env": {
        "BAILINGHUB_BASE_URL": "your-value",
        "BAILINGHUB_CLIENT_TOKEN": "your-value",
        "BAILINGHUB_ROUTE": "your-value",
        "BAILINGHUB_ALLOW_INSECURE_HTTP": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "bailinghub-governance": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bailinghub-mcp-server"
      ],
      "env": {
        "BAILINGHUB_BASE_URL": "your-value",
        "BAILINGHUB_CLIENT_TOKEN": "your-value",
        "BAILINGHUB_ROUTE": "your-value",
        "BAILINGHUB_ALLOW_INSECURE_HTTP": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • BAILINGHUB_BASE_URL 必填 env
    Absolute URL of the self-hosted BailingHub deployment.
  • BAILINGHUB_CLIENT_TOKEN 机密 必填 env
    Dedicated BailingHub Client Token restricted to the configured route.
  • BAILINGHUB_ROUTE 必填 env
    One allowlisted BailingHub route fixed by the operator for this server process.
  • BAILINGHUB_ALLOW_INSECURE_HTTP env
    Optional explicit override for operator-controlled private HTTP networks.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

BailingHub for Business Operations 安全吗?

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

它需要哪些密钥或代码?

你需要填写:BAILINGHUB_BASE_URL, BAILINGHUB_CLIENT_TOKEN, BAILINGHUB_ROUTE

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.8.0)于16天前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, LexPact UK Contracts

替代选择

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

如何看卡片:★ 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前天更新
安装

LexPact UK Contracts

作者:Idadabhai

Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.

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

作者的 README

打开 README

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

BailingHub MCP Server

0.8.0: larger tool inputs and knowledge on demand

Save complete page content without a small adapter limit, read only the relevant business guidance, and choose model defaults independently of service ceilings. Pair Core 0.10.0 / SDK 0.8.0 / DSH 0.8.0. Existing authorization, approval and original-operation recovery remain in force; automatic task continuation is a host responsibility.

Changes · Upgrade

简体中文 | English

Let an MCP-compatible AI agent use natural-language requests to query and operate your store, SaaS, CRM, ERP, or other business system through BailingHub.

Depending on the capabilities explicitly exposed by the business system and the routes allowed for this connection, an agent can, for example:

  • find products with fewer than 10 items in stock and prepare a restocking suggestion;
  • update an employee or customer profile;
  • submit a refund request and wait when the configured route requires human approval.

The agent does not receive administrator or business-system credentials. BailingHub keeps the route boundary, approval state, execution record, and audit trail, while the downstream business system still makes the final authorization decision.

Previously introduced in 0.5.0: shop and inventory in one conversation

A host can let a user ask: “Check tumbler stock; if available, change the corresponding shop product to 59 and list it.” This SDK adds original-target checks for different systems on one Hub, system descriptions before tool search, and business-supplied authorization names. Actions must be exposed by the business systems, product mappings confirmed, and original approvals respected.

Use Core 0.10.0 + SDK 0.8.0 and a compatible host for these extensions, within one Hub and one administrator audit domain. The host owns explicit selection and persistent scope; the standalone MCP server does not gain a multi-system selection UI.

Scenarios, changes and upgrade steps

Conversation archives introduced in 0.4.0

When an Agent Client host enables conversation archiving, a BailingHub administrator can follow the user's request, the assistant's visible replies and the resulting business actions together. For example, one conversation can compare two separately authorized stores while retaining the original execution record for each store. Use BailingHub Core 0.10.0 with a host that captures and synchronizes the conversation. The archive API minimum is Core 0.6.0.

Version 0.4.0 introduced that synchronization API. It does not capture conversations by itself. A native host such as the DSH plugin owns the account selection and conversation interface. The standalone MCP server keeps its existing tool surface.

Who should upgrade, and where to start

Your setupNext step
You use an MCP application with a fixed business routeInstall this package at 0.8.0 using the MCP setup below. Your existing Client Token and Agent Session flows remain compatible.
You use a native Agent Client, such as DSHUpgrade through that host's matching release and follow its account-selection guide. Installing this MCP command alone does not add a multi-account conversation UI.
You build an Agent Client hostInstall bailinghub-mcp-server@0.8.0, use Core 0.10.0 for the complete feature set, and follow the SDK guide.

You do not need to change business API declarations for this SDK upgrade. Existing read/write, approval and invocation recovery behavior stays in place. Conversation upload retries use the same event IDs and never repeat business actions; only the deployment's authorized administrators can read the combined archive. Hidden reasoning is excluded.

This package is a thin integration adapter. It does not embed BailingHub, grant business permissions, or replace the downstream business system's final authorization. It supports both the existing operator-provisioned Client Token mode and an Agent Session mode in which a human approves one local Agent through the system browser.

What It Exposes

ToolPurpose
submit_governed_jobSubmit untrusted task text to one operator-configured BailingHub route
get_governed_jobRead the current public state of a credential-owned job
wait_for_governed_jobPoll one job for at most 60 seconds without resubmitting it

The Agent Session MCP path starts with seven small meta-tools for turn bootstrap, capability and reference-knowledge search/read, governed invocation/recovery, and visible run completion. BailingHub then returns at most 12 active business tools for the current turn; each replacement removes the previous active set instead of growing the model context indefinitely.

Short tool descriptions can include description_truncated and usage_guidance_available flags in start/search results. To read only one loaded tool's bounded guidance, call search_business_capabilities with {"tool_name":"the_exact_loaded_name","include_usage_guidance":true} after starting the turn. This is a read-only reference bound to the current run, authorization and catalog revision; it does not invoke the business tool. Preserve the returned truncation and size metadata. Older clients without detail support return a compatibility error; ordinary search remains compatible.

Host implementers should use the host-neutral Agent Client SDK guide.

The route, BailingHub URL, and credential are local process configuration, never model-supplied MCP tool arguments. An SDK host may publish a fixed set of available authorization references for per-call selection within one system; the host resolves each reference to its captured connection and retains control of connection management. See the authorization-reference guidance.

Authentication Modes

  • Agent Session: run bailinghub-mcp-server login once. The CLI uses a random loopback callback plus PKCE, opens the system browser, and stores the approved session in the platform-specific secure credential store. The MCP tools then use /agent-api/v1/* and refresh rotated tokens locally.
  • Client Token (compatible): when BAILINGHUB_CLIENT_TOKEN is present, the adapter keeps using POST /run and GET /jobs/{job_id} exactly as before.

Neither mode lets the model supply a credential, route, acting subject, or approval result. The Agent Session records the identity approved by the Hub/business authorization boundary; the downstream business system still makes the final authorization decision.

The MCP Registry server.json describes only the compatible standalone stdio/Client Token installation, so that entry still marks BAILINGHUB_CLIENT_TOKEN as required. The native DSH plugin does not consume that Registry configuration: it imports this package's /sdk subpath as an ordinary library dependency and establishes an Agent Session through the browser. Do not add a Client Token field to a DSH plugin based on the Registry form.

Security Model

MCP host / model

| | request_id + untrusted input v BailingHub MCP Server | | fixed route + Client Token or approved Agent Session v BailingHub | | governed dispatch v Business system | +-- resolves trusted subject and performs final authorization

The adapter intentionally does not accept:

  • an acting subject or identity claim;
  • a Client Token, administrator token, or business-system credential as tool input;
  • an approval decision or approval evidence;
  • an executor identity;
  • arbitrary metadata or callback URLs;
  • an arbitrary route.

In compatible Client Token mode, use a dedicated token restricted to the one route configured for this server process. Run separate server instances when different MCP clients need different route boundaries.

Install

Prerequisites:

  • Node.js 20.15 or newer;
  • a reachable BailingHub deployment;
  • either one route-scoped BailingHub Client Token or a registered public Agent client that can be approved for the required route.

For the legacy static-job mode, configure an MCP host to spawn:

{

"mcpServers": { "bailinghub": { "command": "npx", "args": ["-y", "bailinghub-mcp-server@0.8.0"], "env": { "BAILINGHUB_BASE_URL": "https://hub.example.com", "BAILINGHUB_CLIENT_TOKEN": "replace-with-a-route-scoped-client-token", "BAILINGHUB_ROUTE": "order_assistant" } } } }

Agent Session login

Authorize one registered public Agent client and one fixed route before starting the MCP host without a Client Token:

npm install --global bailinghub-mcp-server@0.8.0

bailinghub-mcp-server login \ --base-url https://hub.example.com \ --client-app-id merchant-agent \ --route order-assistant

bailinghub-mcp-server status bailinghub-mcp-server logout

The login callback binds only to a random 127.0.0.1 port and uses state plus PKCE S256. Access and refresh tokens never appear in CLI output. macOS uses Keychain. Linux and other POSIX platforms require an explicit BAILINGHUB_ALLOW_FILE_CREDENTIAL_STORE=true opt-in; that fallback rejects files that are not owned by the current user with mode 0600. Windows uses a CurrentUser DPAPI-protected file under the user's LocalAppData directory. If Windows PowerShell or DPAPI is unavailable, Agent Session fails closed and never falls back to plaintext. Compatible Client Token mode remains available on every supported platform.

For a local BailingHub process, loopback HTTP is accepted:

BAILINGHUB_BASE_URL=http://127.0.0.1:3000

Non-loopback HTTP is rejected by default. BAILINGHUB_ALLOW_INSECURE_HTTP=true exists only for an operator-controlled private network where TLS terminates elsewhere. Do not use it across an untrusted network.

Correct Job Flow

  1. Create a stable request_id for one business request.
  2. Call submit_governed_job with that ID and the task text.
  3. Preserve the returned job_id.
  4. Call wait_for_governed_job for a short bounded wait, or call get_governed_job later.
  5. If submission must be retried, reuse the exact same request_id and task meaning.

queued, running, and dispatched are non-terminal. done, error, and rejected are terminal. A wait timeout is not a failed task and must not cause a replacement submission.

First Success and Feedback

Use the MCP integration path as the canonical start page. The first integration is successful when an MCP host submits through the operator-fixed route, the same job_id reaches a terminal state, BailingHub retains its approval and audit state, and the MCP host never receives administrator or business-system credentials.

Report a PASS, partial result, or failure through the BailingHub independent validation form and select the MCP track. Never include tokens, model keys, personal information, or production business data.

Project Boundaries

The dependency direction is one-way:

bailinghub-mcp-server -> BailingHub public Client API / Agent API

BailingHub may consume ACC declarations ACC has no dependency on either implementation

See:

  • Project boundaries
  • Threat model
  • Compatibility contract
  • Agent Client SDK
  • Generated image delivery
  • Privacy
  • Security policy

Development

npm install

npm run verify npm pack --dry-run

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

问 PopNx