GitHub MCP Server Plus

push_files_content

Push multiple files with direct content to a GitHub repository in a single commit

Input Schema

NameRequiredDescriptionDefault
branchYesBranch to push to (e.g., 'main' or 'master')
filesYesArray of files to push with their content
messageYesCommit message
ownerYesRepository owner (username or organization)
repoYesRepository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "branch": { "description": "Branch to push to (e.g., 'main' or 'master')", "type": "string" }, "files": { "description": "Array of files to push with their content", "items": { "additionalProperties": false, "properties": { "content": { "type": "string" }, "path": { "type": "string" } }, "required": [ "path", "content" ], "type": "object" }, "type": "array" }, "message": { "description": "Commit message", "type": "string" }, "owner": { "description": "Repository owner (username or organization)", "type": "string" }, "repo": { "description": "Repository name", "type": "string" } }, "required": [ "owner", "repo", "branch", "files", "message" ], "type": "object" }