GitHub MCP Server
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.
GitHub MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with GitHub's API. Currently supports creating repositories with descriptions, topics, and website URLs.
Features
- Create GitHub repositories with auto-generated names from descriptions
- Add topics/tags to repositories
- Set repository homepages
- Auto-initialize repositories with README files
Installation
- Clone the repository
- Install dependencies:
- Build the server:
Configuration
The server requires a GitHub personal access token with repository creation permissions. Add the following to your MCP settings file:
Available Tools
create_repo
Create or update GitHub repositories using natural language commands.
Command Format
The tool accepts natural language commands for different operations:
Creating repositories:
or
Updating repository description:
or
Updating repository tags:
or
Updating repository website:
or
Example Usage
Creating a new repository:
This will:
- Create a repository named "my-machine-learning-image-classifier"
- Set the description as "my machine learning image classifier"
- Add "python", "tensorflow", and "computer-vision" as repository topics
- Set the website to "https://example.com/docs"
- Initialize with a README file
Updating repository description:
Updating repository tags:
Updating repository website:
The tool understands various natural language patterns and keywords:
- Create/make/new for creating repositories
- Update/change/set/modify for updating repositories
- "description to/as" for updating descriptions
- "tags/topics to/as" for updating tags
- "website/homepage/url to/as" for updating websites
Development
To modify or extend the server:
- Make changes to
src/index.ts
- Rebuild the server:
License
MIT
You must be authenticated.
A 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.