Home / Servers / GitHub API / repos_update_release

Update a release

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Update a release Users with push access to the repository can edit a release. > [!NOTE] > If the resolved target commit (the new value of target_commitish if you are changing it, otherwise the existing target) adds… [PATCH /repos/{owner}/{repo}/releases/{release_id}]

Name on the gateway: github_api__repos_update_release · may change things.

Parameters

NameTypeDescription
owner requiredstringThe account owner of the repository. The name is not case…
repo requiredstringThe name of the repository without the .git extension. The…
release_id requiredintegerThe unique identifier of the release.
tag_namestringThe name of the tag.
target_commitishstringSpecifies the commitish value that determines where the Git tag is created…
namestringThe name of the release.
bodystringText describing the contents of the tag.
draftbooleantrue makes the release a draft, and false publishes the release.
prereleasebooleantrue to identify the release as a prerelease, false to identify the release as…
make_latesttrue | false | legacySpecifies whether this release should be set as the latest release for the…
discussion_category_namestringIf specified, a discussion of the specified category is created and linked to…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "github_api__repos_update_release",
  "arguments": {
    "owner": "…",
    "repo": "…",
    "release_id": 0
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update a release tool with owner set to ….

More from GitHub API