GitHub MCP Server
@PoliTwit1984
An MCP server that enables natural language commands for managing GitHub repositories
Overview
What is GitHub MCP Server?
GitHub MCP Server is a Model Context Protocol (MCP) server that provides tools for interacting with GitHub’s API. It is designed for developers who want to create and update GitHub repositories using natural language commands directly from an MCP client.
How to use GitHub MCP Server?
Install dependencies with npm install, build with npm run build, then configure the server in your MCP settings file with a GitHub personal access token (GITHUB_TOKEN). Invoke the tool create_repo with a natural language command to create or update repositories.
Key features of GitHub MCP Server
- Create GitHub repositories with auto-generated names from descriptions
- Add topics/tags to repositories
- Set repository homepages
- Auto-initialize repositories with README files
- Update existing repository descriptions, tags, and websites
Use cases of GitHub MCP Server
- Quickly bootstrap a new project repository described in plain English
- Add or update topics on an existing repository for better organization
- Set or change a repository’s homepage URL
- Batch update repository metadata via natural language commands
FAQ from GitHub MCP Server
What does GitHub MCP Server do?
It provides a tool (create_repo) that lets you create and update GitHub repositories (description, topics, website) using natural language commands.
What are the runtime requirements?
Node.js and npm are required. The server must be built with npm run build before use.
How do I authenticate with GitHub?
You need a GitHub personal access token with repository creation permissions. Set it as the GITHUB_TOKEN environment variable in the MCP server configuration.
Can I update an existing repository?
Yes, the create_repo tool supports updating a repository’s description, tags, or website by specifying the repository name or owner/repo in the command.
Does the server support other GitHub features like issues or pull requests?
No, the README only describes repository creation and updates (description, tags, homepage). No other API endpoints are currently listed.