Skip to content

feat: add list repository contributors and update readme #893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

beccccaboo
Copy link

@beccccaboo beccccaboo commented Aug 15, 2025

Closes #825
Closes #876

This PR adds a new list_repository_contributors tool to the GitHub MCP Server.

What's New (for #825)

  • New Tool: list_repository_contributors - Lists contributors for a GitHub repository
  • API Endpoint: Implements GET /repos/{owner}/{repo}/contributors REST API

What's New (for #876)
Refer the correct installation index in README.md

@beccccaboo beccccaboo requested a review from a team as a code owner August 15, 2025 19:46
@Copilot Copilot AI review requested due to automatic review settings August 15, 2025 19:46
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new tool to list repository contributors and fixes a documentation link. It introduces the list_repository_contributors tool that uses GitHub's REST API to fetch contributor information for a given repository, supporting pagination and providing comprehensive test coverage.

  • Adds list_repository_contributors tool with pagination support
  • Includes comprehensive test coverage for the new functionality
  • Fixes a broken documentation link in README.md

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
script/list-repository-contributors Test script for manual testing of the new contributors tool
pkg/github/tools.go Registers the new ListRepositoryContributors tool in the default toolset
pkg/github/repositories_test.go Comprehensive test suite covering success cases, pagination, and error scenarios
pkg/github/repositories.go Core implementation of the ListRepositoryContributors tool with GitHub API integration
pkg/github/__toolsnaps__/list_repository_contributors.snap Tool schema snapshot for testing consistency
README.md Updates documentation with new tool description and fixes broken link

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@beccccaboo beccccaboo changed the title Feature/add list repository contributors feat: add list repository contributors and update readme Aug 15, 2025
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

404 error Add support for list_repository_contributors
1 participant