GitHub & Code
mergePullRequest
Merge Pull Request
Request a merge of a connected GitHub repo's pull request.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "merge PR #N", and it calls mergePullRequest.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"owner": "<owner>",
"pullNumber": 1,
"repo": "<repo>"
},
"name": "mergePullRequest"
}Arguments
accountstringoptionalConnected GitHub login to act as. Defaults to the repo's deploy identity when it names one, else the Primary account. On a repo with a deploy identity, any other login is refused.methodstringoptionalMerge strategy for the direct-merge path (repos with no merge queue); squash is not allowed. Ignored when the PR is enqueued into a merge queue, which sets its own strategy.ownerstringrequiredRepository ownerpullNumbernumberrequiredPull request numberrepostringrequiredRepository name
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- merge PR #N
- request a merge
Pair it with
The verbs that finish the job.
Questions
What does mergePullRequest do?
Request a merge of a connected GitHub repo's pull request. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use mergePullRequest 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 "merge PR #N", and it calls mergePullRequest.
Is mergePullRequest safe to let an AI call?
mergePullRequest widens who can see or receive something, so the owner approves every call explicitly. An AI cannot approve it for itself. It reaches a system outside The Cloud on your behalf.
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.