get_userLABSCO SUMMARY
Enough to get a new project onto GitHub, and no more.
Three calls: look up a user, create the repository, push a file. If what you want is a new repo scaffolded from a conversation, that is the whole job - issues, pull requests and branches sit outside it.
What it is
A small TypeScript server over the GitHub API with three calls: read a user's public information, create a repository, and push a file's contents to one with a commit message.
What you get
- A repository created with a name, a description, and public or private set
- A file written to a repository at the path you give, with its content and a commit message
- Public information for any GitHub user, by username
Requirements
Node 18 or newer, npm 8 or newer, and a GitHub personal access token carrying the repo scope, set in your client config. The scripted install is PowerShell and targets Roo-Code's MCP directory on Windows; elsewhere the steps are clone, npm install, npm run build, then a config entry pointing at the build output.
Setup effort
Build from source — mkdir -p "$env:APPDATA\Roo-Code\MCP\github-mcp"
USE CASES
Getting a new project onto GitHub
Create the repository public or private, then push the first file with its commit message - no local git setup in between.
Adding a file to a repository you already have
Give the path, the content and the message, and the file lands as a commit.
Checking an account before you reference it
Read the public profile for a username, so a handle going into a README or a config is confirmed rather than assumed.
3 tools
Listed in project docs. Your client may show a different list.
create_repopush_to_repoBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
- node on PATH
- Node.js
- npm
- GITHUB_TOKEN in your environment
- PowerShell (for Windows installation)
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
This one is built from source rather than installed with a single command.
Server setup
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 buildMCP Clients
Roo Code
{
"mcpServers": {
"github": {
"command": "node",
"args": [
"%APPDATA%\\Roo-Code\\MCP\\github-mcp\\build\\index.js"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
},
"disabled": false,
"alwaysAllow": []
}
}
}This goes in Roo Code’s MCP settings file, %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json. The path in args is the folder the steps above cloned and built. <YOUR_GITHUB_TOKEN> is a GitHub personal access token that has repo scope.