Github MCP Server - Barndoor Documentation

Github

SecureBarndoor ManagedDeveloper Tools & DevOps

Summary: GitHub is the leading platform for software development and version control, enabling teams to collaborate on code, manage repositories, track issues, and automate workflows across the entire development lifecycle.

How Teams Use It: With the Barndoor-Managed GitHub MCP Server, teams can safely connect AI agents to read and update repositories, manage issues, create pull requests, review code, search across projects, and even collaborate with GitHub Copilot — all while enforcing branch protections, permissions, and repository security policies.

Click for sound

Tools

Tool Name Tool Description Tool Type
Add Issue Comment Adds a comment to a specific issue or pull request. Use the issue/PR number as issue_number. Requires owner, repo, issue number, and comment body. Create
Add Pending Review Comment Adds a review comment to an existing pending pull request review. A pending review must already exist. Requires owner, repo, pull number, path, body, and subject type. Create
Assign Copilot To Issue Assigns GitHub Copilot to work on a specific issue. Copilot may create a PR with code changes to resolve the issue. Requires owner, repo, and issue number. Execute
Create Branch Creates a new branch in a GitHub repository. Can specify source branch or use repo default. Requires owner, repo, and branch name. Create
Create Or Update File Creates or updates a single file in a GitHub repository remotely. If updating, provide the file's SHA. Requires owner, repo, path, content, message, and branch. Create
Create Pull Request Creates a new pull request in a GitHub repository. Can create as draft. Requires owner, repo, title, head branch, and base branch. Create
Create Repository Creates a new GitHub repository in your account or an organization. Can initialize with README. Requires repository name. Create
Delete File Deletes a file from a GitHub repository. Creates a commit removing the file. Requires owner, repo, path, message, and branch. Delete
Fork Repository Forks a GitHub repository to your account or a specified organization. Creates a copy under your control. Requires owner and repo. Create
Get Commit Retrieves details for a specific commit including diffs and stats. Returns commit message, author, and changes. Requires owner, repo, and SHA. Read
Get Current User Retrieves information about the authenticated user. Returns username, name, and profile details. No required inputs. Read
Get File Contents Gets the contents of a file or directory from a GitHub repository. Returns file content or directory listing. Requires owner, repo, and path. Read
Get Label Retrieves details for a specific label in a repository. Returns label name, color, and description. Requires owner, repo, and label name. Read
Get Latest Release Retrieves the latest release for a repository. Returns release name, tag, and assets. Requires owner and repo. Read
Get Release By Tag Retrieves a specific release by its tag name. Returns release details and assets. Requires owner, repo, and tag. Read
Get Tag Retrieves details for a specific Git tag. Returns tag name, message, and commit SHA. Requires owner, repo, and tag. Read
Get Team Members Retrieves members of a specific GitHub team. Returns member usernames and roles. Requires organization and team slug. Read
Get Teams Retrieves teams in an organization. Returns team names and IDs. Requires organization. Read
List Branches Lists all branches in a repository. Returns branch names and protection status. Requires owner and repo. Read
List Commits Lists commits in a repository with optional filtering. Returns commit messages, authors, and dates. Requires owner and repo. Read