MCPcopy
hub / github.com/github/github-mcp-server / AllTools

Function AllTools

pkg/github/tools.go:175–336  ·  view source on GitHub ↗

AllTools returns all tools with their embedded toolset metadata. Tool functions return ServerTool directly with toolset info.

(t translations.TranslationHelperFunc)

Source from the content-addressed store, hash-verified

173// AllTools returns all tools with their embedded toolset metadata.
174// Tool functions return ServerTool directly with toolset info.
175func AllTools(t translations.TranslationHelperFunc) []inventory.ServerTool {
176 return withCSVOutput([]inventory.ServerTool{
177 // Context tools
178 GetMe(t),
179 GetTeams(t),
180 GetTeamMembers(t),
181
182 // Repository tools
183 SearchRepositories(t),
184 GetFileContents(t),
185 ListCommits(t),
186 SearchCode(t),
187 SearchCommits(t),
188 GetCommit(t),
189 GetFileBlame(t),
190 ListBranches(t),
191 ListTags(t),
192 GetTag(t),
193 ListReleases(t),
194 GetLatestRelease(t),
195 GetReleaseByTag(t),
196 CreateOrUpdateFile(t),
197 CreateRepository(t),
198 ForkRepository(t),
199 CreateBranch(t),
200 PushFiles(t),
201 DeleteFile(t),
202 ListStarredRepositories(t),
203 StarRepository(t),
204 UnstarRepository(t),
205 ListRepositoryCollaborators(t),
206
207 // Git tools
208 GetRepositoryTree(t),
209
210 // Issue tools
211 IssueRead(t),
212 SearchIssues(t),
213 ListIssues(t),
214 ListIssueTypes(t),
215 ListIssueFields(t),
216 IssueWrite(t),
217 AddIssueComment(t),
218 SubIssueWrite(t),
219 IssueDependencyRead(t),
220 IssueDependencyWrite(t),
221
222 // User tools
223 SearchUsers(t),
224
225 // Organization tools
226 SearchOrgs(t),
227
228 // Pull request tools
229 PullRequestRead(t),
230 ListPullRequests(t),
231 SearchPullRequests(t),
232 MergePullRequest(t),

Callers 9

initGlobalToolScopeMapFunction · 0.92
buildStaticInventoryFunction · 0.92
NewInventoryFunction · 0.85
granularToolsForToolsetFunction · 0.85
TestNoDuplicateToolNamesFunction · 0.85

Calls 15

withCSVOutputFunction · 0.85
GetMeFunction · 0.85
GetTeamsFunction · 0.85
GetTeamMembersFunction · 0.85
SearchRepositoriesFunction · 0.85
GetFileContentsFunction · 0.85
ListCommitsFunction · 0.85
SearchCodeFunction · 0.85
SearchCommitsFunction · 0.85
GetCommitFunction · 0.85
GetFileBlameFunction · 0.85
ListBranchesFunction · 0.85