Templates

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.

The short answer

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

  1. Grant the engineering bot only the GitHub and Linear connectors it needs.
  2. Copy the rules and set bot_id and connector_id to your own ids.
  3. Match the tool names your MCP servers expose, using the activity log.
  4. 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

Network and grants

Approvals in practice

Related reading

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

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.