Skip to main content
Glama

get_branch_protection

Retrieve branch protection rules to enforce security policies and prevent unauthorized changes in GitHub repositories.

Instructions

Get branch protection rules for a branch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner
repoYesRepository name
branchYesBranch name (e.g. 'main')

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/software-engineer-mj/github-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server