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
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.
Related MCP Servers
- -securityAlicense-qualityA server that allows AI assistants to browse and read files from specified GitHub repositories, providing access to repository contents via the Model Context Protocol.Last updated -3JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI agents to retrieve and understand entire codebases at once, providing tools to analyze local workspaces or remote GitHub repositories.Last updated -9TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.Last updated -1JavaScript
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.Last updated -129Python