github_connect
Establishes authenticated connection to GitHub API using a personal access token, with automatic credential caching for reuse. Supports custom API URLs and protocol selection.
Instructions
Connect to GitHub API with a Personal Access Token.
Credentials are automatically cached for future reconnection.
Args: token: GitHub Personal Access Token (generate at https://github.com/settings/tokens) api_url: GitHub API URL (default: https://api.github.com, change for GitHub Enterprise) protocol: Preferred clone/push protocol — 'ssh' or 'https' (default: ssh) timeout: Request timeout in seconds (default: 30) session_name: Name for this session (default: 'default')
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": {
"token": "<token>"
},
"name": "github_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| api_url | No | https://api.github.com | |
| timeout | No | ||
| protocol | No | ssh | |
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |