GitHub & Code
setMergeApprovals
Set Merge Approvals
Request a change to a connected GitHub account's "Merge approvals" dial, the standing consent that decides whether a green pull request merges on its own or waits for the owner.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "turn on auto-merge", and it calls setMergeApprovals.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"mode": "<mode>",
"owner": "<owner>"
},
"name": "setMergeApprovals"
}Arguments
modestringrequiredThe mode to move the dial to. "manual" = ask before every merge (the default); "auto" = merge vetted work when checks are green, escalate anything risky; "off" = never merge.ownerstringrequiredThe GitHub account whose connection the dial belongs to (the same owner you pass to the repo verbs)repostringoptionalRepository name the change is about. On a repo with a deploy identity this moves that login's dial, the one its merges read. Omit for the owner's connection.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- turn on auto-merge
- stop asking me to approve every merge
- make me approve merges again
- never merge anything
Pair it with
The verbs that finish the job.
Questions
What does setMergeApprovals do?
Request a change to a connected GitHub account's "Merge approvals" dial, the standing consent that decides whether a green pull request merges on its own or waits for the owner. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use setMergeApprovals from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "turn on auto-merge", and it calls setMergeApprovals.
Is setMergeApprovals safe to let an AI call?
setMergeApprovals widens who can see or receive something, so the owner approves every call explicitly. An AI cannot approve it for itself.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.