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.
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
npm installnpm run buildnpm run watchRun unit tests:
npm testRun tests with coverage:
npm run test:coverageGITHUB_TOKEN: GitHub personal access token with required scopes
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"
}
}
}
}We recommend using the MCP Inspector, which is available as a package script:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.