Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
All integrations
GitHub

GitHub

Issues, pull requests, repositories, actions and code search across your GitHub teams.

Developer
Connect GitHubGitHub docs

How an agent reaches it

  • MCP

    Official MCP server. The agent lists its tools and calls them.

  • REST API

    Always available. The agent calls the API directly with your credential attached.

  • CLI

    The `gh` command, run on one of your computers with the credential mounted.

How you authenticate

  • API key
  1. Open GitHub, then Settings, then Developer settings, then Personal access tokens, then Fine-grained tokens.
  2. Generate a token granting the repository and organisation access you want the agent to have (Contents, Issues, Pull requests).
  3. Paste it below. It is encrypted at rest and never shown to the model.

How agents reach it

Base URL
https://api.github.com
Pagination
link_header
Rate limit
5000 requests/hour authenticated. Check X-RateLimit-Remaining.
MCP server
https://api.githubcopilot.com/mcp/
CLI
gh

Common endpoints

who am IGET /user
list my reposGET /user/repos?per_page=100
list issuesGET /repos/{owner}/{repo}/issues
create issuePOST /repos/{owner}/{repo}/issues
list pull requestsGET /repos/{owner}/{repo}/pulls
create pull requestPOST /repos/{owner}/{repo}/pulls
read a fileGET /repos/{owner}/{repo}/contents/{path}
list workflow runsGET /repos/{owner}/{repo}/actions/runs
search codeGET /search/code?q={query}

Worth knowing

  • Search endpoints have their own much lower limit (30/min) and a separate response envelope with `items`.
  • A 404 on a repository you believe exists usually means the token lacks access, not that the repo is missing. GitHub hides private resources behind 404.
  • Fine-grained tokens are per-repository. A token that works for one repo will 403 on another in the same org.
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)