GitHub · Capability
github-repos-api — Teams
github-repos-api — Teams. 4 operations. Lead operation: GitHub Get Teams with Access to the Protected Branch. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
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
MCP Tools
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