Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Adds complete label management functionality#313

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
clafollett wants to merge3 commits intogithub:main
base:main
Choose a base branch
Loading
fromclafollett:main

Conversation

clafollett
Copy link

Description

This PR adds comprehensive label management functionality to the GitHub MCP server, enabling users to effectively manage repository labels directly through the MCP tools.

Features Added

This implementation provides a complete set of tools for label management:

  • List Labels: Retrieve all labels in a repository
  • Get Label: Fetch details of a specific label
  • Create Label: Create new repository labels with custom names, colors, and descriptions
  • Update Label: Modify existing labels (name, color, description)
  • Delete Label: Remove labels from a repository
  • List Labels for Issue: Retrieve all labels applied to a specific issue
  • Add Labels to Issue: Apply multiple labels to an issue
  • Remove Label from Issue: Remove a label from an issue

Implementation Details

  • Added proper parameter validation for all label operations
  • Implemented comprehensive test coverage with various test cases
  • Ensured compatibility with existing GitHub MCP server architecture
  • Added appropriate documentation for all tools

Testing

All functionality has been thoroughly tested with both unit tests and manual verification against the GitHub API.

Notes for Reviewers

  • The implementation follows the same patterns used in other GitHub MCP server tools
  • Error handling follows established conventions in the codebase
  • All tests are passing in both the test suite and with real API calls

Closes:#312

mattleibow reacted with hooray emoji
clafollettand others added3 commitsApril 18, 2025 18:46
Add comprehensive label management capabilities to GitHub MCP server:- Add list_labels tool to retrieve all repository labels- Add get_label tool to fetch a specific label's details- Add create_label tool to create new repository labels- Add update_label tool for modifying existing labels- Add delete_label tool for removing labels- Add list_labels_for_issue tool for issue label retrieval- Add add_labels_to_issue tool for applying labels to issues- Add remove_label_from_issue tool for removing labels from issues- Include comprehensive test coverage for all label operations
Add complete label management functionality
@clafollettclafollett requested a review froma team as acode ownerApril 18, 2025 23:01
@mattleibow
Copy link

This is a month old and I really need this label feature for my triage agent I am building. Is there anything I can do to help get this merged soon?

clafollett reacted with heart emoji

@clafollett
Copy link
Author

This is a month old and I really need this label feature for my triage agent I am building. Is there anything I can do to help get this merged soon?

I appreciate your support on this ticket. I still use my personal fork locally and allow my agent to tag based on components and other things along with colors and descriptions. This allows for label management before or after the fact. I didn't like the only tagging I could do through creating a ticket was to was a single name with no other tagging details. Looking at the details of those code paths, there is no way to pass any more than a name to the underlying functions. So I vibe coded this solution. Works pretty well for me so far!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add complete label management functionality to GitHub MCP server
2 participants
@clafollett@mattleibow

[8]ページ先頭

©2009-2025 Movatter.jp