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
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"title": "Search code",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "🎯 **PREFERRED**: Lexical code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns. Use this FIRST before trying semantic alternatives - it's faster and more accurate for exact matches.",
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. Use this FIRST before trying semantic alternatives - it's faster and more accurate for exact matches.",
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
+10-9Lines changed: 10 additions & 9 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,8 +79,7 @@ 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", "🎯 **PREFERRED**: Lexical code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns. Use this FIRST before trying semantic alternatives - it's faster and more accurate for exact matches.")),
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. Use this FIRST before trying semantic alternatives - it's faster and more accurate for exact matches.")),
// SearchUsers creates a tool to search for GitHub users.
260
260
funcSearchUsers(getClientGetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
261
261
returnmcp.NewTool("search_users",
262
-
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."),
270
270
),
271
271
mcp.WithString("sort",
272
-
mcp.Description("Sort field by category"),
272
+
mcp.Description("Sort users by number of followers or repositories, or when the person joined GitHub."),
273
273
mcp.Enum("followers", "repositories", "joined"),
274
274
),
275
275
mcp.WithString("order",
@@ -283,14 +283,15 @@ func SearchUsers(getClient GetClientFn, t translations.TranslationHelperFunc) (t
283
283
// SearchOrgs creates a tool to search for GitHub organizations.
284
284
funcSearchOrgs(getClientGetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
285
285
returnmcp.NewTool("search_orgs",
286
-
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