Home / Servers / GitHub API / git_create_tag
Create a tag object
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a tag object Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then… [POST /repos/{owner}/{repo}/git/tags]
Name on the gateway: github_api__git_create_tag · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
tag required | string | The tag's name. This is typically a version (e.g., "v0.0.1"). |
message required | string | The tag message. |
object required | string | The SHA of the git object this is tagging. |
type required | commit | tree | blob | The type of the object we're tagging. Normally this is a commit but it can… |
tagger | object | An object with information about the individual creating the tag. |
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:
{
"name": "github_api__git_create_tag",
"arguments": {
"owner": "…",
"repo": "…",
"tag": "…",
"message": "…",
"object": "…",
"type": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
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 tag object tool with owner set to ….