Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions pkg/github/__toolsnaps__/search_code.snap
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
{
"annotations": {
"title": "Search code",
"readOnlyHint": true
"readOnlyHint": true,
"title": "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.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"order": {
"type": "string",
"description": "Sort order for results",
"enum": [
"asc",
"desc"
],
"type": "string"
]
},
"page": {
"type": "number",
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
"minimum": 1
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
"maximum": 100
},
"query": {
"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.",
"type": "string"
"type": "string",
"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."
},
"sort": {
"description": "Sort field ('indexed' only)",
"type": "string"
"type": "string",
"description": "Sort field ('indexed' only)"
}
},
"required": [
"query"
],
"type": "object"
}
},
"name": "search_code"
}
48 changes: 48 additions & 0 deletions pkg/github/__toolsnaps__/search_orgs.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"annotations": {
"readOnlyHint": true,
"title": "Search organizations"
},
"description": "Find GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"order": {
"type": "string",
"description": "Sort order",
"enum": [
"asc",
"desc"
]
},
"page": {
"type": "number",
"description": "Page number for pagination (min 1)",
"minimum": 1
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"minimum": 1,
"maximum": 100
},
"query": {
"type": "string",
"description": "Organization search query. Examples: 'microsoft', 'location:california', 'created:\u003e=2025-01-01'. Search is automatically scoped to type:org."
},
"sort": {
"type": "string",
"description": "Sort field by category",
"enum": [
"followers",
"repositories",
"joined"
]
}
}
},
"name": "search_orgs"
}
38 changes: 19 additions & 19 deletions pkg/github/__toolsnaps__/search_repositories.snap
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
{
"annotations": {
"title": "Search repositories",
"readOnlyHint": true
"readOnlyHint": true,
"title": "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.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"minimal_output": {
"default": true,
"type": "boolean",
"description": "Return minimal repository information (default: true). When false, returns full GitHub API repository objects.",
"type": "boolean"
"default": true
},
"order": {
"type": "string",
"description": "Sort order",
"enum": [
"asc",
"desc"
],
"type": "string"
]
},
"page": {
"type": "number",
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
"minimum": 1
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
"maximum": 100
},
"query": {
"description": "Repository search query. Examples: 'machine learning in:name stars:\u003e1000 language:python', 'topic:react', 'user:facebook'. Supports advanced search syntax for precise filtering.",
"type": "string"
"type": "string",
"description": "Repository search query. Examples: 'machine learning in:name stars:\u003e1000 language:python', 'topic:react', 'user:facebook'. Supports advanced search syntax for precise filtering."
},
"sort": {
"type": "string",
"description": "Sort repositories by field, defaults to best match",
"enum": [
"stars",
"forks",
"help-wanted-issues",
"updated"
],
"type": "string"
]
}
},
"required": [
"query"
],
"type": "object"
}
},
"name": "search_repositories"
}
34 changes: 17 additions & 17 deletions pkg/github/__toolsnaps__/search_users.snap
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
{
"annotations": {
"title": "Search users",
"readOnlyHint": true
"readOnlyHint": true,
"title": "Search users"
},
"description": "Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"order": {
"type": "string",
"description": "Sort order",
"enum": [
"asc",
"desc"
],
"type": "string"
]
},
"page": {
"type": "number",
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
"minimum": 1
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
"maximum": 100
},
"query": {
"description": "User search query. Examples: 'john smith', 'location:seattle', 'followers:\u003e100'. Search is automatically scoped to type:user.",
"type": "string"
"type": "string",
"description": "User search query. Examples: 'john smith', 'location:seattle', 'followers:\u003e100'. Search is automatically scoped to type:user."
},
"sort": {
"type": "string",
"description": "Sort users by number of followers or repositories, or when the person joined GitHub.",
"enum": [
"followers",
"repositories",
"joined"
],
"type": "string"
]
}
},
"required": [
"query"
],
"type": "object"
}
},
"name": "search_users"
}
Loading
Loading