push_files
Push multiple files to a GitHub repository in a single commit
Purpose
This skill provides access to the MCP tool push_files. It allows you to push multiple files to a github repository in a single commit.
Parameters
The tool accepts the following parameters:
owner
Required
- Type:
string - Description: Repository owner (username or organization)
repo
Required
- Type:
string - Description: Repository name
branch
Required
- Type:
string - Description: Branch to push to (e.g., 'main' or 'master')
files
Required
- Type:
array - Description: Array of files to push
message
Required
- Type:
string - Description: Commit message
Usage Instructions
To use this tool:
- Prepare the parameters according to the schema above
- Invoke the MCP tool
push_fileswith the prepared parameters - Process the result returned by the tool
Example
{
"owner": "example_value",
"repo": "example_value",
"branch": "example_value",
"files": {},
"message": "example_value"
}
Notes
- This skill requires an active MCP connection to the server providing the
push_filestool - Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors