Skip to content

Engineering, projects & design

GitHub MCP for pull request, review and Actions questions

GitHub is Microsoft’s code hosting platform. Engineering organizations keep repositories there along with pull requests and code reviews, issues and Projects, GitHub Actions workflow runs, deployments and, with GitHub Code Security and GitHub Secret Protection, code scanning and secret scanning, alongside Dependabot alerts. Work is grouped by organization, repository and team.

GitHub

Available now: Nexatron answers GitHub questions with user-level access that inherits your existing GitHub permissions.

Updated

Can Claude, ChatGPT or Copilot access GitHub data?

Yes. To connect Claude, ChatGPT or Copilot to GitHub, add Nexatron from Claude’s connector directory, or by its MCP server URL in ChatGPT and Copilot. Then connect it in Nexatron. Users sign in with their own GitHub account (or your SSO), and Nexatron inherits their existing permissions.

What GitHub data a question reads

Repository
Name, visibility, default branch, topics, language, team access and archived status within an organization.
Pull request and review
Author, base and head branch, created, merged and closed times, additions and deletions, requested reviewers, review states (approved, changes requested) and review comments.
Issue
Issues with labels, assignees, milestone, state reason and timestamps, plus their place in GitHub Projects with custom fields.
Workflow run (Actions)
Runs of each workflow with event, branch, conclusion (success, failure, cancelled), run attempt, start and end time, and the jobs inside.
Deployment
Deployments to environments with status history, used for deployment frequency and lead time measures.
Security alerts
Code scanning, secret scanning and Dependabot alerts with severity, state, created and fixed dates per repository.

GitHub questions people ask

  • What is the median time from pull request opened to first review across the platform team’s repositories this month?
  • Which repositories have the highest share of pull requests merged without an approving review?
  • How often did the deploy workflow fail on main last week, and which jobs failed most?
  • What is our deployment frequency to the production environment per service over the last quarter?
  • How many critical Dependabot alerts are open longer than 30 days, by repository and owning team?
  • Which pull requests have been open for more than ten days with changes requested and no new commits?
  • How many issues labeled bug were opened versus closed per week in the mobile repositories?

Who asks GitHub questions

Engineering managers
Review wait, pull request cycle time and stale pull requests by team, from the timestamps GitHub already stores.
Platform and DevOps engineers
Actions failure rates, flaky jobs and deployment frequency per environment.
Security engineering
Open alert counts, age and time to fix by severity and repository.

How Nexatron connects to GitHub

API and sign-in
The GitHub REST and GraphQL APIs, through a GitHub App with user-to-server OAuth tokens for a signed-in user, an OAuth app, or fine-grained personal access tokens with read permissions.
User-level access
Users sign in with their own GitHub account (or your SSO), and Nexatron inherits their existing permissions. Users only see data they are already authorized to see.
Read-only
Questions only read GitHub; asking a question never changes GitHub data.
Setup
An administrator enables GitHub in Nexatron. Users link their own GitHub account, or sign in through your SSO, the first time they ask. Queries run in GitHub, with no warehouse to load.

GitHub in Claude’s connector directory

Nexatron is listed in Claude’s MCP connector directory, so a Claude user can add it without a custom server URL. Its hosted MCP server answers GitHub questions for Claude, ChatGPT and Microsoft Copilot with user-level access, and the same governed answer as the Nexatron app. It is Nexatron’s own server, not one published by the vendor.

  1. Connect GitHub to your Nexatron workspace.
  2. In Claude, add Nexatron from Claude’s connector directory. In ChatGPT or Copilot, add a custom MCP connector with Nexatron’s server URL.
  3. Sign in with your own Nexatron identity (OAuth 2.1), then ask your GitHub questions.

Server URL for a custom connector: https://api.nexatron.io/api/v1/mcp

GitHub questions and answers

How is GitHub’s official MCP server different from this?
GitHub publishes an official MCP server that lets assistants browse code, manage issues and pull requests and run actions in repositories. Nexatron’s GitHub connection focuses on read-only engineering analytics such as cycle time, review load and failure rates, with the query and repositories behind each number shown.
How do I measure pull request cycle time in GitHub?
GitHub records created, first review, approval and merge timestamps on every pull request, so cycle time and review wait can be calculated per repository or team. Nexatron states which events it treats as start and end, and whether drafts are included.
Can GitHub data be used for DORA metrics?
Deployment frequency and lead time for changes come from deployments and merged pull requests, and change failure rate needs a way to mark failed deployments or incidents. Answers say which of those signals your repositories record.
Does GitHub have an analytics API?
There is no single analytics endpoint. The REST and GraphQL APIs expose pull requests, reviews, Actions runs and alerts, and organizations on Enterprise Cloud also get usage and audit log APIs.