GitHub · Capability
github-repos-api — Access
github-repos-api — Access. 14 operations. Lead operation: GitHub Get Access Restrictions. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
GET
Getaccessrestrictions
— GitHub Get Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions
DELETE
Deleteaccessrestrictions
— GitHub Delete Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions
GET
Getappswithaccesstotheprotectedbranch
— GitHub Get Apps with Access to the Protected Branch
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
POST
Addappaccessrestrictions
— GitHub Add App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
PUT
Setappaccessrestrictions
— GitHub Set App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
DELETE
Removeappaccessrestrictions
— GitHub Remove App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
GET
Getteamswithaccesstotheprotectedbranch
— GitHub Get Teams with Access to the Protected Branch
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
POST
Addteamaccessrestrictions
— GitHub Add Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
PUT
Setteamaccessrestrictions
— GitHub Set Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
DELETE
Removeteamaccessrestrictions
— GitHub Remove Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
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-access-restrictions
GitHub Get Access Restrictions
read-only
idempotent
github-delete-access-restrictions
GitHub Delete Access Restrictions
idempotent
github-get-apps-access-protected
GitHub Get Apps with Access to the Protected Branch
read-only
idempotent
github-add-app-access-restrictions
GitHub Add App Access Restrictions
github-set-app-access-restrictions
GitHub Set App Access Restrictions
idempotent
github-remove-app-access-restrictions
GitHub Remove App Access Restrictions
idempotent
github-get-teams-access-protected
GitHub Get Teams with Access to the Protected Branch
read-only
idempotent
github-add-team-access-restrictions
GitHub Add Team Access Restrictions
github-set-team-access-restrictions
GitHub Set Team Access Restrictions
idempotent
github-remove-team-access-restrictions
GitHub Remove Team Access Restrictions
idempotent
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