create_or_update_file
Automate file creation or updates in GitHub repositories by specifying branch, content, path, and commit message. Integrates with GitHub API for streamlined repository management.
Instructions
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) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from GitHub MCP Server Plus
Related Tools
- @asbloom-py/mcp-servers
- @PoliTwit1984/github-meta-mcp-server
- @modelcontextprotocol/github
- @AstroMined/pygithub-mcp-server
- @AstroMined/pygithub-mcp-server