GitHub

Can an agent create a repository with GitHub REST API?

The agent needs you to sign it up or register a client and provide a key or token. You also handle changes to its access.

Evidence dated

Who does each step

Whether the agent handles it alone or a person has to step in.

  1. 01

    Discover

    Machine

    The vendor's machine-readable docs show the agent where and how to call this job.

    Evidence
  2. 02

    Access

    Workaround · setup

    You give the agent a key or token.

    Evidence
  3. 03

    Onboard

    Workaround · setup

    You sign up or register a client for the agent.

    Evidence
  4. 04

    Pay

    Not applicable

    Nothing to pay for the job.

    Evidence
  5. 05

    Confirm

    Machine

    The response or specification defines errors the agent can distinguish from success.

    Evidence
  6. 06

    Sustain

    Workaround · setup

    You replace or revoke the agent's access when it needs to change.

    Evidence
A person steps in
Access: handing over a key or token.
Onboard: signing up or registering a client for the agent.
Sustain: renewing, replacing or revoking its access.
To remove these handoffs: support OAuth client registration so the agent can register its own client and ask for consent; provide an agent registration route, such as auth.md, a sign-up API or OAuth client registration; provide key management or OAuth refresh and revocation so the agent can maintain its own access.

What the checks found

A completed run of this job has not been published.

HTTP API

Graded interface

POST https://api.github.com/user/repos

  • The request returned a machine-readable authorisation requirement.
  • The OpenAPI document covers this operation.
  • No authentication scheme is declared for this operation.
  • Typed error responses are declared.
View requests and sources

MCP

create_repository · https://api.githubcopilot.com/mcp/

  • The request returned a machine-readable authorisation requirement.
  • A renewal grant is documented.
  • No revocation endpoint was documented.
View requests and sources

Agent surfaces

3 kinds · 7 entries

Checks and responses

The source documents and requests behind this assessment. Open a row for its exact record.

