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
| 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… |
issue_number required | integer | The number that identifies the issue. |
title | string | The title of the issue. |
body | string | The contents of the issue. |
assignee | string | Username to assign to this issue. **This field is closing down.** |
state | open | closed | The open or closed state of the issue. |
state_reason | completed | not_planned | duplicate | reopened | The reason for the state change. Ignored unless state is changed. |
duplicate_issue_id | integer | The ID of the issue that this issue duplicates, used when marking this issue… |
milestone | string | |
labels | array | Labels to associate with this issue. Pass one or more labels to _replace_ the… |
assignees | array | Usernames to assign to this issue. Pass one or more user logins to _replace_… |
issue_field_values | array | An array of issue field values to set on this issue. Each field value must… |
type | object | The 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:
{
"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:
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 ….