From bd648c4c7a92c51312e5d4c6cdaff091646c5cf8 Mon Sep 17 00:00:00 2001 From: "quantstruct-canvas[bot]" <209174517+quantstruct-canvas[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 00:36:54 +0000 Subject: [PATCH 1/2] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index b37e923cf..e80a42afe 100644 --- a/README.md +++ b/README.md @@ -499,6 +499,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description - `branch`: Branch name (string, optional) - `sha`: File SHA if updating (string, optional) +- **create_and_update_file** - Create a file if it doesn't exist, or update it if it does, in a single call + - `owner`: Repository owner (string, required) + - `repo`: Repository name (string, required) + - `path`: File path (string, required) + - **list_branches** - List branches in a GitHub repository - `owner`: Repository owner (string, required) - `repo`: Repository name (string, required) From 458001cc3df4ca9c48e1ab76d345a1509de65829 Mon Sep 17 00:00:00 2001 From: "quantstruct-canvas[bot]" <209174517+quantstruct-canvas[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 00:36:56 +0000 Subject: [PATCH 2/2] Update cmd/mcpcurl/README.md --- cmd/mcpcurl/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/mcpcurl/README.md b/cmd/mcpcurl/README.md index 493ce5b18..9ab2ce91c 100644 --- a/cmd/mcpcurl/README.md +++ b/cmd/mcpcurl/README.md @@ -45,6 +45,7 @@ Available Commands: create_branch Create a new branch in a GitHub repository create_issue Create a new issue in a GitHub repository create_or_update_file Create or update a single file in a GitHub repository + create_and_update_file Create and update a file in a GitHub repository create_pull_request Create a new pull request in a GitHub repository create_repository Create a new GitHub repository in your account fork_repository Fork a GitHub repository to your account or specified organization