connect_github
Connect the user's GitHub account for code sites. Call with NO arguments to get a clickable Connect link (OAuth) — the user clicks it, approves on GitHub, and the token is captured and stored automatically (no paste). Present the returned auth_url as a link, then poll code_status to confirm. (Advanced fallback: pass a Personal Access Token as token to connect without the browser flow.) Requires a site registered in XeoRank first (create_site).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Optional: a GitHub Personal Access Token to connect directly instead of OAuth |