MCP Server for GitHub API integration - repository management, issue tracking, pull requests, labels, milestones, and pagination support
Find a file
Jonas Hanisch 8501b5cd65
All checks were successful
Publish Package / publish (push) Successful in 26s
Merge develop → main: Release v2.0.0
Complete refactor with comprehensive improvements:

 New Features:
- Pagination support for all list operations
- Label management (list, create)
- Milestone management (list, create)
- Enhanced issue creation with assignees

🏗️ Architecture:
- Modular structure (types, handlers, tool-definitions, github-service)
- 100% TypeScript type safety
- Complete JSDoc documentation
- index.ts: 382 → 102 lines (74% reduction)

🧪 Testing:
- 14 comprehensive unit tests
- Full test coverage with Vitest

📦 Dependencies:
- MCP SDK upgraded to 1.20.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 11:51:28 +02:00
.forgejo/workflows fix: use direct authentication token in CI workflow (v1.0.5) 2025-10-07 17:09:38 +02:00
src Refactor to v2.0.0: Modular architecture with labels & milestones 2025-10-10 11:51:14 +02:00
.gitignore fix: registry configuration for scope-based installation (v1.0.1) 2025-10-07 12:34:08 +02:00
CHANGELOG.md Refactor to v2.0.0: Modular architecture with labels & milestones 2025-10-10 11:51:14 +02:00
package-lock.json Refactor to v2.0.0: Modular architecture with labels & milestones 2025-10-10 11:51:14 +02:00
package.json Refactor to v2.0.0: Modular architecture with labels & milestones 2025-10-10 11:51:14 +02:00
README.md Refactor to v2.0.0: Modular architecture with labels & milestones 2025-10-10 11:51:14 +02:00
tsconfig.json Implement GitHub MCP Server with REST API v3 integration 2025-10-07 11:01:10 +02:00
vitest.config.ts Refactor to v2.0.0: Modular architecture with labels & milestones 2025-10-10 11:51:14 +02:00

🐙 github-mcp

Version CI Status License NPM

MCP Server for GitHub API integration - manage repositories, issues, and pull requests.

Features

Repository Operations

  • 🔍 search_repos - Search repositories
  • 📋 list_repos - List user/org repositories
  • 🔍 get_repo - Get repository details

Issue Management

  • 📝 list_issues - List issues in a repository
  • create_issue - Create new issue
  • 💬 comment_issue - Add comment to issue
  • 🏷️ add_labels - Add labels to issue
  • close_issue - Close an issue

Pull Request Operations

  • 🔀 list_prs - List pull requests
  • create_pr - Create pull request
  • 💬 comment_pr - Comment on pull request
  • 📄 get_pr_diff - Get PR diff
  • merge_pr - Merge pull request

GitHub Actions

  • 🚦 list_workflows - List repository workflows
  • 🔄 trigger_workflow - Trigger workflow run
  • 📊 get_workflow_runs - Get workflow run status

Commits & Branches

  • 📝 list_commits - List commits
  • 🌿 list_branches - List branches
  • create_branch - Create new branch

Installation

npm install
npm run build

Configuration

Set environment variables:

Usage

export GITHUB_TOKEN="your-token-here"
npm start

API Reference

GitHub REST API v3: https://docs.github.com/en/rest

License

MIT