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
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_code.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@
3
3
"title": "Search code",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "Search for code across GitHub repositories",
6
+
"description": "Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.",
7
7
"inputSchema": {
8
8
"properties": {
9
9
"order": {
10
-
"description": "Sort order",
10
+
"description": "Sort order for results",
11
11
"enum": [
12
12
"asc",
13
13
"desc"
@@ -26,7 +26,7 @@
26
26
"type": "number"
27
27
},
28
28
"query": {
29
-
"description": "Search query using GitHubcode search syntax",
29
+
"description": "Search query using GitHub's powerful code search syntax. Examples: 'content:Skill language:Java org:github', 'NOT is:archived language:Python OR language:go', 'repo:github/github-mcp-server'. Supports exact matching, language filters, path filters, and more.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_repositories.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"title": "Search repositories",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "Search for GitHub repositories",
6
+
"description": "Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_users.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"title": "Search users",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "Search for GitHub users exclusively",
6
+
"description": "Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.",
7
7
"inputSchema": {
8
8
"properties": {
9
9
"order": {
@@ -26,11 +26,11 @@
26
26
"type": "number"
27
27
},
28
28
"query": {
29
-
"description": "Search query using GitHub users search syntax scoped to type:user",
29
+
"description": "User search query. Examples: 'john smith', 'location:seattle', 'followers:\u003e100'. Search is automatically scoped to type:user.",
30
30
"type": "string"
31
31
},
32
32
"sort": {
33
-
"description": "Sort field by category",
33
+
"description": "Sort users by number of followers or repositories, or when the person joined GitHub.",
Copy file name to clipboardExpand all lines: pkg/github/search.go
+12-10Lines changed: 12 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,15 @@ import (
16
16
// SearchRepositories creates a tool to search for GitHub repositories.
17
17
funcSearchRepositories(getClientGetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
18
18
returnmcp.NewTool("search_repositories",
19
-
mcp.WithDescription(t("TOOL_SEARCH_REPOSITORIES_DESCRIPTION", "Search for GitHub repositories")),
19
+
mcp.WithDescription(t("TOOL_SEARCH_REPOSITORIES_DESCRIPTION", "Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.")),
@@ -78,20 +79,20 @@ func SearchRepositories(getClient GetClientFn, t translations.TranslationHelperF
78
79
// SearchCode creates a tool to search for code across GitHub repositories.
79
80
funcSearchCode(getClientGetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
80
81
returnmcp.NewTool("search_code",
81
-
mcp.WithDescription(t("TOOL_SEARCH_CODE_DESCRIPTION", "Search for code across GitHub repositories")),
82
+
mcp.WithDescription(t("TOOL_SEARCH_CODE_DESCRIPTION", "Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.")),
// SearchUsers creates a tool to search for GitHub users.
259
260
funcSearchUsers(getClientGetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
260
261
returnmcp.NewTool("search_users",
261
-
mcp.WithDescription(t("TOOL_SEARCH_USERS_DESCRIPTION", "Search for GitHub users exclusively")),
262
+
mcp.WithDescription(t("TOOL_SEARCH_USERS_DESCRIPTION", "Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.")),
mcp.Description("Search query using GitHub users search syntax scoped to type:user"),
269
+
mcp.Description("User search query. Examples: 'john smith', 'location:seattle', 'followers:>100'. Search is automatically scoped to type:user."),
269
270
),
270
271
mcp.WithString("sort",
271
-
mcp.Description("Sort field by category"),
272
+
mcp.Description("Sort users by number of followers or repositories, or when the person joined GitHub."),
272
273
mcp.Enum("followers", "repositories", "joined"),
273
274
),
274
275
mcp.WithString("order",
@@ -282,14 +283,15 @@ func SearchUsers(getClient GetClientFn, t translations.TranslationHelperFunc) (t
282
283
// SearchOrgs creates a tool to search for GitHub organizations.
283
284
funcSearchOrgs(getClientGetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
284
285
returnmcp.NewTool("search_orgs",
285
-
mcp.WithDescription(t("TOOL_SEARCH_ORGS_DESCRIPTION", "Search for GitHub organizations exclusively")),
286
+
mcp.WithDescription(t("TOOL_SEARCH_ORGS_DESCRIPTION", "Find GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.")),
0 commit comments