GitHub · Capability
github-repos-api — Users
github-repos-api — Users. 4 operations. Lead operation: GitHub Get Users with Access to the Protected Branch. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
GET
Getuserswithaccesstotheprotectedbranch
— GitHub Get Users with Access to the Protected Branch
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
POST
Adduseraccessrestrictions
— GitHub Add User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
PUT
Setuseraccessrestrictions
— GitHub Set User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
DELETE
Removeuseraccessrestrictions
— GitHub Remove User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
MCP Tools
github-get-users-access-protected
GitHub Get Users with Access to the Protected Branch
read-only
idempotent
github-add-user-access-restrictions
GitHub Add User Access Restrictions
github-set-user-access-restrictions
GitHub Set User Access Restrictions
idempotent
github-remove-user-access-restrictions
GitHub Remove User Access Restrictions
idempotent