Home / Servers / GitHub API / repos_create_commit_status

Create a commit status

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

Create a commit status Users with push access in a repository can create commit statuses for a given SHA. Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000… [POST /repos/{owner}/{repo}/statuses/{sha}]

Name on the gateway: github_api__repos_create_commit_status · 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…
sha requiredstringsha parameter
state requirederror | failure | pending | successThe state of the status.
target_urlstringThe target URL to associate with this status. This URL will be linked from the…
descriptionstringA short description of the status.
contextstringA string label to differentiate this status from the status of other systems.…

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__repos_create_commit_status",
  "arguments": {
    "owner": "…",
    "repo": "…",
    "sha": "…",
    "state": "…"
  }
}

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 a commit status tool with owner set to ….

More from GitHub API