
Governing external MCP servers
One place that decides which MCP tool calls run, for every bot in the org.
Illustration of the app. Scout is an example bot.
To govern external MCP servers in Bello Bot, add each server once for the org, grant it only to the bots that need it, and write deny, ask and allow rules by tool name and arguments. The network guard allows public https only and checks every redirect, and rules fail closed when they cannot be read.
Step by step
- Check that the MCP server is reachable over public https.
- Add it once in Settings, from the catalog or by pasting its MCP address.
- Grant it to the bots that need it, and nobody else.
- List its tool names from the activity log after a test call.
- Write deny rules for destructive tools and ask rules for writes.
- Test a call against the rules, replay drafts over recent calls, then save.
Policy snippet
Tool names come from each connector's MCP server. Confirm them in the activity log or with the policy test, then replay the rules before you save.
[
{ "name": "Deny destructive tools", "effect": "deny", "priority": 10,
"tool_glob": "*__delete_*" },
{ "name": "Ask before writes to production", "effect": "ask", "priority": 30,
"tool_glob": "*__update_*", "arg_match": { "path": "$.environment", "glob": "prod*" } },
{ "name": "Allow reads", "effect": "allow", "priority": 90,
"tool_glob": "*__get_*" }
]
Connectors and grants
- Bots reach MCP servers over streamable HTTP, with the OAuth bearer of the connector. Anything not in the catalog is an MCP address you paste in Settings.
- Connectors are added once per org, and a bot can use one only after a person grants it. Revoking a grant applies from the next reply.
- An MCP server must be reachable over public https: the network guard blocks private and loopback addresses, so a server on your office network or localhost cannot be added as is.
- Connector tools are named after the connector and the tool, joined by two underscores, such as github__create_issue. The connector name is lowercased and anything that is not a letter or digit becomes an underscore.
The network guard
- The network guard allows https only, rejects credentials in the URL, and requires every address a host resolves to be public. It checks every redirect hop, up to five, and connects to the exact address it checked, so a DNS answer cannot change between check and connect.
- It covers connectors, their OAuth endpoints, per-bot MCP servers and custom OpenAI-compatible model URLs. The only switch that opens it is a server setting for local development; no request or org setting can turn it on.
How rules decide
- Rules are tried by priority, lowest number first. At equal priority deny beats ask, and ask beats allow. The first matching rule decides.
- A tool call that matches no rule is allowed by policy, but a bot can only use a connector that a person has granted it, so grants are the default gate.
- If the rules cannot be loaded and no last good copy is cached, the call is denied with the reason policy evaluation failed.
- An argument match takes a path such as $.repo and a glob. The value at that path must match the glob.
Related reading
- Engineering MCP approval rules
- MCP gateway, defined
- SSRF protection for AI agents
- Copyable policy templates
- Security controls, from the code
- AI agent governance glossary
Questions
Can a bot reach an MCP server on localhost?
No. Private and loopback addresses are blocked, and no request or org setting can open that.
Are rules checked for handoffs too?
Yes. Rules run before every MCP tool call, every bot-to-bot handoff and every access request.
What if no rule matches?
Policy allows it, but only bots granted the connector can call it.
Keep reading

MCP both ways: a governed client and a server
Bello Bot speaks MCP both ways: bots call any MCP server behind a network guard and org rules, and Claude Code or Cursor use Bello Bot as an MCP server with a revocable token.

Engineering MCP approval rules
Copyable policy rules for engineering bots on MCP connectors like GitHub and Linear: deny deletes and force pushes, ask before merges, allow reads.

Model Context Protocol gateway
An MCP gateway governs how AI agents reach Model Context Protocol servers: grants, policy, network rules and an audit trail on every tool call.

Replace custom MCP scripts with Bello Bot
Replace hand-rolled MCP glue scripts with Bello Bot.
More integrations and recipes
Notion knowledge bot with approvals · OpenAI and OpenAI-compatible models in Bello Bot · OpenAI BYOK setup in Bello Bot
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.