GitHub MCP Server
Provides tools for interacting with GitHub's API, enabling repository creation, pushing content to repositories, and retrieving user information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub MCP Servercreate a new repository called 'project-notes' with description 'My personal notes repository'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub MCP Server
A Model Context Protocol (MCP) server implementation for GitHub integration. This server provides tools for interacting with GitHub's API through the MCP protocol.
Features
Create GitHub repositories
Push content to repositories
Get user information
Proper error handling and TypeScript type safety
Automatic installation script
Related MCP server: GitHub MCP Server Plus
Prerequisites
Node.js (v18 or higher)
npm (v8 or higher)
PowerShell (for Windows installation)
GitHub Personal Access Token with repo scope
Installation
Windows
Clone this repository:
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.gitRun the installation script:
.\install.ps1The script will:
Create the necessary directories
Install dependencies
Build the TypeScript code
Configure the MCP settings
Manual Installation
Create the MCP directory:
mkdir -p "$env:APPDATA\Roo-Code\MCP\github-mcp"Clone this repository into that directory:
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git "$env:APPDATA\Roo-Code\MCP\github-mcp"Install dependencies:
cd "$env:APPDATA\Roo-Code\MCP\github-mcp"
npm installBuild the TypeScript code:
npm run buildAdd the server configuration to your MCP settings file at:
%APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
{
"mcpServers": {
"github": {
"command": "node",
"args": [
"%APPDATA%\Roo-Code\MCP\github-mcp\build\index.js"
],
"env": {
"GITHUB_TOKEN": "your-github-token-here"
},
"disabled": false,
"alwaysAllow": []
}
}
}Available Tools
get_user
Get GitHub user information.
{
"username": "octocat"
}create_repo
Create a new GitHub repository.
{
"repo_name": "my-new-repo",
"description": "A new repository",
"private": false
}push_to_repo
Push content to a GitHub repository.
{
"repo_name": "my-repo",
"file_path": "docs/README.md",
"content": "# My Project\nThis is a test file.",
"message": "Add README file"
}Development
Clone the repository
Install dependencies:
npm installMake changes to
src/index.tsBuild:
npm run buildTest your changes
Contributing
Fork the repository
Create a feature branch
Commit your changes
Push to the branch
Create a Pull Request
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- -license-qualityBmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.Last updated134,34689,135MIT
- AlicenseBqualityDmaintenanceMCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.Last updated18308MIT
- Flicense-qualityDmaintenanceEnables managing GitHub repositories, files, and user information through MCP, with support for creating, updating, and deleting repository contents, as well as fetching user profiles.Last updated1
- Alicense-qualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.Last updated17MIT
Related MCP Connectors
GitHub Private MCP Pack — access private repos, org data via OAuth.
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/oghenetejiriorukpegmail/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server