run_id
The ID of the workflow run. Required for all methods except 'runworkflow'. (number, optional)
How to use it
run_id is exposed by the Github MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the run_id tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Github MCP Server
claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=$GITHUB_PAT -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverOther tools in Github MCP Server (39)
Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
List GitHub Actions workflows in a repository
Trigger GitHub Actions workflow actions
The number of the alert. (number, required)
Assign Copilot to issue
Git reference (e.g., branch) that the agent will start its work from. If not specified, defaults to the repository's default branch (string, optional)
Optional custom instructions to guide the agent beyond the issue body. Use this to provide additional context, constraints, or guidance that is not captured in the issue description (string, optional)
When true, gets logs for all failed jobs in the workflow run specified by runid. Requires runid to be provided. (boolean, optional)
The number of the finding. (number, required)
Get code quality finding
Get code scanning alert
Get GitHub Actions workflow job logs
Get my user profile
Get team members
Get teams
Inputs the workflow accepts. Only used for 'runworkflow' method. (object, optional)
Issue number (number, required)
The unique identifier of the workflow job. Required when getting logs for a single job. (number, optional)
List code scanning alerts
The method to execute (string, required)
Organization login (owner) that contains the team. (string, required)
Repository owner (string, required)
Page number for pagination (default: 1) (number, optional)
Results per page for pagination (default: 30, max: 100) (number, optional)
Results per page for pagination (min 1, max 100) (number, optional)
The git reference for the workflow. The reference can be a branch or tag name. Required for 'runworkflow' method. (string, optional)
Repository name (string, required)
Request Copilot review
The unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID:
Returns actual log content instead of URLs (boolean, optional)
Filter code scanning alerts by severity (string, optional)
Filter code scanning alerts by state. Defaults to open (string, optional)
Number of lines to return from the end of the log (number, optional)
Team slug (string, required)
The name of the tool used for code scanning. (string, optional)
Username to get teams for. If not provided, uses the authenticated user. (string, optional)
The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml). Required for 'runworkflow' method. (string, optional)
Filters for workflow jobs. ONLY used when method is 'listworkflowjobs' (object, optional)
Filters for workflow runs. ONLY used when method is 'listworkflowruns' (object, optional)