- Home
- MCP servers
- GitHub
GitHub
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"oghenetejiriorukpegmail-github-mcp": {
"command": "node",
"args": [
"%APPDATA%\\\\Roo-Code\\\\MCP\\\\github-mcp\\\\build\\\\index.js"
],
"env": {
"GITHUB_TOKEN": "YOUR_GITHUB_TOKEN_HERE"
}
}
}
}A GitHub MCP Server lets you manage GitHub interactions through the MCP protocol. It enables you to fetch user information, create repositories, and push content to GitHub from your MCP client, all with type-safe TypeScript tooling and guided setup.
How to use
You interact with the GitHub MCP Server by starting it in your environment and issuing MCP-compatible tool calls from your client. The server exposes endpoints for common GitHub actions, including getting user information, creating repositories, and pushing files to repositories. Provide your GitHub Personal Access Token with repo scope through the configured environment, and reference the server via its MCP connection setup in your client configuration.
How to install
Prerequisites you need before installing on Windows or the manual setup path:
-
Node.js (v18 or higher)
-
npm (v8 or higher)
-
PowerShell (for Windows installation)
-
GitHub Personal Access Token with repo scope
Windows installation
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git
.\install.ps1
Manual installation
mkdir -p "$env:APPDATA\Roo-Code\MCP\github-mcp"
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git "$env:APPDATA\Roo-Code\MCP\github-mcp"
cd "$env:APPDATA\Roo-Code\MCP\github-mcp"
npm install
npm run build
%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": []
}
}
}
Additional configuration and notes
The server expects the GitHub access token to be available as an environment variable for authentication. The explicit configuration snippet above shows how to wire this token into the server process. Ensure the token has the correct repo scope to perform the requested actions.
Available tools
get_user
Get GitHub user information.
create_repo
Create a new GitHub repository.
push_to_repo
Push content to a GitHub repository.