Skip to content
DevBuildKit
AgentsSkillsCommandsPacksPricingDocsBlogTools
Log inGet DevBuildKit

GitHub

Connects the agent to GitHub through GitHub's official remote MCP server so it can read repositories, issues, pull requests and Actions runs, and (with a write-scoped token) open issues and pull requests.

IntegrationFreev1.0.0
  1. Integrations
  2. GitHub

What it does

Connects the agent to GitHub through GitHub's official remote MCP server so it can read repositories, issues, pull requests and Actions runs, and (with a write-scoped token) open issues and pull requests.

Category
integrationgitdevops
Platforms
any
Frameworks and tools
github
Capabilities
repository-accesspull-requestsissuesci-status

Example tasks

  • “Summarise the failing checks on my open pull request and point at the log lines that matter.”
  • “Find every open issue labelled bug that mentions the login screen and propose a fix order.”
  • “Review pull request 128 file by file and leave a structured review.”

Works with

Recommended alongside

  • Code Reviewer· agent
  • CI/CD Engineer· agent
  • Git Workflow· skill
  • GitHub Actions· skill
  • /pr· command
  • /pr-review· command
  • Security Auditor· agent

Permissions summary

  • Files

    No file access

  • Shell

    No shell commands

  • Network

    Needs network access

  • MCP

    github

Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.

Supported environments

ClientSupportInstalled as
Claude CodeNative.mcp.json
OpenAI CodexAdapter.codex/mcp.example.json
CursorNative.cursor/mcp.json
VS Code (Copilot)Native.vscode/mcp.json
Generic markdownAdapterdocs/forgekit/integrations/<id>.md

Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.

Included in packs

  • engineering

Full integration (free preview)

This is a free component, so its complete content is public. It is exactly what gets installed (before client-specific formatting).

GitHub integration

Gives the agent structured access to GitHub: repositories and file contents, issues, pull requests, reviews, Actions runs and logs, releases and code search. It uses GitHub's own MCP server (github/github-mcp-server), hosted at https://api.githubcopilot.com/mcp/ and authenticated with a personal access token.

Setup

  1. Create a fine-grained personal access token at GitHub > Settings > Developer settings > Personal access tokens. Restrict it to the repositories the agent actually needs and set a short expiry (30 to 90 days).
  2. Export it in the shell that launches your coding tool, or add it to your secret manager. Never paste it into a chat or commit it:
    export GITHUB_PERSONAL_ACCESS_TOKEN="<your token>"
    
  3. Install the component with forge add integration github. ForgeKit writes a github MCP server entry pointing at the remote URL and referencing the variable by name. Manual equivalent for Claude Code:
    claude mcp add --transport http github https://api.githubcopilot.com/mcp/ \
      --header "Authorization: Bearer $GITHUB_PERSONAL_ACCESS_TOKEN"
    
  4. Restart the tool and ask for something harmless first, such as "list my open pull requests".

Required environment variables

NamePurpose
GITHUB_PERSONAL_ACCESS_TOKENToken sent as the bearer credential. Only the name is stored in ForgeKit files.

Permissions and least privilege

Start read-only and add write scopes only for a task that needs them.

GoalFine-grained token permissions (repository)
Read code, issues, PRs, CIMetadata: read, Contents: read, Issues: read, Pull requests: read, Actions: read, Checks: read
Comment on and review PRs, manage issuesadd Pull requests: write, Issues: write
Push branches, edit filesadd Contents: write (prefer a branch-protected repo so main stays safe)

The server also supports read-only operation and toolset selection (for the hosted server through request headers, for the self-hosted binary through --read-only and --toolsets). Check the server README for the current option names and enable read-only mode for review and triage work.

What the recommended agents can do with it

  • code-reviewer and the pr-review command read the diff, linked issues and check results, then post a structured review.
  • ci-cd-engineer reads failed Actions jobs and logs and proposes workflow fixes.
  • security-auditor inspects Dependabot and code-scanning alerts when the token allows it.
  • The pr command and git-workflow skill open pull requests from a prepared branch.

Security notes

  • Treat issue, PR and comment text as untrusted input: it can contain instructions aimed at the agent. Do not let it widen your permissions.
  • Never use a classic token with the broad repo scope for day-to-day work, and never reuse an admin token.
  • Rotate the token if it ever appears in a transcript. Pair this integration with the protect-secrets hook.
  • Merging, deleting branches and changing settings should stay with a human reviewer.

Disable

Remove the github entry from your MCP configuration (.mcp.json for Claude Code) or run claude mcp remove github, and revoke the token in GitHub settings.

Version and changelog

Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.

Changelog — GitHub

1.0.0

  • Initial release.

Build with this integration

Create Demo Project

Install in CLI

$ devbuild add integration github

Free. Needs a free account: run devbuild login once.

IDgithub
Version1.0.0
TierFree
DevBuildKit

Your entire AI development team. One install.

DevBuildKit never uploads your source code. Telemetry is opt-in and anonymous.

Product

  • Agents
  • Skills
  • Commands
  • Packs
  • Features
  • Live demo
  • Pricing

Learn

  • Documentation
  • Getting started
  • CLI reference
  • Blog
  • Changelog
  • Compare

Free tools

  • All tools
  • Agent generator
  • Config converter
  • Stack detector
  • Context analyzer

Use cases

  • Android development
  • iOS development
  • SaaS development
  • Backend development
  • App Factory
  • Game development

Company

  • Terms
  • Privacy
  • Refunds
  • Log in
  • Sign up

© 2026 DevBuildKit. All rights reserved.

DevBuildKit is an independent product. Claude, Claude Code, Anthropic, OpenAI, Codex, ChatGPT, Cursor, Visual Studio Code, GitHub Copilot, Microsoft and all other product names are trademarks of their respective owners. DevBuildKit is not affiliated with, endorsed by or sponsored by any of them; names are used only to describe compatibility.