Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for 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

MCPREST APICLI

How you authenticate

OAuth
API key
Get an 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.

Connection details

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/

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
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord