bailinghub-mcp-server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bailinghub-mcp-serverSubmit a governed job to approve refund for order 456"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BailingHub MCP Server
Use MCP hosts to submit and inspect governed business-system actions through a self-hosted BailingHub 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 untrusted task text to one operator-configured BailingHub route |
| Read the current public state of a client-owned 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.
Related MCP server: ControlKeel
Security Model
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 authorizationThe 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:
{
"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:
BAILINGHUB_BASE_URL=http://127.0.0.1:3000Non-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
Create a stable
request_idfor one business request.Call
submit_governed_jobwith that ID and the task text.Preserve the returned
job_id.Call
wait_for_governed_jobfor a short bounded wait, or callget_governed_joblater.If submission must be retried, reuse the exact same
request_idand 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
BailingHub may consume ACC declarations
ACC has no dependency on either implementationSee:
Development
npm install
npm run verify
npm pack --dry-runThe integration uses the stable bailing.client-api.v1 surface only:
POST /runGET /jobs/{job_id}
No administrator, executor, approval-decision, tool-proxy, configuration, or direct business API is called.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bailinghub/bailinghub-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server