a26079a4b1
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
Tools that return user generated content should have open world hints, to allow clients to inform users that the content may be untrusted and prompt them to approve the request before executing it.
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
{
|
|
"annotations": {
|
|
"openWorldHint": 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",
|
|
"properties": {
|
|
"order": {
|
|
"type": "string",
|
|
"description": "Sort order for results",
|
|
"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": "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": {
|
|
"type": "string",
|
|
"description": "Sort field ('indexed' only)"
|
|
}
|
|
},
|
|
"required": [
|
|
"query"
|
|
]
|
|
},
|
|
"name": "search_code"
|
|
} |