Home / Servers / GitHub API / issues_update

Update an issue

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

Update an issue Issue owners and users with push access or Triage role can edit an issue. This endpoint supports the following custom media types. For more information, see "Media types."… [PATCH /repos/{owner}/{repo}/issues/{issue_number}]

Name on the gateway: github_api__issues_update · 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…
issue_number requiredintegerThe number that identifies the issue.
titlestringThe title of the issue.
bodystringThe contents of the issue.
assigneestringUsername to assign to this issue. **This field is closing down.**
stateopen | closedThe open or closed state of the issue.
state_reasoncompleted | not_planned | duplicate | reopenedThe reason for the state change. Ignored unless state is changed.
duplicate_issue_idintegerThe ID of the issue that this issue duplicates, used when marking this issue…
milestonestring
labelsarrayLabels to associate with this issue. Pass one or more labels to _replace_ the…
assigneesarrayUsernames to assign to this issue. Pass one or more user logins to _replace_…
issue_field_valuesarrayAn array of issue field values to set on this issue. Each field value must…
typeobjectThe issue type to associate with this issue. Only users with push access can…

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__issues_update",
  "arguments": {
    "owner": "…",
    "repo": "…",
    "issue_number": 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 an issue tool with owner set to ….

More from GitHub API