You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restore labels toolset with get_label in both issues and labels
This restores conformance with the original behavior where:
- get_label is in issues toolset (read-only label access for issue workflows)
- get_label, list_label, label_write are in labels toolset (full management)
The duplicate get_label registration is intentional - it was in both toolsets
in the original implementation. Added test exception to allow this case.
Copy file name to clipboardExpand all lines: README.md
+25-13Lines changed: 25 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -463,6 +463,7 @@ The following sets of tools are available:
463
463
|`gists`| GitHub Gist related tools |
464
464
|`git`| GitHub Git API related tools for low-level Git operations |
465
465
|`issues`| GitHub Issues related tools |
466
+
|`labels`| GitHub Labels related tools |
466
467
|`notifications`| GitHub Notifications related tools |
467
468
|`orgs`| GitHub Organization related tools |
468
469
|`projects`| GitHub Projects related tools |
@@ -755,15 +756,6 @@ The following sets of tools are available:
755
756
-`title`: Issue title (string, optional)
756
757
-`type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
757
758
758
-
-**label_write** - Write operations on repository labels.
759
-
-`color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)
760
-
-`description`: Label description text. Optional for 'create' and 'update'. (string, optional)
761
-
-`method`: Operation to perform: 'create', 'update', or 'delete' (string, required)
762
-
-`name`: Label name - required for all operations (string, required)
763
-
-`new_name`: New name for the label (used only with 'update' method to rename) (string, optional)
764
-
-`owner`: Repository owner (username or organization name) (string, required)
765
-
-`repo`: Repository name (string, required)
766
-
767
759
-**list_issue_types** - List available issue types
768
760
-`owner`: The organization owner of the repository (string, required)
769
761
@@ -778,10 +770,6 @@ The following sets of tools are available:
778
770
-`since`: Filter by date (ISO 8601 timestamp) (string, optional)
779
771
-`state`: Filter by state, by default both open and closed issues are returned when not provided (string, optional)
780
772
781
-
-**list_label** - List labels from a repository
782
-
-`owner`: Repository owner (username or organization name) - required for all operations (string, required)
783
-
-`repo`: Repository name - required for all operations (string, required)
784
-
785
773
-**search_issues** - Search issues
786
774
-`order`: Sort order (string, optional)
787
775
-`owner`: Optional repository owner. If provided with repo, only issues for this repository are listed. (string, optional)
@@ -810,6 +798,30 @@ The following sets of tools are available:
810
798
811
799
<details>
812
800
801
+
<summary>Labels</summary>
802
+
803
+
-**get_label** - Get a specific label from a repository.
804
+
-`name`: Label name. (string, required)
805
+
-`owner`: Repository owner (username or organization name) (string, required)
806
+
-`repo`: Repository name (string, required)
807
+
808
+
-**label_write** - Write operations on repository labels.
809
+
-`color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)
810
+
-`description`: Label description text. Optional for 'create' and 'update'. (string, optional)
811
+
-`method`: Operation to perform: 'create', 'update', or 'delete' (string, required)
812
+
-`name`: Label name - required for all operations (string, required)
813
+
-`new_name`: New name for the label (used only with 'update' method to rename) (string, optional)
814
+
-`owner`: Repository owner (username or organization name) (string, required)
815
+
-`repo`: Repository name (string, required)
816
+
817
+
-**list_label** - List labels from a repository
818
+
-`owner`: Repository owner (username or organization name) - required for all operations (string, required)
819
+
-`repo`: Repository name - required for all operations (string, required)
Copy file name to clipboardExpand all lines: docs/remote-server.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Below is a table of available toolsets for the remote GitHub MCP Server. Each to
27
27
| Gists | GitHub Gist related tools |https://api.githubcopilot.com/mcp/x/gists|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-gists&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fgists%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/gists/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-gists&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fgists%2Freadonly%22%7D)|
28
28
| Git | GitHub Git API related tools for low-level Git operations |https://api.githubcopilot.com/mcp/x/git|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-git&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fgit%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/git/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-git&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fgit%2Freadonly%22%7D)|
29
29
| Issues | GitHub Issues related tools |https://api.githubcopilot.com/mcp/x/issues|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-issues&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fissues%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/issues/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-issues&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fissues%2Freadonly%22%7D)|
30
+
| Labels | GitHub Labels related tools |https://api.githubcopilot.com/mcp/x/labels|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-labels&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Flabels%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/labels/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-labels&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Flabels%2Freadonly%22%7D)|
30
31
| Notifications | GitHub Notifications related tools |https://api.githubcopilot.com/mcp/x/notifications|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-notifications&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fnotifications%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/notifications/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-notifications&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fnotifications%2Freadonly%22%7D)|
31
32
| Organizations | GitHub Organization related tools |https://api.githubcopilot.com/mcp/x/orgs|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-orgs&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Forgs%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/orgs/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-orgs&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Forgs%2Freadonly%22%7D)|
32
33
| Projects | GitHub Projects related tools |https://api.githubcopilot.com/mcp/x/projects|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-projects&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fprojects%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/projects/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-projects&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fprojects%2Freadonly%22%7D)|
Description: t("TOOL_LABEL_WRITE_DESCRIPTION", "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool."),
Copy file name to clipboardExpand all lines: pkg/github/tools.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,10 @@ var (
106
106
ID: "dynamic",
107
107
Description: "Discover GitHub MCP tools that can help achieve tasks by enabling additional sets of tools, you can control the enablement of any toolset to access its tools when this toolset is enabled.",
108
108
}
109
+
ToolsetLabels= registry.ToolsetMetadata{
110
+
ID: "labels",
111
+
Description: "GitHub Labels related tools",
112
+
}
109
113
)
110
114
111
115
// AllTools returns all tools with their embedded toolset metadata.
0 commit comments