GitHub API GET
github_api_getSend read-only GitHub REST GET requests to api.github.com when no dedicated MCP tool covers an endpoint; requires ihaveto: true and does not support GraphQL or writes.
Instructions
Escape hatch for read-only GitHub REST GET requests that the dedicated tools do not cover. Call github_capabilities first; this tool rejects unless ihaveto: true explicitly acknowledges that no dedicated tool covers the endpoint. The host is fixed to api.github.com; GraphQL and writes are not supported. Returns {status, content_type, body, truncated, pagination, meta?}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "github_api_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute API path, for example /repos/owner/name/readme | |
| fresh | No | Bypass the local cache | |
| query | No | Query parameters; entries override pairs already present in path | |
| ihaveto | No | Explicit acknowledgement that no dedicated tool covers this endpoint |