Integrations
Enables repository management, file operations (create, update, read), issue tracking, pull request creation, branch management, search capabilities, and commit history viewing through the GitHub API.
GitHub MCP Server
A Model Context Protocol (MCP) server for interacting with GitHub. This tool allows AI assistants to perform various GitHub operations including repository management, file operations, issue tracking, and more.
Features
- Repository Operations: Create repositories, fork repositories
- File Operations: Create, update, and read files, push multiple files in a single commit
- Issue Management: Create, update, list, and comment on issues
- Pull Requests: Create pull requests
- Branch Management: Create branches
- Search Capabilities: Search code, repositories, issues, and users
- Commit History: List commits
Setup
Prerequisites
- Node.js 18 or higher
- A GitHub Personal Access Token with appropriate permissions
Installation
- Clone this repository
- Install dependencies:Copy
- Build the project:Copy
Configuration
This MCP server requires a GitHub Personal Access Token to authenticate with the GitHub API. The token should be provided as an environment variable:
When deploying with Smithery, the token is configured through the githubPersonalAccessToken
configuration option.
Usage
Running Locally
To run the server locally:
Deploying with Smithery
This repository includes the necessary configuration files for deploying with Smithery:
Dockerfile
: Defines how to build the Docker image for the MCP serversmithery.yaml
: Configures how Smithery should start the MCP server
Refer to the Smithery documentation for deployment instructions.
Development
Building
Linting
License
MIT
This server cannot be installed
A Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.