Home / Servers / GitHub API / issues_create

Create an issue

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

Create an issue Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status. This endpoint triggers notifications. Creating content too… [POST /repos/{owner}/{repo}/issues]

Name on the gateway: github_api__issues_create · 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…
title requiredstringThe title of the issue.
bodystringThe contents of the issue.
assigneestringLogin for the user that this issue should be assigned to. _NOTE: Only users…
milestonestring
labelsarrayLabels to associate with this issue. _NOTE: Only users with push access can…
assigneesarrayLogins for Users to assign to this issue. _NOTE: Only users with push access…
issue_field_valuesarrayAn array of issue field values to set on this issue. Each field value must…
typestringThe name of the issue type to associate with this issue. _NOTE: Only users…
parent_issue_idintegerThe id of the parent issue to add this issue to as a sub-issue. _NOTE: Only…

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

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 an issue tool with owner set to ….

More from GitHub API