61.56 ssha256:89d6e47dcc2e…
Discover44 descriptor reads5 source documents
Found
Othergithub.com/.well-known/ai-catalog.jsonFor agentsgithub.com/llms.txtOAuthapi.githubcopilot.com/mcpOAuthgithub.com/login/oauthFor agentsdocs.github.com/llms.txtFor agentsapi.github.comFor agentsapi.githubcopilot.com
Sources
github.com/.well-known/ai-catalog.jsongithub.com/llms.txtapi.githubcopilot.com/.well-known/oauth-protected-resource/mcpdocs.github.com/llms.txtgithub.com/github/github-mcp-server
Capture references
sha256:147a7e60bae2…sha256:0bd169de9e88…sha256:348ea607e013…sha256:7bcce1932510…sha256:2e7b8412d50c…sha256:b77edb5e8a5c…sha256:b19d5bb3e0af…sha256:fc6d1687f106…sha256:8dded84dfcf0…sha256:9b6c8fe68f69…sha256:84b4361ca536…sha256:5fc69b737def…sha256:1f77f182b046…sha256:133cd5243ae7…sha256:df410de22a70…sha256:649299bdf608…sha256:43270b32a40f…sha256:1f1aa33ee602…sha256:51984911b30a…sha256:7249c544d8c6…sha256:09af5dc32ba5…sha256:15eb1a953fa6…sha256:d3b38a397cc5…sha256:b49f7533d54e…sha256:1ff5b9962fc3…sha256:9d0d92d5d132…sha256:d374bf64b950…sha256:4ae9ce9ce182…sha256:4198d5860586…sha256:28a81e6ac823…sha256:f31189d86208…sha256:8d93726c73e4…sha256:3c7604c5d2d6…sha256:58eb99e5c709…sha256:0c0af986a02d…sha256:d629f8f58b46…sha256:c24c0cdd8d79…sha256:fbe7a4d9cf39…sha256:6ae65987dd0d…sha256:f53666b83386…sha256:7b0b36fd744c…sha256:e7a1b677c99d…sha256:18ee1b4fea2d…sha256:8e9158f7fc6b…
Specificationcreate-repository · raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.jsonOperation covered
Source
https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json
Document
read
Security
None declared
Typed errors
Declared
Machine payment
Not declared
Key operations
Not covered
Capture
sha256:b7bf6e5713c229437f65ab418e4302e0751e676b0200449ca03e52f1f719ab9f
Job requestPOST api.github.com/user/reposAuthorisation required57 ms
Request
POST https://api.github.com/user/repos
Response
401 · application/json · 120 bytes
Body digest
sha256:b7dbd173f33b19650f61b1c528737e2037cf768d90076fdfce5d32541765e29e
Exchange
sha256:c6b5f3fe73d5468d975d82a8de662fa5150c67bc98e16af6962fed431ac7023f
Resource metadataGET api.github.com/.well-known/oauth-protected-resource/user/reposHTTP 40423 ms
Request
GET https://api.github.com/.well-known/oauth-protected-resource/user/repos
Response
404 · application/json · 106 bytes
Body digest
sha256:edbd0367cec893df36f67acb56c3aa23810be28850977c35e0fedaf64aad286b
Exchange
sha256:93a8ad8f4014257137a86d03854a3896b6631d84a397f8b68444b920ab4968bc
Resource metadataGET api.github.com/.well-known/oauth-protected-resourceHTTP 40422 ms
Request
GET https://api.github.com/.well-known/oauth-protected-resource
Response
404 · application/json · 106 bytes
Body digest
sha256:edbd0367cec893df36f67acb56c3aa23810be28850977c35e0fedaf64aad286b
Exchange
sha256:94924d4ae2cfd458f72a33d419d5569bfe0dbe525bd339b521db504215952275
Job requestsession openingPOST api.githubcopilot.com/mcp/HTTP 401135 ms
Request
POST https://api.githubcopilot.com/mcp/
Response
401 · text/plain · 51 bytes
Body digest
sha256:4a0ce5d82fa7dc96319f8d936917c101415f0be2aef8724bfcc8da2be50a120b
Exchange
sha256:ad5a27d9d2d5c27541f1a288c64f3054ff18f6b4af5bd94a0b8556380c4b0120
Resource metadataGET api.githubcopilot.com/.well-known/oauth-protected-resource/mcp/HTTP 200181 ms
Request
GET https://api.githubcopilot.com/.well-known/oauth-protected-resource/mcp/
Response
200 · application/json · 328 bytes
Body digest
sha256:cbabd24fd62d5d52687cd6e47d66a17a1d817a029834b757ee65e9d3cf1c7aef
Exchange
sha256:d6a651ca7e2309929c8f2e236bafe7e91eddb9bfff974804bd9150dc04a673b3
Authorisation serverGET github.com/.well-known/oauth-authorization-server/login/oauthHTTP 20092 ms
Request
GET https://github.com/.well-known/oauth-authorization-server/login/oauth
Response
200 · application/json · 653 bytes
Body digest
sha256:4c0e55fc5fdec1baf85b2007b09724d48912409939f85ade1be5e68850c43b59
Exchange
sha256:b873a4a42f83f7e3d0f146f9dde6b35996b81caa129979a6158e4f3b2cb4f87b
Declared pageGET github.com/signupHTTP 40333 ms
Request
GET https://github.com/signup
Response
403 · text/html · 425 bytes
Body digest
sha256:00311fcf7011df259815e3d35cc0e2bf5444d569c9fa8bcc0b793dc341bc9da4
Exchange
sha256:47b08db59ec931e3ae6925e5a1db6d34cfbc88ea99d9b3b36911c2c23e974db4

GitHub on the startup-offers board

The grade’s badge

One image that keeps itself current, linking here.

Live badge for GitHub REST API, agent grade: B+[![agent grade](https://sourcey.com/badges/agent-readiness/arp_01m4pmg4zyqrv6gq5keg72zb49.svg)](https://sourcey.com/c/github/agent-readiness/github-rest-api/repository-create)

Improve the report

Report a step or result that no longer matches the service, request a fresh assessment, or verify the job with your own account.

Record details
Profile
arp_01m4pmg4zyqrv6gq5keg72zb49
Projection
sha256:1eb87a896600c8d9cc230a71bd0e006079ffd5fffc8d76eab8e42b72628351b2
Policy
kind-2026-10-12.3 · sha256:0eea3d6746363a69b8ff4483dc31543b7237e07e7ca4e3b63c8ccc7d3d8fe76d