github_get_repo
Retrieves a repository's basic information and default branch for a given 'owner/name' or the default repository, aiding branch and workflow configuration.
Instructions
Get a repository's basic info, including its default branch.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "github_get_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository as 'owner/name'. Defaults to GITHUB_MCP_DEFAULT_REPO when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| private | Yes | ||
| archived | Yes | ||
| html_url | Yes | ||
| language | No | ||
| full_name | Yes | ||
| description | No | ||
| default_branch | Yes |