Home / Servers / GitHub API / repos_create_deployment_status
Create a deployment status
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a deployment status Users with push access can create deployment statuses for a given deployment. OAuth app tokens and personal access tokens (classic) need the repo_deployment scope to use this endpoint. [POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses]
Name on the gateway: github_api__repos_create_deployment_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… |
deployment_id required | integer | deployment_id parameter |
state required | error | failure | inactive | in_progress | queued | pending | success | The state of the status. When you set a transient deployment to inactive, the… |
target_url | string | The target URL to associate with this status. This URL should contain output… |
log_url | string | The full URL of the deployment's output. This parameter replaces target_url.… |
description | string | A short description of the status. The maximum description length is 140… |
environment | string | Name for the target deployment environment, which can be changed when setting… |
environment_url | string | Sets the URL for accessing your environment. Default: "" |
auto_inactive | boolean | Adds a new inactive status to all prior non-transient, non-production… |
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_deployment_status",
"arguments": {
"owner": "…",
"repo": "…",
"deployment_id": 0,
"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 deployment status tool with owner set to ….