glim_github_get
ActiveTool of glim.sh
Fetch GitHub data from a single ref. GitHub URL or 'owner/repo' shorthand. A repo URL or owner/repo returns metadata + README; /pull/N -> PR (with comments + changed files), /issues/N -> issue, /blob/<ref>/<path> -> file (raw.githubusercontent.com URLs work too), /tree/<ref>[/<path>] -> file tree (optionally scoped to a subdirectory), /commit/<sha> -> one commit with diff, /commits -> history, /branches, /releases.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ref"
],
"properties": {
"ref": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "GitHub URL or 'owner/repo' shorthand. A repo URL or owner/repo returns metadata + README; /pull/N -> PR (with comments + changed files), /issues/N -> issue, /blob/<ref>/<path> -> file (raw.githubusercontent.com URLs work too), /tree/<ref>[/<path>] -> file tree (optionally scoped to a subdirectory), /commit/<sha> -> one commit with diff, /commits -> history, /branches, /releases."
},
"page": {
"type": "integer",
"default": 1,
"maximum": 100,
"minimum": 1,
"description": "Page number"
},
"format": {
"enum": [
"text",
"json"
],
"type": "string",
"default": "text",
"description": "Output encoding. 'text' (default): compact human-readable text, fewer tokens (file returns raw content). 'json': machine-readable JSON."
},
"per_page": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1,
"description": "Results per page"
}
}
}Parent server
glim.sh
https://github.com/glim-sh/glim-mcp
1/7 registries