AA
AEO Score: 0.90 / 1.00

GitHub

Developer Tools
Very Good — Strong agent support with minor gaps
Agent Ready
✓ Verified
MCP Type
Official MCP
Success Rate
🔴 Low
Agent Activity
●● Moderate
Recipes
✓ Available

Get Full Integration Guide

Current auth setup, endpoints, rate limits, known pitfalls, and step-by-step recipes — kept fresh from registry checks, curated official-doc guides, and agent reports.

npx @kansei-link/mcp-server

Then use: search_servicesget_service_detail

How to Connect GitHub to an AI Agent

Auth setup

1. For quickest start: Settings > Developer settings > Personal access tokens > Fine-grained tokens. 2. For production/org-wide: create GitHub App at Settings > Developer settings > GitHub Apps. 3. Or just use: https://api.githubcopilot.com/mcp/ (handles OAuth/installation).

Key facts

Base URLhttps://api.github.com/
API version2022-11-28 (REST) + GraphQL v4
AuthOAuth 2.0 (user-to-server via GitHub App or OAuth App) and Personal Access Tokens (classic or fine-grained). Bearer token in Authorization header. Official MCP server (https://api.githubcopilot.com/mcp/) handles auth via GitHub App installation or PAT.
Token URLhttps://github.com/login/oauth/access_token
Scopesrepo,read:org,workflow,read:user,user:email (PAT) / contents:read,issues:write,pull_requests:write (fine-grained)
Request bodyapplication/json
Paginationpage-based: page and per_page (max 100). Link header with rel="next"/"last" for navigation.
Rate limit5,000 req/hour (authenticated PAT). GitHub App: 15,000/hour per installation. Search API: 30 req/min. Secondary rate limits on abuse detection.
Error formatJSON: {"message":"...","documentation_url":"...","errors":[{"resource":"...","field":"...","code":"..."}]}

Key endpoints

MethodPathDescription
Create or update a single file in a GitHub repository
Search for GitHub repositories
Create a new GitHub repository in your account
Get the contents of a file or directory from a GitHub repository
Push multiple files to a GitHub repository in a single commit
Create a new issue in a GitHub repository
Create a new pull request in a GitHub repository
Fork a GitHub repository to your account or specified organization
Create a new branch in a GitHub repository
Get list of commits of a branch in a GitHub repository
List issues in a GitHub repository with filtering options
Update an existing issue in a GitHub repository
Add a comment to an existing issue
Search for code across GitHub repositories
Search for issues and pull requests across GitHub repositories
Search for users on GitHub
Get details of a specific issue in a GitHub repository.
Get details of a specific pull request
List and filter repository pull requests
Create a review on a pull request
Merge a pull request
Get the list of files changed in a pull request
Get the combined status of all status checks for a pull request
Update a pull request branch with the latest changes from the base branch
Get the review comments on a pull request
Get the reviews on a pull request

Quickstart

GET /repos/octocat/hello-world/issues?state=open&per_page=10
Authorization: Bearer {token}
Accept: application/vnd.github+json
X-GitHub-Api-Version: 2022-11-28

Response: [{"number":1,"title":"...","state":"open","user":{"login":"octocat"}}]

Source: curated by KanseiLink from official documentation (docs) and registry checks. Last reviewed: 2026-07-06. Specs change — verify against the official docs before production use.

Frequently Asked Questions

What is GitHub's AEO score?
GitHub has an AEO score of 0.90 and is rated AA (Strong agent support with minor gaps). AEO (Agent Engine Optimization) measures how well a SaaS service works with AI agents. Scores range from 0.00 to 1.00, with grades from AAA (best) to D (not agent-ready).
Is GitHub AI-agent-ready?
GitHub is currently ✓ verified for AI agent use. It offers an official MCP (Model Context Protocol) server, which means AI agents can connect directly. For detailed connection guides, auth setup, and known pitfalls, use the KanseiLink MCP tool.
How does GitHub compare to other Developer Tools services?
In the Developer Tools category, GitHub is rated AA. KanseiLink evaluates services based on MCP availability, API quality, documentation, auth-guide clarity, and integration recipe availability (methodology published). Visit the full rankings at kansei-link.com to see how GitHub compares.
How can I integrate GitHub with an AI agent?
The fastest way to integrate GitHub with an AI agent is through KanseiLink MCP. Install it with: npx @kansei-link/mcp-server — then use the search_services and get_service_detail tools to get the current auth setup, endpoints, rate limits, and agent-specific tips. This data is kept fresh from registry checks, curated official-doc guides, and agent reports.
How do I authenticate with GitHub?
OAuth 2.0 (user-to-server via GitHub App or OAuth App) and Personal Access Tokens (classic or fine-grained). Bearer token in Authorization header. Official MCP server (https://api.githubcopilot.com/mcp/) handles auth via GitHub App installation or PAT. Setup: 1. For quickest start: Settings > Developer settings > Personal access tokens > Fine-grained tokens. 2. For production/org-wide: create GitHub App at Settings > Developer settings > GitHub Apps. 3. Or just use: https://api.githubcopilot.com/mcp/ (handles OAuth/installation).
What are GitHub's API rate limits?
5,000 req/hour (authenticated PAT). GitHub App: 15,000/hour per installation. Search API: 30 req/min. Secondary rate limits on abuse detection.