github-mcp

Manages GitHub issues, pull requests, CI checks, code search, and releases via MCP tools.

Updated May 20, 2026
One-click install
npx skills add https://github.com/ZawilecxD/trAInR --skill github-mcp-zawilecxd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-mcp
Source: https://github.com/ZawilecxD/trAInR/tree/main/.cursor/skills/github-mcp
Command: npx skills add https://github.com/ZawilecxD/trAInR --skill github-mcp-zawilecxd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating GitHub workflows for the trAInR project—filing issues, opening PRs, diagnosing CI failures, searching code, and cutting releases—requires repetitive manual steps and consistent conventions that are easy to get wrong. ## Core Features & Use Cases - Issue and PR Management: Creates issues with lowercase imperative titles and labels, and opens PRs against master with a standardized Summary/Test plan body format. - CI Failure Diagnosis: Fetches failed job logs via get_job_logs with failed_only=true, then reports the failing step, relevant log lines, and a suggested fix. - Scoped Code Search & Releases: Runs search_code scoped to owner:ZawilecxD repo:trAInR and tags semver releases on master after CI passes. - Use Case: After a Vercel deployment fails, ask the assistant to check CI status; it retrieves the failed job logs, identifies the lint error, and suggests the fix. ## Quick Start Ask the assistant to create a GitHub issue for a bug you found in the trAInR repo, including relevant labels and file references.

Frequently Asked Questions about github-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub issue with the GitHub MCP server?

Invoke the issues MCP tool with owner and repo parameters, using a lowercase imperative title and applying labels like bug or enhancement when available. Link relevant files or routes in the issue body for context.

How do I diagnose a failed GitHub Actions CI run?

Call get_job_logs with failed_only=true and the run_id of the failed workflow. Report which step failed, quote the relevant log lines, and suggest a concrete fix based on the error output.

Why does a GitHub MCP tool return not available?

The required toolset may be opt-in and not enabled in your MCP server configuration, or your personal access token lacks the required OAuth scope. Check the setup documentation for the full toolset list and required scopes.

What format should a pull request body follow?

Use a Summary section with one to three bullet points followed by a Test plan checklist of what to verify. Target the master branch and confirm the CI gate of lint plus build passes before merging.

How do I search code across a GitHub repository with MCP?

Use the search_code tool scoped with owner and repo qualifiers, such as owner:ZawilecxD repo:trAInR. This works for cross-file symbol or pattern lookups within the repository.