
Engineering MCP approval rules
Let engineering bots read code and tickets freely, and put a person in front of anything that ships.
Illustration of the app. Names and values come from this template.
For engineering bots on MCP, deny destructive repository actions, ask before merges, releases and anything aimed at production, and allow reads, searches and comments. Scope rules to the engineering bot and connector, match risky arguments such as a force flag, and replay each draft over recent calls before saving.
How to use this template
- Grant the engineering bot only the GitHub and Linear connectors it needs.
- Copy the rules and set bot_id and connector_id to your own ids.
- Match the tool names your MCP servers expose, using the activity log.
- Replay each rule, save it, and review blocked and asked calls after a week.
The template
Copy it, then replace the values in angle brackets with your own.
[
{ "name": "No branch or repo deletes", "effect": "deny", "priority": 10, "connector_id": "<github-connector-id>", "tool_glob": "github__delete*" },
{ "name": "No force pushes", "effect": "deny", "priority": 20, "connector_id": "<github-connector-id>", "tool_glob": "github__*", "arg_match": { "path": "$.force", "glob": "true" } },
{ "name": "Ask before any merge", "effect": "ask", "priority": 30, "connector_id": "<github-connector-id>", "tool_glob": "github__merge*" },
{ "name": "Allow GitHub reads", "effect": "allow", "priority": 40, "connector_id": "<github-connector-id>", "tool_glob": "github__get*" },
{ "name": "Allow Linear reads", "effect": "allow", "priority": 40, "connector_id": "<linear-connector-id>", "tool_glob": "linear__list*" },
{ "name": "Engineering bot asks for the rest", "effect": "ask", "priority": 100, "bot_id": "<engineering-bot-id>", "tool_glob": "*__*" }
]
What the matchers do
- A rule has a name, an effect (allow, ask or deny), a priority, and optional matchers: one bot, one connector, a tool name glob, an argument match and a rooms-only flag.
- An argument match takes a path such as $.repo and a glob. The value at that path must match the glob.
- In a tool glob or argument glob, * matches any run of characters and everything else is literal.
- 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.
Network and grants
- 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.
- 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.
Approvals in practice
- On an approval card a person can edit the drafted call before allowing it, and the edited call is what runs.
- A tool call that needs a person pauses the reply. Allow approves this call, Always allow saves a standing allow for that bot and tool, and Deny refuses. The reply picks up again either way. Questions from ask_user ride the same rail.
Related reading
- MCP gateway
- Engineering teams use case
- Security controls, from the code
- Compare Bello Bot with other AI agent products
- Guides to running AI agents safely
- The Bello Bot blog
- Free AI agent governance grader
Questions
Are argument names like $.force the same for every MCP server?
No. Argument names come from each MCP server. Look at a real call in the activity log and match its argument path.
Can an engineering bot reach our internal Git server?
Not on a private address. The network guard only allows public https addresses.
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.

An MCP gateway for teams: connect any server, govern every call
Bello Bot connects bots to any MCP server through a network guard, per-bot grants and org rules, and serves MCP itself so Claude Code and Cursor act as you, under the same rules.


AI agents for engineering teams
Use the coding agents your engineers already like, and give the team shared bots that cannot wander into your network.

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.
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.