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) 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