GitHub · Capability
GitHub Repos API — Users
GitHub Repos API — Users. 15 operations. Lead operation: Check If User Can Be Assigned. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
GET
Checkifusercanbeassigned
— Check If User Can Be Assigned
/v1/repos/{owner}/{repo}/assignees/{assignee}
GET
Getuserswithaccesstotheprotectedbranch
— Get Users With Access To The Protected Branch
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
POST
Adduseraccessrestrictions
— Add User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
PUT
Setuseraccessrestrictions
— Set User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
DELETE
Removeuseraccessrestrictions
— Remove User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
GET
Checkifuserisrepositorycollaborator
— Check If User Is Repository Collaborator
/v1/repos/{owner}/{repo}/collaborators/{username}
GET
Getrepositorypermissionsforuser
— Get Repository Permissions For User
/v1/repos/{owner}/{repo}/collaborators/{username}/permission
GET
Checkifusercanbeassignedtoissue
— Check If User Can Be Assigned To Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/assignees/{assignee}
GET
Listrepositorynotificationsfortheauthenticateduser
— List Repository Notifications For The Authenticated User
/v1/repos/{owner}/{repo}/notifications
GET
Listrepositoriesaccessibletotheuseraccesstoken
— List Repositories Accessible To The User Access Token
/v1/user/installations/{installation-id}/repositories
GET
Listrepositoriesforusermigration
— List Repositories For User Migration
/v1/user/migrations/{migration-id}/repositories
GET
Listrepositoriesfortheauthenticateduser
— List Repositories For The Authenticated User
/v1/user/repos
POST
Createrepositoryfortheauthenticateduser
— Create Repository For The Authenticated User
/v1/user/repos
GET
Listrepositoryinvitationsfortheauthenticateduser
— List Repository Invitations For The Authenticated User
/v1/user/repository-invitations
GET
Listrepositoriesforuser
— List Repositories For User
/v1/users/{username}/repos
MCP Tools
check-if-user-can-be
Check If User Can Be Assigned
read-only
idempotent
get-users-access-protected-branch
Get Users With Access To The Protected Branch
read-only
idempotent
add-user-access-restrictions
Add User Access Restrictions
set-user-access-restrictions
Set User Access Restrictions
idempotent
remove-user-access-restrictions
Remove User Access Restrictions
idempotent
check-if-user-is-repository
Check If User Is Repository Collaborator
read-only
idempotent
get-repository-permissions-user
Get Repository Permissions For User
read-only
idempotent
check-if-user-can-be-2
Check If User Can Be Assigned To Issue
read-only
idempotent
list-repository-notifications-authenticated-user
List Repository Notifications For The Authenticated User
read-only
idempotent
list-repositories-accessible-user-access
List Repositories Accessible To The User Access Token
read-only
idempotent
list-repositories-user-migration
List Repositories For User Migration
read-only
idempotent
list-repositories-authenticated-user
List Repositories For The Authenticated User
read-only
idempotent
create-repository-authenticated-user
Create Repository For The Authenticated User
list-repository-invitations-authenticated-user
List Repository Invitations For The Authenticated User
read-only
idempotent
list-repositories-user
List Repositories For User
read-only
idempotent