Home / Servers / GitHub API / repos_create_release

Create a release

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

Create a release Users with push access to the repository can create a release. > [!NOTE] > If the commit identified by target_commitish (or, when target_commitish is omitted, the latest commit on the default… [POST /repos/{owner}/{repo}/releases]

Name on the gateway: github_api__repos_create_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…
tag_name requiredstringThe 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 to create a draft (unpublished) release, false to create a published one.
prereleasebooleantrue to identify the release as a prerelease. false to identify the release as…
discussion_category_namestringIf specified, a discussion of the specified category is created and linked to…
generate_release_notesbooleanWhether to automatically generate the name and body for this release. If name…
make_latesttrue | false | legacySpecifies whether this release should be set as the latest release for the…

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_create_release",
  "arguments": {
    "owner": "…",
    "repo": "…",
    "tag_name": "…"
  }
}

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 create a release tool with owner set to ….

More from GitHub API