@@ -13,6 +13,7 @@ import (
1313 "strconv"
1414 "strings"
1515
16+ "github.com/github/github-mcp-server/pkg/octicons"
1617 "github.com/github/github-mcp-server/pkg/raw"
1718 "github.com/github/github-mcp-server/pkg/registry"
1819 "github.com/github/github-mcp-server/pkg/translations"
@@ -37,6 +38,7 @@ func GetRepositoryResourceContent(t translations.TranslationHelperFunc) registry
3738 Name : "repository_content" ,
3839 URITemplate : repositoryResourceContentURITemplate .Raw (),
3940 Description : t ("RESOURCE_REPOSITORY_CONTENT_DESCRIPTION" , "Repository Content" ),
41+ Icons : octicons .Icons ("repo" ),
4042 },
4143 repositoryResourceContentsHandlerFunc (repositoryResourceContentURITemplate ),
4244 )
@@ -50,6 +52,7 @@ func GetRepositoryResourceBranchContent(t translations.TranslationHelperFunc) re
5052 Name : "repository_content_branch" ,
5153 URITemplate : repositoryResourceBranchContentURITemplate .Raw (),
5254 Description : t ("RESOURCE_REPOSITORY_CONTENT_BRANCH_DESCRIPTION" , "Repository Content for specific branch" ),
55+ Icons : octicons .Icons ("git-branch" ),
5356 },
5457 repositoryResourceContentsHandlerFunc (repositoryResourceBranchContentURITemplate ),
5558 )
@@ -63,6 +66,7 @@ func GetRepositoryResourceCommitContent(t translations.TranslationHelperFunc) re
6366 Name : "repository_content_commit" ,
6467 URITemplate : repositoryResourceCommitContentURITemplate .Raw (),
6568 Description : t ("RESOURCE_REPOSITORY_CONTENT_COMMIT_DESCRIPTION" , "Repository Content for specific commit" ),
69+ Icons : octicons .Icons ("git-commit" ),
6670 },
6771 repositoryResourceContentsHandlerFunc (repositoryResourceCommitContentURITemplate ),
6872 )
@@ -76,6 +80,7 @@ func GetRepositoryResourceTagContent(t translations.TranslationHelperFunc) regis
7680 Name : "repository_content_tag" ,
7781 URITemplate : repositoryResourceTagContentURITemplate .Raw (),
7882 Description : t ("RESOURCE_REPOSITORY_CONTENT_TAG_DESCRIPTION" , "Repository Content for specific tag" ),
83+ Icons : octicons .Icons ("tag" ),
7984 },
8085 repositoryResourceContentsHandlerFunc (repositoryResourceTagContentURITemplate ),
8186 )
@@ -89,6 +94,7 @@ func GetRepositoryResourcePrContent(t translations.TranslationHelperFunc) regist
8994 Name : "repository_content_pr" ,
9095 URITemplate : repositoryResourcePrContentURITemplate .Raw (),
9196 Description : t ("RESOURCE_REPOSITORY_CONTENT_PR_DESCRIPTION" , "Repository Content for specific pull request" ),
97+ Icons : octicons .Icons ("git-pull-request" ),
9298 },
9399 repositoryResourceContentsHandlerFunc (repositoryResourcePrContentURITemplate ),
94100 )
0 commit comments