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
| 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… |
sha required | string | sha parameter |
state required | error | failure | pending | success | The state of the status. |
target_url | string | The target URL to associate with this status. This URL will be linked from the… |
description | string | A short description of the status. |
context | string | A 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:
{
"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:
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 ….