chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:37:57 +08:00
commit e30f8ba47c
533 changed files with 115926 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package github
import (
"github.com/github/github-mcp-server/pkg/inventory"
"github.com/github/github-mcp-server/pkg/translations"
)
// AllResources returns all resource templates with their embedded toolset metadata.
// Resource definitions are stateless - handlers are generated on-demand during registration.
func AllResources(t translations.TranslationHelperFunc) []inventory.ServerResourceTemplate {
return []inventory.ServerResourceTemplate{
// Repository resources
GetRepositoryResourceContent(t),
GetRepositoryResourceBranchContent(t),
GetRepositoryResourceCommitContent(t),
GetRepositoryResourceTagContent(t),
GetRepositoryResourcePrContent(t),
}
}