GitHub & Code
commitFiles
Commit Files
Commit one or more files to a feature branch on a connected GitHub repo (multi-file atomic commit).
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "commit this", and it calls commitFiles.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"branch": "<branch>",
"files": [
{}
],
"message": "<message>",
"owner": "<owner>",
"repo": "<repo>"
},
"name": "commitFiles"
}Arguments
accountstringoptionalConnected GitHub login to act as. Defaults to the Primary account.branchstringrequiredTarget feature branch (never main/protected)expectedHeadShastringoptionalSha-guard: the branch head you based this edit on. Fails loudly if stale.filesobject[]requiredFiles to write in one commitmessagestringrequiredCommit messageownerstringrequiredRepository ownerrepostringrequiredRepository name
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- commit this
- save the edit to the branch
Pair it with
The verbs that finish the job.
Questions
What does commitFiles do?
Commit one or more files to a feature branch on a connected GitHub repo (multi-file atomic commit). It is one of the tools The Cloud MCP server gives every connected AI.
How do I use commitFiles 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 "commit this", and it calls commitFiles.
Is commitFiles safe to let an AI call?
commitFiles changes your workspace. What an AI creates is Private until you share it. 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.