GitHub MCP Server
by asbloom-py
create_or_update_file
Create or update a single file in a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Branch to create/update the file in | |
content | Yes | Content of the file | |
message | Yes | Commit message | |
owner | Yes | Repository owner (username or organization) | |
path | Yes | Path where to create/update the file | |
repo | Yes | Repository name | |
sha | No | SHA of the file being replaced (required when updating existing files) |