251
All tools
GitHubG

by GitHub

Create an issue

Opens a new issue in a repository with a title, body, labels and assignees.

Updated Sep 26, 2026

create-issue.md

Create an issue

Opens a new issue in a repository with a title, body, labels and assignees.

Note: On MCP, issue_write also updates issues: pass method: create with owner, repo and title.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "github": { "url": "https://api.githubcopilot.com/mcp/" } } }

Call the MCP tool issue_write.

Server URL: https://api.githubcopilot.com/mcp/

CLI (official)

Install the command and sign in with it, then confirm it runs.

brew install gh
gh --version

Run gh issue create.

API (official)

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
  • Never print API keys.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remoteissue_writeOAuthDocs
CLIOfficialgh issue createOAuthDocs
APIOfficialPOST /repos/{owner}/{repo}/issuesAPI key in $GITHUB_TOKENDocs

Workflows using Create an issue

No workflows yet
No published workflow uses Create an issue yet.