Skip to main content
ClaudeWave
bailinghub avatar
bailinghub

bailinghub-mcp-server

Ver en GitHub

MCP server for submitting governed AI business actions through BailingHub.

MCP ServersRegistry oficial0 estrellas0 forksJavaScriptMITActualizado today
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/bailinghub/bailinghub-mcp-server
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "bailinghub": {
      "command": "node",
      "args": ["/path/to/bailinghub-mcp-server/dist/index.js"],
      "env": {
        "BAILINGHUB_BASE_URL": "<bailinghub_base_url>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/bailinghub/bailinghub-mcp-server and follow its README for install instructions.
Detected environment variables
BAILINGHUB_BASE_URL
Casos de uso

Resumen de MCP Servers

# BailingHub MCP Server

Use MCP hosts to submit and inspect governed business-system actions through a
self-hosted [BailingHub](https://www.bailinghub.com/) control plane.

This package is a thin integration adapter. It does not embed BailingHub, grant business
permissions, authenticate an end user, or replace the downstream business system's final
authorization.

## What It Exposes

| Tool | Purpose |
| --- | --- |
| `submit_governed_job` | Submit untrusted task text to one operator-configured BailingHub route |
| `get_governed_job` | Read the current public state of a client-owned job |
| `wait_for_governed_job` | Poll one job for at most 60 seconds without resubmitting it |

The route, BailingHub URL, and Client Token are process configuration. They are never MCP
tool arguments and therefore cannot be selected or replaced by model output.

## Security Model

```text
MCP host / model
    |
    | request_id + untrusted input
    v
BailingHub MCP Server
    |
    | fixed route + route-scoped Client Token
    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.

Use a dedicated BailingHub Client 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;
- one BailingHub Client Token restricted to the required route.

Configure an MCP host to spawn:

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

For a local BailingHub process, loopback HTTP is accepted:

```text
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.

## Project Boundaries

The dependency direction is one-way:

```text
bailinghub-mcp-server -> BailingHub public Client API
BailingHub may consume ACC declarations
ACC has no dependency on either implementation
```

See:

- [Project boundaries](docs/PROJECT_BOUNDARIES.md)
- [Threat model](docs/THREAT_MODEL.md)
- [Compatibility contract](docs/COMPATIBILITY.md)
- [Privacy](PRIVACY.md)
- [Security policy](SECURITY.md)

## Development

```bash
npm install
npm run verify
npm pack --dry-run
```

The integration uses the stable `bailing.client-api.v1` surface only:

- `POST /run`
- `GET /jobs/{job_id}`

No administrator, executor, approval-decision, tool-proxy, configuration, or direct
business API is called.

a2bagent-tool-governanceai-agent-governanceaudit-trailbailinghubbusiness-automationhuman-approvalmcpmcp-servermodel-context-protocol

Lo que la gente pregunta sobre bailinghub-mcp-server

¿Qué es bailinghub/bailinghub-mcp-server?

+

bailinghub/bailinghub-mcp-server es mcp servers para el ecosistema de Claude AI. MCP server for submitting governed AI business actions through BailingHub. Tiene 0 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala bailinghub-mcp-server?

+

Puedes instalar bailinghub-mcp-server clonando el repositorio (https://github.com/bailinghub/bailinghub-mcp-server) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar bailinghub/bailinghub-mcp-server?

+

bailinghub/bailinghub-mcp-server aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene bailinghub/bailinghub-mcp-server?

+

bailinghub/bailinghub-mcp-server es mantenido por bailinghub. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a bailinghub-mcp-server?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega bailinghub-mcp-server en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: bailinghub/bailinghub-mcp-server
[![Featured on ClaudeWave](https://claudewave.com/api/badge/bailinghub-bailinghub-mcp-server)](https://claudewave.com/repo/bailinghub-bailinghub-mcp-server)
<a href="https://claudewave.com/repo/bailinghub-bailinghub-mcp-server"><img src="https://claudewave.com/api/badge/bailinghub-bailinghub-mcp-server" alt="Featured on ClaudeWave: bailinghub/bailinghub-mcp-server" width="320" height="64" /></a>

Más MCP Servers

Alternativas a bailinghub-mcp-server