GitHub Repos Manager MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**Token-based GitHub automation management. No Docker for optimal performance, Flexible configuration for fine-grained control, 89 tools with direct API integration.**
A comprehensive Model Context Protocol (MCP) server that enables your MCP client (Claude Desktop, Roo Code, Cline, Cursor, Windsurf, etc.) to interact with GitHub repositories using your GitHub personal access token.
This tool simplifies managing GitHub repositories using only a GitHub token for setup. By skipping Docker, it avoids unnecessary complexity, delivering fast and effective results through direct API integration.
This server is built using Node.js and provides a complete toolkit for repository management, issue tracking, collaboration management, and more, all while leveraging the GitHub API for optimal performance.
Skip to Quick Setup and MCP Client Configuration
🚀 Key Advantages over other GitHub Automation MCP Servers
🎯 **Simplicity**: Token-based access eliminates complexity.
🌿 **Efficiency**: No Docker ensures lightweight, optimal performance.
💪 **Power**: 89 tools with direct API integration offer unmatched flexibility.
🔒 **Flexibility**: Fine-grained control with configurable tools.
🎯 Simple Setup & Operation
✅ **No Docker required** - Simple Node.js server that runs anywhere
✅ **One token setup** - Only needs a GitHub Personal Access Token to work
✅ **Direct API integration** - No dependency on gh CLI, faster and more reliable
✅ **Zero configuration** - Works out of the box with just the token
🔒 Advanced Security & Control
✅ **Allowed repositories** - Restrict operations to specific repos or owners
✅ **Tool management** - Enable/disable specific tools for fine-grained control
✅ **Default repository** - Set a default repo for streamlined workflows
✅ **Flexible permissions** - Configure exactly what the server can access
💪 Powerful Features
✅ **Comprehensive toolkit** - 89 powerful tools for complete GitHub workflow
✅ **Branch & commit management** - Create branches, explore history, compare changes
✅ **Image upload support** - Upload and embed images directly in issues
✅ **Advanced filtering** - Sort, filter, and search with multiple criteria
✅ **Rate limit handling** - Built-in GitHub API rate limit management
🎯 Complete Feature Set
📁 Repository Management
- **Smart repository listing** with filtering by visibility (public/private/all) and sorting options
- **Detailed repository information** including stats, URLs, and metadata
- **File and directory browsing** with support for specific branches/commits
- **Repository search** across all of GitHub with advanced sorting
- **Default repository setting** for streamlined workflows
🎫 Advanced Issue Management
- **Complete issue lifecycle** - create, edit, list, and manage states
- **Rich content support** - upload and embed images directly in issues
- **Label management** - add, remove, and organize with custom labels
- **Assignee management** - assign/unassign team members
- **Issue locking/unlocking** with customizable reasons
- **Comment system** - create, edit, delete, and list issue comments
- **State management** - open, close, and track issue progress
🔄 Pull Request Management
- **Pull request listing** with state filtering and sorting
- **Comprehensive PR information** including branch details and status
🌿 Branch & Commit Management
- **Branch operations** - list all branches with protection status and latest commits
- **Branch creation** - create new branches from existing branches or commits
- **Commit history** - explore commit history with advanced filtering (date, author, branch)
- **Commit details** - get comprehensive commit information including file changes
- **Commit comparison** - compare any two commits, branches, or tags to see differences
👥 Collaboration & User Management
- **User profile information** for any GitHub user or your own account
- **Repository collaborator management** with permission filtering
- **Team collaboration tools** for managing access and permissions
🎨 Advanced Capabilities
- **Image upload and embedding** - upload local images directly to GitHub
- **Batch operations** - manage multiple assignees, labels, and comments
- **Flexible authentication** - secure token-based GitHub API access
- **Smart error handling** - comprehensive error reporting and recovery
Prerequisites
Minimal Requirements - It's That Simple!
1. **Node.js** (version 18 or higher) - That's it!
2. **GitHub Personal Access Token (PAT)** - The only configuration needed
- Go to GitHub → Settings → Developer settings → Personal access tokens → Tokens (classic) or Fine-grained tokens.