github-mcp
GitHub Manager MCP Server is a TypeScript-based server that facilitates the management of GitHub organizations, repositories, and collaborators via the GitHub API. It offers tools for listing and creating repositories, adding collaborators, and updating settings, and is integrated with Claude Desktop.
GitHub Manager MCP Server
A Model Context Protocol server for GitHub management
This TypeScript-based MCP server provides tools for managing GitHub organizations, repositories, and collaborators through the GitHub API.
Features
GitHub Management Tools
list_orgs
: List GitHub organizations the authenticated user belongs tolist_repos
: List repositories in a specified organizationcreate_repo
: Create a new repository in an organizationadd_collaborator
: Add a collaborator to a repositoryupdate_repo_settings
: Update repository settings
Development
Installation
npm install
Build
npm run build
Development with Auto-rebuild
npm run watch
Testing
Run unit tests:
npm test
Run tests with coverage:
npm run test:coverage
Configuration
Environment Variables
GITHUB_TOKEN
: GitHub personal access token with required scopes
MCP Server Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"github-manager": {
"command": "/path/to/github-manager/build/index.js",
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
Debugging
We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.